@_unit/unit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +0 -0
- package/.env +0 -0
- package/.eslintrc +34 -0
- package/.github/workflows/test.yml +16 -0
- package/.prettierignore +5 -0
- package/.prettierrc +6 -0
- package/LICENCE +9 -0
- package/README.md +97 -0
- package/lib/AsyncWorker.d.ts +41 -0
- package/lib/AsyncWorker.js +176 -0
- package/lib/AsyncWorker.js.map +1 -0
- package/lib/Class/$.d.ts +17 -0
- package/lib/Class/$.js +28 -0
- package/lib/Class/$.js.map +1 -0
- package/lib/Class/Element/index.d.ts +44 -0
- package/lib/Class/Element/index.js +90 -0
- package/lib/Class/Element/index.js.map +1 -0
- package/lib/Class/Functional/Done.d.ts +1 -0
- package/lib/Class/Functional/Done.js +3 -0
- package/lib/Class/Functional/Done.js.map +1 -0
- package/lib/Class/Functional/index.d.ts +36 -0
- package/lib/Class/Functional/index.js +167 -0
- package/lib/Class/Functional/index.js.map +1 -0
- package/lib/Class/Graph/index.d.ts +486 -0
- package/lib/Class/Graph/index.js +3447 -0
- package/lib/Class/Graph/index.js.map +1 -0
- package/lib/Class/Merge.d.ts +41 -0
- package/lib/Class/Merge.js +190 -0
- package/lib/Class/Merge.js.map +1 -0
- package/lib/Class/Semifunctional/index.d.ts +32 -0
- package/lib/Class/Semifunctional/index.js +111 -0
- package/lib/Class/Semifunctional/index.js.map +1 -0
- package/lib/Class/Stateful.d.ts +36 -0
- package/lib/Class/Stateful.js +108 -0
- package/lib/Class/Stateful.js.map +1 -0
- package/lib/Class/Unit/index.d.ts +196 -0
- package/lib/Class/Unit/index.js +870 -0
- package/lib/Class/Unit/index.js.map +1 -0
- package/lib/Class/WaitAll.d.ts +7 -0
- package/lib/Class/WaitAll.js +19 -0
- package/lib/Class/WaitAll.js.map +1 -0
- package/lib/EventEmitter.d.ts +35 -0
- package/lib/EventEmitter.js +62 -0
- package/lib/EventEmitter.js.map +1 -0
- package/lib/Heap.d.ts +16 -0
- package/lib/Heap.js +227 -0
- package/lib/Heap.js.map +1 -0
- package/lib/MIMO.d.ts +6 -0
- package/lib/MIMO.js +20 -0
- package/lib/MIMO.js.map +1 -0
- package/lib/NOOP.d.ts +1 -0
- package/lib/NOOP.js +6 -0
- package/lib/NOOP.js.map +1 -0
- package/lib/Object.d.ts +36 -0
- package/lib/Object.js +168 -0
- package/lib/Object.js.map +1 -0
- package/lib/ObjectSource.d.ts +9 -0
- package/lib/ObjectSource.js +33 -0
- package/lib/ObjectSource.js.map +1 -0
- package/lib/ObjectWaiter.d.ts +7 -0
- package/lib/ObjectWaiter.js +43 -0
- package/lib/ObjectWaiter.js.map +1 -0
- package/lib/Pin.d.ts +49 -0
- package/lib/Pin.js +141 -0
- package/lib/Pin.js.map +1 -0
- package/lib/PinOpt.d.ts +3 -0
- package/lib/PinOpt.js +3 -0
- package/lib/PinOpt.js.map +1 -0
- package/lib/PinOpts.d.ts +3 -0
- package/lib/PinOpts.js +3 -0
- package/lib/PinOpts.js.map +1 -0
- package/lib/Pins.d.ts +4 -0
- package/lib/Pins.js +3 -0
- package/lib/Pins.js.map +1 -0
- package/lib/Primitive.d.ts +92 -0
- package/lib/Primitive.js +534 -0
- package/lib/Primitive.js.map +1 -0
- package/lib/RemoteClient.d.ts +14 -0
- package/lib/RemoteClient.js +44 -0
- package/lib/RemoteClient.js.map +1 -0
- package/lib/RemotePort.d.ts +24 -0
- package/lib/RemotePort.js +114 -0
- package/lib/RemotePort.js.map +1 -0
- package/lib/Serial.d.ts +21 -0
- package/lib/Serial.js +77 -0
- package/lib/Serial.js.map +1 -0
- package/lib/SharedObject.d.ts +15 -0
- package/lib/SharedObject.js +39 -0
- package/lib/SharedObject.js.map +1 -0
- package/lib/State.d.ts +2 -0
- package/lib/State.js +3 -0
- package/lib/State.js.map +1 -0
- package/lib/Tree.d.ts +5 -0
- package/lib/Tree.js +3 -0
- package/lib/Tree.js.map +1 -0
- package/lib/api/keys/index.d.ts +7 -0
- package/lib/api/keys/index.js +82 -0
- package/lib/api/keys/index.js.map +1 -0
- package/lib/api/peer/Peer.d.ts +38 -0
- package/lib/api/peer/Peer.js +251 -0
- package/lib/api/peer/Peer.js.map +1 -0
- package/lib/api/peer/config.d.ts +2 -0
- package/lib/api/peer/config.js +13 -0
- package/lib/api/peer/config.js.map +1 -0
- package/lib/api/server/index.d.ts +0 -0
- package/lib/api/server/index.js +2 -0
- package/lib/api/server/index.js.map +1 -0
- package/lib/api/server/peer/config.d.ts +1 -0
- package/lib/api/server/peer/config.js +21 -0
- package/lib/api/server/peer/config.js.map +1 -0
- package/lib/api/server/peer/id.d.ts +4 -0
- package/lib/api/server/peer/id.js +25 -0
- package/lib/api/server/peer/id.js.map +1 -0
- package/lib/api/speech/index.d.ts +26 -0
- package/lib/api/speech/index.js +92 -0
- package/lib/api/speech/index.js.map +1 -0
- package/lib/api/storage/cloud/index.d.ts +0 -0
- package/lib/api/storage/cloud/index.js +3 -0
- package/lib/api/storage/cloud/index.js.map +1 -0
- package/lib/api/storage/local/index.d.ts +0 -0
- package/lib/api/storage/local/index.js +2 -0
- package/lib/api/storage/local/index.js.map +1 -0
- package/lib/api/storage/session/index.d.ts +0 -0
- package/lib/api/storage/session/index.js +2 -0
- package/lib/api/storage/session/index.js.map +1 -0
- package/lib/boot/index.d.ts +3 -0
- package/lib/boot/index.js +165 -0
- package/lib/boot/index.js.map +1 -0
- package/lib/bundle.d.ts +6 -0
- package/lib/bundle.js +74 -0
- package/lib/bundle.js.map +1 -0
- package/lib/client/DEFAULT_FONT_SIZE.d.ts +3 -0
- package/lib/client/DEFAULT_FONT_SIZE.js +7 -0
- package/lib/client/DEFAULT_FONT_SIZE.js.map +1 -0
- package/lib/client/IOElement.d.ts +1 -0
- package/lib/client/IOElement.js +3 -0
- package/lib/client/IOElement.js.map +1 -0
- package/lib/client/LOREM_IPSUM.d.ts +1 -0
- package/lib/client/LOREM_IPSUM.js +5 -0
- package/lib/client/LOREM_IPSUM.js.map +1 -0
- package/lib/client/LayoutNode.d.ts +10 -0
- package/lib/client/LayoutNode.js +3 -0
- package/lib/client/LayoutNode.js.map +1 -0
- package/lib/client/Listenable.d.ts +14 -0
- package/lib/client/Listenable.js +3 -0
- package/lib/client/Listenable.js.map +1 -0
- package/lib/client/Listener.d.ts +3 -0
- package/lib/client/Listener.js +3 -0
- package/lib/client/Listener.js.map +1 -0
- package/lib/client/MAX_Z_INDEX.d.ts +1 -0
- package/lib/client/MAX_Z_INDEX.js +5 -0
- package/lib/client/MAX_Z_INDEX.js.map +1 -0
- package/lib/client/Mountable.d.ts +5 -0
- package/lib/client/Mountable.js +3 -0
- package/lib/client/Mountable.js.map +1 -0
- package/lib/client/MutationObserver_.d.ts +7 -0
- package/lib/client/MutationObserver_.js +10 -0
- package/lib/client/MutationObserver_.js.map +1 -0
- package/lib/client/PositionObserver.d.ts +11 -0
- package/lib/client/PositionObserver.js +258 -0
- package/lib/client/PositionObserver.js.map +1 -0
- package/lib/client/RemoteAPI.d.ts +15 -0
- package/lib/client/RemoteAPI.js +88 -0
- package/lib/client/RemoteAPI.js.map +1 -0
- package/lib/client/RemoteRef.d.ts +9 -0
- package/lib/client/RemoteRef.js +63 -0
- package/lib/client/RemoteRef.js.map +1 -0
- package/lib/client/ResizeObserver_.d.ts +7 -0
- package/lib/client/ResizeObserver_.js +10 -0
- package/lib/client/ResizeObserver_.js.map +1 -0
- package/lib/client/SYSTEM_ROOT_ID.d.ts +1 -0
- package/lib/client/SYSTEM_ROOT_ID.js +5 -0
- package/lib/client/SYSTEM_ROOT_ID.js.map +1 -0
- package/lib/client/addGlobalBlurListener.d.ts +3 -0
- package/lib/client/addGlobalBlurListener.js +17 -0
- package/lib/client/addGlobalBlurListener.js.map +1 -0
- package/lib/client/addListener.d.ts +5 -0
- package/lib/client/addListener.js +35 -0
- package/lib/client/addListener.js.map +1 -0
- package/lib/client/animation/ANIMATION_C.d.ts +1 -0
- package/lib/client/animation/ANIMATION_C.js +5 -0
- package/lib/client/animation/ANIMATION_C.js.map +1 -0
- package/lib/client/animation/ANIMATION_T_S.d.ts +1 -0
- package/lib/client/animation/ANIMATION_T_S.js +6 -0
- package/lib/client/animation/ANIMATION_T_S.js.map +1 -0
- package/lib/client/animation/animation.d.ts +3 -0
- package/lib/client/animation/animation.js +22 -0
- package/lib/client/animation/animation.js.map +1 -0
- package/lib/client/applyAttr.d.ts +4 -0
- package/lib/client/applyAttr.js +20 -0
- package/lib/client/applyAttr.js.map +1 -0
- package/lib/client/applyDataset.d.ts +2 -0
- package/lib/client/applyDataset.js +16 -0
- package/lib/client/applyDataset.js.map +1 -0
- package/lib/client/broadcast.d.ts +8 -0
- package/lib/client/broadcast.js +46 -0
- package/lib/client/broadcast.js.map +1 -0
- package/lib/client/cache.d.ts +17 -0
- package/lib/client/cache.js +62 -0
- package/lib/client/cache.js.map +1 -0
- package/lib/client/classnames.d.ts +1 -0
- package/lib/client/classnames.js +32 -0
- package/lib/client/classnames.js.map +1 -0
- package/lib/client/color.d.ts +154 -0
- package/lib/client/color.js +373 -0
- package/lib/client/color.js.map +1 -0
- package/lib/client/complexity.d.ts +5 -0
- package/lib/client/complexity.js +39 -0
- package/lib/client/complexity.js.map +1 -0
- package/lib/client/component/getDatumSize.d.ts +20 -0
- package/lib/client/component/getDatumSize.js +248 -0
- package/lib/client/component/getDatumSize.js.map +1 -0
- package/lib/client/component/mergeProps.d.ts +3 -0
- package/lib/client/component/mergeProps.js +10 -0
- package/lib/client/component/mergeProps.js.map +1 -0
- package/lib/client/component/mergeStyle.d.ts +3 -0
- package/lib/client/component/mergeStyle.js +8 -0
- package/lib/client/component/mergeStyle.js.map +1 -0
- package/lib/client/component/namespaceURI.d.ts +2 -0
- package/lib/client/component/namespaceURI.js +4 -0
- package/lib/client/component/namespaceURI.js.map +1 -0
- package/lib/client/component/toggleProp.d.ts +2 -0
- package/lib/client/component/toggleProp.js +7 -0
- package/lib/client/component/toggleProp.js.map +1 -0
- package/lib/client/component.d.ts +226 -0
- package/lib/client/component.js +1269 -0
- package/lib/client/component.js.map +1 -0
- package/lib/client/componentClassFromSpec.d.ts +5 -0
- package/lib/client/componentClassFromSpec.js +64 -0
- package/lib/client/componentClassFromSpec.js.map +1 -0
- package/lib/client/componentClassFromSpecId.d.ts +5 -0
- package/lib/client/componentClassFromSpecId.js +34 -0
- package/lib/client/componentClassFromSpecId.js.map +1 -0
- package/lib/client/componentFromSpec.d.ts +4 -0
- package/lib/client/componentFromSpec.js +11 -0
- package/lib/client/componentFromSpec.js.map +1 -0
- package/lib/client/componentFromSpecId.d.ts +4 -0
- package/lib/client/componentFromSpecId.js +11 -0
- package/lib/client/componentFromSpecId.js.map +1 -0
- package/lib/client/componentFromUnitSpec.d.ts +4 -0
- package/lib/client/componentFromUnitSpec.js +10 -0
- package/lib/client/componentFromUnitSpec.js.map +1 -0
- package/lib/client/component_.d.ts +2 -0
- package/lib/client/component_.js +15 -0
- package/lib/client/component_.js.map +1 -0
- package/lib/client/context.d.ts +52 -0
- package/lib/client/context.js +141 -0
- package/lib/client/context.js.map +1 -0
- package/lib/client/createParent.d.ts +4 -0
- package/lib/client/createParent.js +24 -0
- package/lib/client/createParent.js.map +1 -0
- package/lib/client/database.d.ts +4 -0
- package/lib/client/database.js +40 -0
- package/lib/client/database.js.map +1 -0
- package/lib/client/debounce.d.ts +1 -0
- package/lib/client/debounce.js +26 -0
- package/lib/client/debounce.js.map +1 -0
- package/lib/client/dnd.d.ts +6 -0
- package/lib/client/dnd.js +165 -0
- package/lib/client/dnd.js.map +1 -0
- package/lib/client/dragOverTimeListener.d.ts +3 -0
- package/lib/client/dragOverTimeListener.js +30 -0
- package/lib/client/dragOverTimeListener.js.map +1 -0
- package/lib/client/drawing.d.ts +5 -0
- package/lib/client/drawing.js +193 -0
- package/lib/client/drawing.js.map +1 -0
- package/lib/client/element.d.ts +11 -0
- package/lib/client/element.js +119 -0
- package/lib/client/element.js.map +1 -0
- package/lib/client/empty.d.ts +1 -0
- package/lib/client/empty.js +5 -0
- package/lib/client/empty.js.map +1 -0
- package/lib/client/ensureIcon.d.ts +4 -0
- package/lib/client/ensureIcon.js +27 -0
- package/lib/client/ensureIcon.js.map +1 -0
- package/lib/client/enterFullscreen.d.ts +1 -0
- package/lib/client/enterFullscreen.js +11 -0
- package/lib/client/enterFullscreen.js.map +1 -0
- package/lib/client/env.d.ts +4 -0
- package/lib/client/env.js +8 -0
- package/lib/client/env.js.map +1 -0
- package/lib/client/event/change.d.ts +3 -0
- package/lib/client/event/change.js +13 -0
- package/lib/client/event/change.js.map +1 -0
- package/lib/client/event/custom/index.d.ts +4 -0
- package/lib/client/event/custom/index.js +38 -0
- package/lib/client/event/custom/index.js.map +1 -0
- package/lib/client/event/dataset.d.ts +2 -0
- package/lib/client/event/dataset.js +13 -0
- package/lib/client/event/dataset.js.map +1 -0
- package/lib/client/event/drag/dragcancel.d.ts +8 -0
- package/lib/client/event/drag/dragcancel.js +22 -0
- package/lib/client/event/drag/dragcancel.js.map +1 -0
- package/lib/client/event/drag/dragdrop.d.ts +8 -0
- package/lib/client/event/drag/dragdrop.js +22 -0
- package/lib/client/event/drag/dragdrop.js.map +1 -0
- package/lib/client/event/drag/dragenter.d.ts +8 -0
- package/lib/client/event/drag/dragenter.js +22 -0
- package/lib/client/event/drag/dragenter.js.map +1 -0
- package/lib/client/event/drag/dragleave.d.ts +6 -0
- package/lib/client/event/drag/dragleave.js +22 -0
- package/lib/client/event/drag/dragleave.js.map +1 -0
- package/lib/client/event/drag/dragover.d.ts +6 -0
- package/lib/client/event/drag/dragover.js +22 -0
- package/lib/client/event/drag/dragover.js.map +1 -0
- package/lib/client/event/focus/FocusEvent.d.ts +3 -0
- package/lib/client/event/focus/FocusEvent.js +3 -0
- package/lib/client/event/focus/FocusEvent.js.map +1 -0
- package/lib/client/event/focus/blur.d.ts +5 -0
- package/lib/client/event/focus/blur.js +22 -0
- package/lib/client/event/focus/blur.js.map +1 -0
- package/lib/client/event/focus/focus.d.ts +5 -0
- package/lib/client/event/focus/focus.js +22 -0
- package/lib/client/event/focus/focus.js.map +1 -0
- package/lib/client/event/focus/focusin.d.ts +5 -0
- package/lib/client/event/focus/focusin.js +22 -0
- package/lib/client/event/focus/focusin.js.map +1 -0
- package/lib/client/event/focus/focusout.d.ts +5 -0
- package/lib/client/event/focus/focusout.js +22 -0
- package/lib/client/event/focus/focusout.js.map +1 -0
- package/lib/client/event/gamepad/index.d.ts +0 -0
- package/lib/client/event/gamepad/index.js +2 -0
- package/lib/client/event/gamepad/index.js.map +1 -0
- package/lib/client/event/index.d.ts +3 -0
- package/lib/client/event/index.js +30 -0
- package/lib/client/event/index.js.map +1 -0
- package/lib/client/event/input.d.ts +3 -0
- package/lib/client/event/input.js +13 -0
- package/lib/client/event/input.js.map +1 -0
- package/lib/client/event/keyboard/index.d.ts +111 -0
- package/lib/client/event/keyboard/index.js +723 -0
- package/lib/client/event/keyboard/index.js.map +1 -0
- package/lib/client/event/keyboard/keyCode.d.ts +13 -0
- package/lib/client/event/keyboard/keyCode.js +566 -0
- package/lib/client/event/keyboard/keyCode.js.map +1 -0
- package/lib/client/event/paste.d.ts +5 -0
- package/lib/client/event/paste.js +25 -0
- package/lib/client/event/paste.js.map +1 -0
- package/lib/client/event/pointer/click.d.ts +17 -0
- package/lib/client/event/pointer/click.js +210 -0
- package/lib/client/event/pointer/click.js.map +1 -0
- package/lib/client/event/pointer/index.d.ts +16 -0
- package/lib/client/event/pointer/index.js +61 -0
- package/lib/client/event/pointer/index.js.map +1 -0
- package/lib/client/event/pointer/pointercancel.d.ts +5 -0
- package/lib/client/event/pointer/pointercancel.js +15 -0
- package/lib/client/event/pointer/pointercancel.js.map +1 -0
- package/lib/client/event/pointer/pointerdown.d.ts +5 -0
- package/lib/client/event/pointer/pointerdown.js +15 -0
- package/lib/client/event/pointer/pointerdown.js.map +1 -0
- package/lib/client/event/pointer/pointerenter.d.ts +5 -0
- package/lib/client/event/pointer/pointerenter.js +15 -0
- package/lib/client/event/pointer/pointerenter.js.map +1 -0
- package/lib/client/event/pointer/pointerleave.d.ts +5 -0
- package/lib/client/event/pointer/pointerleave.js +15 -0
- package/lib/client/event/pointer/pointerleave.js.map +1 -0
- package/lib/client/event/pointer/pointermove.d.ts +5 -0
- package/lib/client/event/pointer/pointermove.js +15 -0
- package/lib/client/event/pointer/pointermove.js.map +1 -0
- package/lib/client/event/pointer/pointerout.d.ts +5 -0
- package/lib/client/event/pointer/pointerout.js +15 -0
- package/lib/client/event/pointer/pointerout.js.map +1 -0
- package/lib/client/event/pointer/pointerover.d.ts +5 -0
- package/lib/client/event/pointer/pointerover.js +15 -0
- package/lib/client/event/pointer/pointerover.js.map +1 -0
- package/lib/client/event/pointer/pointerup.d.ts +5 -0
- package/lib/client/event/pointer/pointerup.js +15 -0
- package/lib/client/event/pointer/pointerup.js.map +1 -0
- package/lib/client/event/resize/index.d.ts +8 -0
- package/lib/client/event/resize/index.js +15 -0
- package/lib/client/event/resize/index.js.map +1 -0
- package/lib/client/event/scroll.d.ts +6 -0
- package/lib/client/event/scroll.js +24 -0
- package/lib/client/event/scroll.js.map +1 -0
- package/lib/client/event/system/index.d.ts +0 -0
- package/lib/client/event/system/index.js +2 -0
- package/lib/client/event/system/index.js.map +1 -0
- package/lib/client/event/touch/index.d.ts +6 -0
- package/lib/client/event/touch/index.js +3 -0
- package/lib/client/event/touch/index.js.map +1 -0
- package/lib/client/event/touch/touchend.d.ts +5 -0
- package/lib/client/event/touch/touchend.js +36 -0
- package/lib/client/event/touch/touchend.js.map +1 -0
- package/lib/client/event/touch/touchmove.d.ts +5 -0
- package/lib/client/event/touch/touchmove.js +36 -0
- package/lib/client/event/touch/touchmove.js.map +1 -0
- package/lib/client/event/wheel.d.ts +16 -0
- package/lib/client/event/wheel.js +58 -0
- package/lib/client/event/wheel.js.map +1 -0
- package/lib/client/extension/index.d.ts +5 -0
- package/lib/client/extension/index.js +61 -0
- package/lib/client/extension/index.js.map +1 -0
- package/lib/client/extension/src/background.d.ts +2 -0
- package/lib/client/extension/src/background.js +22 -0
- package/lib/client/extension/src/background.js.map +1 -0
- package/lib/client/extension/src/content.d.ts +2 -0
- package/lib/client/extension/src/content.js +41 -0
- package/lib/client/extension/src/content.js.map +1 -0
- package/lib/client/extension/src/options.d.ts +2 -0
- package/lib/client/extension/src/options.js +21 -0
- package/lib/client/extension/src/options.js.map +1 -0
- package/lib/client/extension/src/popup.d.ts +2 -0
- package/lib/client/extension/src/popup.js +6 -0
- package/lib/client/extension/src/popup.js.map +1 -0
- package/lib/client/extractStyle.d.ts +8 -0
- package/lib/client/extractStyle.js +94 -0
- package/lib/client/extractStyle.js.map +1 -0
- package/lib/client/extractTrait.d.ts +4 -0
- package/lib/client/extractTrait.js +75 -0
- package/lib/client/extractTrait.js.map +1 -0
- package/lib/client/fetch.d.ts +6 -0
- package/lib/client/fetch.js +14 -0
- package/lib/client/fetch.js.map +1 -0
- package/lib/client/field.d.ts +16 -0
- package/lib/client/field.js +38 -0
- package/lib/client/field.js.map +1 -0
- package/lib/client/findRef.d.ts +3 -0
- package/lib/client/findRef.js +15 -0
- package/lib/client/findRef.js.map +1 -0
- package/lib/client/fuzzy.d.ts +1 -0
- package/lib/client/fuzzy.js +49 -0
- package/lib/client/fuzzy.js.map +1 -0
- package/lib/client/getSize.d.ts +3 -0
- package/lib/client/getSize.js +22 -0
- package/lib/client/getSize.js.map +1 -0
- package/lib/client/graph/constant/DEFAULT_STYLE.d.ts +12 -0
- package/lib/client/graph/constant/DEFAULT_STYLE.js +6 -0
- package/lib/client/graph/constant/DEFAULT_STYLE.js.map +1 -0
- package/lib/client/graph/constant/KEY_TO_MODE.d.ts +8 -0
- package/lib/client/graph/constant/KEY_TO_MODE.js +12 -0
- package/lib/client/graph/constant/KEY_TO_MODE.js.map +1 -0
- package/lib/client/graph/shortcut/modes.d.ts +3 -0
- package/lib/client/graph/shortcut/modes.js +59 -0
- package/lib/client/graph/shortcut/modes.js.map +1 -0
- package/lib/client/graph.d.ts +30 -0
- package/lib/client/graph.js +241 -0
- package/lib/client/graph.js.map +1 -0
- package/lib/client/graphComponentFromSpec.d.ts +11 -0
- package/lib/client/graphComponentFromSpec.js +31 -0
- package/lib/client/graphComponentFromSpec.js.map +1 -0
- package/lib/client/html/index.d.ts +0 -0
- package/lib/client/html/index.js +2 -0
- package/lib/client/html/index.js.map +1 -0
- package/lib/client/html/meta.d.ts +7 -0
- package/lib/client/html/meta.js +16 -0
- package/lib/client/html/meta.js.map +1 -0
- package/lib/client/icons/index.d.ts +10 -0
- package/lib/client/icons/index.js +550 -0
- package/lib/client/icons/index.js.map +1 -0
- package/lib/client/id/index.d.ts +137 -0
- package/lib/client/id/index.js +483 -0
- package/lib/client/id/index.js.map +1 -0
- package/lib/client/id/randomInArray.d.ts +1 -0
- package/lib/client/id/randomInArray.js +8 -0
- package/lib/client/id/randomInArray.js.map +1 -0
- package/lib/client/id/test.d.ts +1 -0
- package/lib/client/id/test.js +84 -0
- package/lib/client/id/test.js.map +1 -0
- package/lib/client/idFromUnitValue.d.ts +3 -0
- package/lib/client/idFromUnitValue.js +19 -0
- package/lib/client/idFromUnitValue.js.map +1 -0
- package/lib/client/index.d.ts +0 -0
- package/lib/client/index.js +2 -0
- package/lib/client/index.js.map +1 -0
- package/lib/client/isScrollable.d.ts +3 -0
- package/lib/client/isScrollable.js +51 -0
- package/lib/client/isScrollable.js.map +1 -0
- package/lib/client/leaveFullscreen.d.ts +1 -0
- package/lib/client/leaveFullscreen.js +11 -0
- package/lib/client/leaveFullscreen.js.map +1 -0
- package/lib/client/listenMovement.d.ts +3 -0
- package/lib/client/listenMovement.js +29 -0
- package/lib/client/listenMovement.js.map +1 -0
- package/lib/client/localhost.d.ts +1 -0
- package/lib/client/localhost.js +8 -0
- package/lib/client/localhost.js.map +1 -0
- package/lib/client/log.d.ts +2 -0
- package/lib/client/log.js +21 -0
- package/lib/client/log.js.map +1 -0
- package/lib/client/makeEventListener.d.ts +4 -0
- package/lib/client/makeEventListener.js +72 -0
- package/lib/client/makeEventListener.js.map +1 -0
- package/lib/client/makeRemoteUnitAPI.d.ts +3 -0
- package/lib/client/makeRemoteUnitAPI.js +73 -0
- package/lib/client/makeRemoteUnitAPI.js.map +1 -0
- package/lib/client/makeUnitRemoteRef.d.ts +4 -0
- package/lib/client/makeUnitRemoteRef.js +19 -0
- package/lib/client/makeUnitRemoteRef.js.map +1 -0
- package/lib/client/math.d.ts +4 -0
- package/lib/client/math.js +27 -0
- package/lib/client/math.js.map +1 -0
- package/lib/client/mode.d.ts +2 -0
- package/lib/client/mode.js +13 -0
- package/lib/client/mode.js.map +1 -0
- package/lib/client/mount.d.ts +3 -0
- package/lib/client/mount.js +8 -0
- package/lib/client/mount.js.map +1 -0
- package/lib/client/paperBackground.d.ts +1 -0
- package/lib/client/paperBackground.js +33 -0
- package/lib/client/paperBackground.js.map +1 -0
- package/lib/client/parseBorder.d.ts +6 -0
- package/lib/client/parseBorder.js +30 -0
- package/lib/client/parseBorder.js.map +1 -0
- package/lib/client/parseLayoutValue.d.ts +1 -0
- package/lib/client/parseLayoutValue.js +40 -0
- package/lib/client/parseLayoutValue.js.map +1 -0
- package/lib/client/parseMargin.d.ts +7 -0
- package/lib/client/parseMargin.js +34 -0
- package/lib/client/parseMargin.js.map +1 -0
- package/lib/client/parseRelativeUnit.d.ts +1 -0
- package/lib/client/parseRelativeUnit.js +32 -0
- package/lib/client/parseRelativeUnit.js.map +1 -0
- package/lib/client/parseTransformXY.d.ts +1 -0
- package/lib/client/parseTransformXY.js +134 -0
- package/lib/client/parseTransformXY.js.map +1 -0
- package/lib/client/parser.d.ts +5 -0
- package/lib/client/parser.js +38 -0
- package/lib/client/parser.js.map +1 -0
- package/lib/client/platform/node/boot.d.ts +2 -0
- package/lib/client/platform/node/boot.js +16 -0
- package/lib/client/platform/node/boot.js.map +1 -0
- package/lib/client/platform/node/index.d.ts +1 -0
- package/lib/client/platform/node/index.js +5 -0
- package/lib/client/platform/node/index.js.map +1 -0
- package/lib/client/platform/web/api/animation.d.ts +2 -0
- package/lib/client/platform/web/api/animation.js +16 -0
- package/lib/client/platform/web/api/animation.js.map +1 -0
- package/lib/client/platform/web/api/bluetooth.d.ts +2 -0
- package/lib/client/platform/web/api/bluetooth.js +66 -0
- package/lib/client/platform/web/api/bluetooth.js.map +1 -0
- package/lib/client/platform/web/api/channel.d.ts +2 -0
- package/lib/client/platform/web/api/channel.js +23 -0
- package/lib/client/platform/web/api/channel.js.map +1 -0
- package/lib/client/platform/web/api/clipboard.d.ts +2 -0
- package/lib/client/platform/web/api/clipboard.js +37 -0
- package/lib/client/platform/web/api/clipboard.js.map +1 -0
- package/lib/client/platform/web/api/db.d.ts +2 -0
- package/lib/client/platform/web/api/db.js +9 -0
- package/lib/client/platform/web/api/db.js.map +1 -0
- package/lib/client/platform/web/api/device.d.ts +2 -0
- package/lib/client/platform/web/api/device.js +28 -0
- package/lib/client/platform/web/api/device.js.map +1 -0
- package/lib/client/platform/web/api/document.d.ts +2 -0
- package/lib/client/platform/web/api/document.js +36 -0
- package/lib/client/platform/web/api/document.js.map +1 -0
- package/lib/client/platform/web/api/file.d.ts +2 -0
- package/lib/client/platform/web/api/file.js +57 -0
- package/lib/client/platform/web/api/file.js.map +1 -0
- package/lib/client/platform/web/api/geolocation.d.ts +2 -0
- package/lib/client/platform/web/api/geolocation.js +37 -0
- package/lib/client/platform/web/api/geolocation.js.map +1 -0
- package/lib/client/platform/web/api/http.d.ts +2 -0
- package/lib/client/platform/web/api/http.js +25 -0
- package/lib/client/platform/web/api/http.js.map +1 -0
- package/lib/client/platform/web/api/input.d.ts +3 -0
- package/lib/client/platform/web/api/input.js +87 -0
- package/lib/client/platform/web/api/input.js.map +1 -0
- package/lib/client/platform/web/api/media.d.ts +2 -0
- package/lib/client/platform/web/api/media.js +80 -0
- package/lib/client/platform/web/api/media.js.map +1 -0
- package/lib/client/platform/web/api/querystring.d.ts +2 -0
- package/lib/client/platform/web/api/querystring.js +23 -0
- package/lib/client/platform/web/api/querystring.js.map +1 -0
- package/lib/client/platform/web/api/screen.d.ts +2 -0
- package/lib/client/platform/web/api/screen.js +26 -0
- package/lib/client/platform/web/api/screen.js.map +1 -0
- package/lib/client/platform/web/api/selection.d.ts +2 -0
- package/lib/client/platform/web/api/selection.js +23 -0
- package/lib/client/platform/web/api/selection.js.map +1 -0
- package/lib/client/platform/web/api/speech.d.ts +2 -0
- package/lib/client/platform/web/api/speech.js +95 -0
- package/lib/client/platform/web/api/speech.js.map +1 -0
- package/lib/client/platform/web/api/storage.d.ts +2 -0
- package/lib/client/platform/web/api/storage.js +13 -0
- package/lib/client/platform/web/api/storage.js.map +1 -0
- package/lib/client/platform/web/api/text.d.ts +2 -0
- package/lib/client/platform/web/api/text.js +18 -0
- package/lib/client/platform/web/api/text.js.map +1 -0
- package/lib/client/platform/web/api/uri.d.ts +2 -0
- package/lib/client/platform/web/api/uri.js +15 -0
- package/lib/client/platform/web/api/uri.js.map +1 -0
- package/lib/client/platform/web/api/url.d.ts +2 -0
- package/lib/client/platform/web/api/url.js +24 -0
- package/lib/client/platform/web/api/url.js.map +1 -0
- package/lib/client/platform/web/api/worker.d.ts +2 -0
- package/lib/client/platform/web/api/worker.js +16 -0
- package/lib/client/platform/web/api/worker.js.map +1 -0
- package/lib/client/platform/web/boot.d.ts +3 -0
- package/lib/client/platform/web/boot.js +104 -0
- package/lib/client/platform/web/boot.js.map +1 -0
- package/lib/client/platform/web/clearSelection.d.ts +1 -0
- package/lib/client/platform/web/clearSelection.js +9 -0
- package/lib/client/platform/web/clearSelection.js.map +1 -0
- package/lib/client/platform/web/createFullwindow.d.ts +3 -0
- package/lib/client/platform/web/createFullwindow.js +19 -0
- package/lib/client/platform/web/createFullwindow.js.map +1 -0
- package/lib/client/platform/web/createIframe.d.ts +1 -0
- package/lib/client/platform/web/createIframe.js +11 -0
- package/lib/client/platform/web/createIframe.js.map +1 -0
- package/lib/client/platform/web/createPopupWindow.d.ts +1 -0
- package/lib/client/platform/web/createPopupWindow.js +10 -0
- package/lib/client/platform/web/createPopupWindow.js.map +1 -0
- package/lib/client/platform/web/createRect.d.ts +1 -0
- package/lib/client/platform/web/createRect.js +17 -0
- package/lib/client/platform/web/createRect.js.map +1 -0
- package/lib/client/platform/web/index.d.ts +1 -0
- package/lib/client/platform/web/index.js +52 -0
- package/lib/client/platform/web/index.js.map +1 -0
- package/lib/client/platform/web/init.d.ts +3 -0
- package/lib/client/platform/web/init.js +101 -0
- package/lib/client/platform/web/init.js.map +1 -0
- package/lib/client/platform/web/parentElement.d.ts +3 -0
- package/lib/client/platform/web/parentElement.js +11 -0
- package/lib/client/platform/web/parentElement.js.map +1 -0
- package/lib/client/platform/web/render.d.ts +5 -0
- package/lib/client/platform/web/render.js +25 -0
- package/lib/client/platform/web/render.js.map +1 -0
- package/lib/client/platform/web/sw.d.ts +1 -0
- package/lib/client/platform/web/sw.js +76 -0
- package/lib/client/platform/web/sw.js.map +1 -0
- package/lib/client/platform/web/workerPort.d.ts +2 -0
- package/lib/client/platform/web/workerPort.js +29 -0
- package/lib/client/platform/web/workerPort.js.map +1 -0
- package/lib/client/pointerScroll.d.ts +3 -0
- package/lib/client/pointerScroll.js +18 -0
- package/lib/client/pointerScroll.js.map +1 -0
- package/lib/client/propHandler.d.ts +11 -0
- package/lib/client/propHandler.js +64 -0
- package/lib/client/propHandler.js.map +1 -0
- package/lib/client/reflectChildrenTrait.d.ts +12 -0
- package/lib/client/reflectChildrenTrait.js +406 -0
- package/lib/client/reflectChildrenTrait.js.map +1 -0
- package/lib/client/reflectComponentBaseTrait.d.ts +9 -0
- package/lib/client/reflectComponentBaseTrait.js +145 -0
- package/lib/client/reflectComponentBaseTrait.js.map +1 -0
- package/lib/client/remote/$makeRemoteUnitAPI.d.ts +3 -0
- package/lib/client/remote/$makeRemoteUnitAPI.js +72 -0
- package/lib/client/remote/$makeRemoteUnitAPI.js.map +1 -0
- package/lib/client/render/Client.d.ts +6 -0
- package/lib/client/render/Client.js +3 -0
- package/lib/client/render/Client.js.map +1 -0
- package/lib/client/render/attachApp.d.ts +3 -0
- package/lib/client/render/attachApp.js +18 -0
- package/lib/client/render/attachApp.js.map +1 -0
- package/lib/client/render/attachCanvas.d.ts +2 -0
- package/lib/client/render/attachCanvas.js +15 -0
- package/lib/client/render/attachCanvas.js.map +1 -0
- package/lib/client/render/attachFocus.d.ts +2 -0
- package/lib/client/render/attachFocus.js +134 -0
- package/lib/client/render/attachFocus.js.map +1 -0
- package/lib/client/render/attachGesture.d.ts +2 -0
- package/lib/client/render/attachGesture.js +81 -0
- package/lib/client/render/attachGesture.js.map +1 -0
- package/lib/client/render/attachLongPress.d.ts +2 -0
- package/lib/client/render/attachLongPress.js +52 -0
- package/lib/client/render/attachLongPress.js.map +1 -0
- package/lib/client/render/attachSVG.d.ts +2 -0
- package/lib/client/render/attachSVG.js +19 -0
- package/lib/client/render/attachSVG.js.map +1 -0
- package/lib/client/render/attachSprite.d.ts +2 -0
- package/lib/client/render/attachSprite.js +15 -0
- package/lib/client/render/attachSprite.js.map +1 -0
- package/lib/client/render/attachStyle.d.ts +2 -0
- package/lib/client/render/attachStyle.js +131 -0
- package/lib/client/render/attachStyle.js.map +1 -0
- package/lib/client/render/index.d.ts +4 -0
- package/lib/client/render/index.js +14 -0
- package/lib/client/render/index.js.map +1 -0
- package/lib/client/render/renderBundle.d.ts +3 -0
- package/lib/client/render/renderBundle.js +19 -0
- package/lib/client/render/renderBundle.js.map +1 -0
- package/lib/client/render/renderGraph.d.ts +4 -0
- package/lib/client/render/renderGraph.js +31 -0
- package/lib/client/render/renderGraph.js.map +1 -0
- package/lib/client/render/watchGraphComponent.d.ts +5 -0
- package/lib/client/render/watchGraphComponent.js +62 -0
- package/lib/client/render/watchGraphComponent.js.map +1 -0
- package/lib/client/renderCross.d.ts +1 -0
- package/lib/client/renderCross.js +32 -0
- package/lib/client/renderCross.js.map +1 -0
- package/lib/client/renderFrame.d.ts +4 -0
- package/lib/client/renderFrame.js +49 -0
- package/lib/client/renderFrame.js.map +1 -0
- package/lib/client/resizeWith.d.ts +3 -0
- package/lib/client/resizeWith.js +23 -0
- package/lib/client/resizeWith.js.map +1 -0
- package/lib/client/resources.d.ts +1 -0
- package/lib/client/resources.js +5 -0
- package/lib/client/resources.js.map +1 -0
- package/lib/client/root.d.ts +2 -0
- package/lib/client/root.js +6 -0
- package/lib/client/root.js.map +1 -0
- package/lib/client/search.d.ts +4 -0
- package/lib/client/search.js +47 -0
- package/lib/client/search.js.map +1 -0
- package/lib/client/service.d.ts +2 -0
- package/lib/client/service.js +28 -0
- package/lib/client/service.js.map +1 -0
- package/lib/client/setupCanvas.d.ts +1 -0
- package/lib/client/setupCanvas.js +14 -0
- package/lib/client/setupCanvas.js.map +1 -0
- package/lib/client/showNotification.d.ts +3 -0
- package/lib/client/showNotification.js +51 -0
- package/lib/client/showNotification.js.map +1 -0
- package/lib/client/simulation.d.ts +76 -0
- package/lib/client/simulation.js +185 -0
- package/lib/client/simulation.js.map +1 -0
- package/lib/client/sink.d.ts +2 -0
- package/lib/client/sink.js +5 -0
- package/lib/client/sink.js.map +1 -0
- package/lib/client/spec.d.ts +36 -0
- package/lib/client/spec.js +258 -0
- package/lib/client/spec.js.map +1 -0
- package/lib/client/static/font/dataURI.d.ts +1 -0
- package/lib/client/static/font/dataURI.js +5 -0
- package/lib/client/static/font/dataURI.js.map +1 -0
- package/lib/client/stopPropagation.d.ts +5 -0
- package/lib/client/stopPropagation.js +38 -0
- package/lib/client/stopPropagation.js.map +1 -0
- package/lib/client/store.d.ts +37 -0
- package/lib/client/store.js +164 -0
- package/lib/client/store.js.map +1 -0
- package/lib/client/style.d.ts +8 -0
- package/lib/client/style.js +92 -0
- package/lib/client/style.js.map +1 -0
- package/lib/client/theme.d.ts +65 -0
- package/lib/client/theme.js +224 -0
- package/lib/client/theme.js.map +1 -0
- package/lib/client/throttle.d.ts +6 -0
- package/lib/client/throttle.js +59 -0
- package/lib/client/throttle.js.map +1 -0
- package/lib/client/toggleFullscreen.d.ts +1 -0
- package/lib/client/toggleFullscreen.js +16 -0
- package/lib/client/toggleFullscreen.js.map +1 -0
- package/lib/client/unmount.d.ts +2 -0
- package/lib/client/unmount.js +8 -0
- package/lib/client/unmount.js.map +1 -0
- package/lib/client/util/geometry/index.d.ts +125 -0
- package/lib/client/util/geometry/index.js +507 -0
- package/lib/client/util/geometry/index.js.map +1 -0
- package/lib/client/util/geometry/unit/getUnitPinAngle.d.ts +2 -0
- package/lib/client/util/geometry/unit/getUnitPinAngle.js +10 -0
- package/lib/client/util/geometry/unit/getUnitPinAngle.js.map +1 -0
- package/lib/client/util/geometry/unit/getUnitPinPosition.d.ts +5 -0
- package/lib/client/util/geometry/unit/getUnitPinPosition.js +12 -0
- package/lib/client/util/geometry/unit/getUnitPinPosition.js.map +1 -0
- package/lib/client/util/getChildIndex.d.ts +1 -0
- package/lib/client/util/getChildIndex.js +10 -0
- package/lib/client/util/getChildIndex.js.map +1 -0
- package/lib/client/util/replaceChild.d.ts +1 -0
- package/lib/client/util/replaceChild.js +14 -0
- package/lib/client/util/replaceChild.js.map +1 -0
- package/lib/client/util/style/getFontSize.d.ts +3 -0
- package/lib/client/util/style/getFontSize.js +18 -0
- package/lib/client/util/style/getFontSize.js.map +1 -0
- package/lib/client/util/style/getOpacity.d.ts +3 -0
- package/lib/client/util/style/getOpacity.js +18 -0
- package/lib/client/util/style/getOpacity.js.map +1 -0
- package/lib/client/util/style/getPosition.d.ts +10 -0
- package/lib/client/util/style/getPosition.js +128 -0
- package/lib/client/util/style/getPosition.js.map +1 -0
- package/lib/client/util/style/getRect.d.ts +2 -0
- package/lib/client/util/style/getRect.js +17 -0
- package/lib/client/util/style/getRect.js.map +1 -0
- package/lib/client/util/style/getScale.d.ts +6 -0
- package/lib/client/util/style/getScale.js +18 -0
- package/lib/client/util/style/getScale.js.map +1 -0
- package/lib/client/util/style/getSize.d.ts +4 -0
- package/lib/client/util/style/getSize.js +48 -0
- package/lib/client/util/style/getSize.js.map +1 -0
- package/lib/client/util/style/getTextAlign.d.ts +2 -0
- package/lib/client/util/style/getTextAlign.js +14 -0
- package/lib/client/util/style/getTextAlign.js.map +1 -0
- package/lib/client/util/style/userSelect.d.ts +5 -0
- package/lib/client/util/style/userSelect.js +10 -0
- package/lib/client/util/style/userSelect.js.map +1 -0
- package/lib/client/util/web/clipboard.d.ts +3 -0
- package/lib/client/util/web/clipboard.js +26 -0
- package/lib/client/util/web/clipboard.js.map +1 -0
- package/lib/client/util/web/isPWA.d.ts +2 -0
- package/lib/client/util/web/isPWA.js +6 -0
- package/lib/client/util/web/isPWA.js.map +1 -0
- package/lib/client/util/web/measureText.d.ts +2 -0
- package/lib/client/util/web/measureText.js +17 -0
- package/lib/client/util/web/measureText.js.map +1 -0
- package/lib/client/util/web/storage.d.ts +10 -0
- package/lib/client/util/web/storage.js +44 -0
- package/lib/client/util/web/storage.js.map +1 -0
- package/lib/client/whenInteracted.d.ts +6 -0
- package/lib/client/whenInteracted.js +32 -0
- package/lib/client/whenInteracted.js.map +1 -0
- package/lib/client/zoom.d.ts +18 -0
- package/lib/client/zoom.js +49 -0
- package/lib/client/zoom.js.map +1 -0
- package/lib/cloneUnitClass.d.ts +4 -0
- package/lib/cloneUnitClass.js +19 -0
- package/lib/cloneUnitClass.js.map +1 -0
- package/lib/component/$component.d.ts +39 -0
- package/lib/component/$component.js +75 -0
- package/lib/component/$component.js.map +1 -0
- package/lib/component/Child.d.ts +4 -0
- package/lib/component/Child.js +3 -0
- package/lib/component/Child.js.map +1 -0
- package/lib/component/Children.d.ts +2 -0
- package/lib/component/Children.js +3 -0
- package/lib/component/Children.js.map +1 -0
- package/lib/component/method.d.ts +19 -0
- package/lib/component/method.js +126 -0
- package/lib/component/method.js.map +1 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_CALL_FILTER.d.ts +1 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_CALL_FILTER.js +7 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_CALL_FILTER.js.map +1 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_WATCH_FILTER.d.ts +1 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_WATCH_FILTER.js +5 -0
- package/lib/constant/ASYNC_GRAPH_PROXY_WATCH_FILTER.js.map +1 -0
- package/lib/constant/GRAPH_DEFAULT_EVENTS.d.ts +1 -0
- package/lib/constant/GRAPH_DEFAULT_EVENTS.js +43 -0
- package/lib/constant/GRAPH_DEFAULT_EVENTS.js.map +1 -0
- package/lib/constant/GRAPH_PROXY_CALL_FILTER.d.ts +2 -0
- package/lib/constant/GRAPH_PROXY_CALL_FILTER.js +9 -0
- package/lib/constant/GRAPH_PROXY_CALL_FILTER.js.map +1 -0
- package/lib/constant/LINK_DISTANCE.d.ts +7 -0
- package/lib/constant/LINK_DISTANCE.js +11 -0
- package/lib/constant/LINK_DISTANCE.js.map +1 -0
- package/lib/constant/OPENING.d.ts +3 -0
- package/lib/constant/OPENING.js +7 -0
- package/lib/constant/OPENING.js.map +1 -0
- package/lib/constant/PIN_RADIUS.d.ts +1 -0
- package/lib/constant/PIN_RADIUS.js +5 -0
- package/lib/constant/PIN_RADIUS.js.map +1 -0
- package/lib/constant/SELF.d.ts +1 -0
- package/lib/constant/SELF.js +5 -0
- package/lib/constant/SELF.js.map +1 -0
- package/lib/constant/STRING.d.ts +13 -0
- package/lib/constant/STRING.js +17 -0
- package/lib/constant/STRING.js.map +1 -0
- package/lib/debug/ComponentAppendChildMoment.d.ts +4 -0
- package/lib/debug/ComponentAppendChildMoment.js +3 -0
- package/lib/debug/ComponentAppendChildMoment.js.map +1 -0
- package/lib/debug/ComponentLeafAppendChildAtMoment.d.ts +6 -0
- package/lib/debug/ComponentLeafAppendChildAtMoment.js +3 -0
- package/lib/debug/ComponentLeafAppendChildAtMoment.js.map +1 -0
- package/lib/debug/ComponentLeafRemoveChildAtMoment.d.ts +6 -0
- package/lib/debug/ComponentLeafRemoveChildAtMoment.js +3 -0
- package/lib/debug/ComponentLeafRemoveChildAtMoment.js.map +1 -0
- package/lib/debug/ComponentRemoveChildAtMoment.d.ts +5 -0
- package/lib/debug/ComponentRemoveChildAtMoment.js +3 -0
- package/lib/debug/ComponentRemoveChildAtMoment.js.map +1 -0
- package/lib/debug/GraphMergePinDataMoment.d.ts +13 -0
- package/lib/debug/GraphMergePinDataMoment.js +3 -0
- package/lib/debug/GraphMergePinDataMoment.js.map +1 -0
- package/lib/debug/GraphMergePinDropMoment.d.ts +13 -0
- package/lib/debug/GraphMergePinDropMoment.js +3 -0
- package/lib/debug/GraphMergePinDropMoment.js.map +1 -0
- package/lib/debug/GraphMergePinMoment.d.ts +3 -0
- package/lib/debug/GraphMergePinMoment.js +3 -0
- package/lib/debug/GraphMergePinMoment.js.map +1 -0
- package/lib/debug/GraphMoment.d.ts +4 -0
- package/lib/debug/GraphMoment.js +3 -0
- package/lib/debug/GraphMoment.js.map +1 -0
- package/lib/debug/GraphUnitErrMoment.d.ts +6 -0
- package/lib/debug/GraphUnitErrMoment.js +3 -0
- package/lib/debug/GraphUnitErrMoment.js.map +1 -0
- package/lib/debug/GraphUnitMoment.d.ts +5 -0
- package/lib/debug/GraphUnitMoment.js +3 -0
- package/lib/debug/GraphUnitMoment.js.map +1 -0
- package/lib/debug/GraphUnitPinDataMoment.d.ts +13 -0
- package/lib/debug/GraphUnitPinDataMoment.js +3 -0
- package/lib/debug/GraphUnitPinDataMoment.js.map +1 -0
- package/lib/debug/GraphUnitPinDropMoment.d.ts +11 -0
- package/lib/debug/GraphUnitPinDropMoment.js +3 -0
- package/lib/debug/GraphUnitPinDropMoment.js.map +1 -0
- package/lib/debug/GraphUnitPinMoment.d.ts +3 -0
- package/lib/debug/GraphUnitPinMoment.js +3 -0
- package/lib/debug/GraphUnitPinMoment.js.map +1 -0
- package/lib/debug/GraphUnitSpecMoment.d.ts +6 -0
- package/lib/debug/GraphUnitSpecMoment.js +3 -0
- package/lib/debug/GraphUnitSpecMoment.js.map +1 -0
- package/lib/debug/Moment.d.ts +5 -0
- package/lib/debug/Moment.js +3 -0
- package/lib/debug/Moment.js.map +1 -0
- package/lib/debug/PinDataMoment.d.ts +13 -0
- package/lib/debug/PinDataMoment.js +3 -0
- package/lib/debug/PinDataMoment.js.map +1 -0
- package/lib/debug/PinDropMoment.d.ts +11 -0
- package/lib/debug/PinDropMoment.js +3 -0
- package/lib/debug/PinDropMoment.js.map +1 -0
- package/lib/debug/PinType.d.ts +1 -0
- package/lib/debug/PinType.js +3 -0
- package/lib/debug/PinType.js.map +1 -0
- package/lib/debug/UnitErrMoment.d.ts +8 -0
- package/lib/debug/UnitErrMoment.js +3 -0
- package/lib/debug/UnitErrMoment.js.map +1 -0
- package/lib/debug/UnitMoment.d.ts +9 -0
- package/lib/debug/UnitMoment.js +3 -0
- package/lib/debug/UnitMoment.js.map +1 -0
- package/lib/debug/UnitRenamePinMoment.d.ts +9 -0
- package/lib/debug/UnitRenamePinMoment.js +3 -0
- package/lib/debug/UnitRenamePinMoment.js.map +1 -0
- package/lib/debug/graph/watchGraph.d.ts +3 -0
- package/lib/debug/graph/watchGraph.js +69 -0
- package/lib/debug/graph/watchGraph.js.map +1 -0
- package/lib/debug/graph/watchGraphExposedPinEvent.d.ts +13 -0
- package/lib/debug/graph/watchGraphExposedPinEvent.js +23 -0
- package/lib/debug/graph/watchGraphExposedPinEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphExposedPinSetEvent.d.ts +12 -0
- package/lib/debug/graph/watchGraphExposedPinSetEvent.js +22 -0
- package/lib/debug/graph/watchGraphExposedPinSetEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphForkEvent.d.ts +8 -0
- package/lib/debug/graph/watchGraphForkEvent.js +20 -0
- package/lib/debug/graph/watchGraphForkEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphInternal.d.ts +7 -0
- package/lib/debug/graph/watchGraphInternal.js +49 -0
- package/lib/debug/graph/watchGraphInternal.js.map +1 -0
- package/lib/debug/graph/watchGraphMerge.d.ts +4 -0
- package/lib/debug/graph/watchGraphMerge.js +20 -0
- package/lib/debug/graph/watchGraphMerge.js.map +1 -0
- package/lib/debug/graph/watchGraphMergeEvent.d.ts +10 -0
- package/lib/debug/graph/watchGraphMergeEvent.js +21 -0
- package/lib/debug/graph/watchGraphMergeEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphMoveSubgraphIntoEvent.d.ts +15 -0
- package/lib/debug/graph/watchGraphMoveSubgraphIntoEvent.js +27 -0
- package/lib/debug/graph/watchGraphMoveSubgraphIntoEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphPinMergeEvent.d.ts +12 -0
- package/lib/debug/graph/watchGraphPinMergeEvent.js +23 -0
- package/lib/debug/graph/watchGraphPinMergeEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphPlugEvent.d.ts +13 -0
- package/lib/debug/graph/watchGraphPlugEvent.js +23 -0
- package/lib/debug/graph/watchGraphPlugEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphUnitComponentAppendEvent.d.ts +10 -0
- package/lib/debug/graph/watchGraphUnitComponentAppendEvent.js +21 -0
- package/lib/debug/graph/watchGraphUnitComponentAppendEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphUnitComponentRemoveEvent.d.ts +8 -0
- package/lib/debug/graph/watchGraphUnitComponentRemoveEvent.js +20 -0
- package/lib/debug/graph/watchGraphUnitComponentRemoveEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphUnitEvent.d.ts +16 -0
- package/lib/debug/graph/watchGraphUnitEvent.js +38 -0
- package/lib/debug/graph/watchGraphUnitEvent.js.map +1 -0
- package/lib/debug/graph/watchGraphUnitMoveEvent.d.ts +10 -0
- package/lib/debug/graph/watchGraphUnitMoveEvent.js +22 -0
- package/lib/debug/graph/watchGraphUnitMoveEvent.js.map +1 -0
- package/lib/debug/graph/watchInjectGraph.d.ts +9 -0
- package/lib/debug/graph/watchInjectGraph.js +23 -0
- package/lib/debug/graph/watchInjectGraph.js.map +1 -0
- package/lib/debug/index.d.ts +5 -0
- package/lib/debug/index.js +38 -0
- package/lib/debug/index.js.map +1 -0
- package/lib/debug/runner.d.ts +18 -0
- package/lib/debug/runner.js +61 -0
- package/lib/debug/runner.js.map +1 -0
- package/lib/debug/watchInput.d.ts +3 -0
- package/lib/debug/watchInput.js +9 -0
- package/lib/debug/watchInput.js.map +1 -0
- package/lib/debug/watchOutput.d.ts +3 -0
- package/lib/debug/watchOutput.js +9 -0
- package/lib/debug/watchOutput.js.map +1 -0
- package/lib/debug/watchPin.d.ts +4 -0
- package/lib/debug/watchPin.js +20 -0
- package/lib/debug/watchPin.js.map +1 -0
- package/lib/debug/watchPinEvent.d.ts +4 -0
- package/lib/debug/watchPinEvent.js +27 -0
- package/lib/debug/watchPinEvent.js.map +1 -0
- package/lib/debug/watchRefInput.d.ts +3 -0
- package/lib/debug/watchRefInput.js +9 -0
- package/lib/debug/watchRefInput.js.map +1 -0
- package/lib/debug/watchRefOutput.d.ts +3 -0
- package/lib/debug/watchRefOutput.js +14 -0
- package/lib/debug/watchRefOutput.js.map +1 -0
- package/lib/debug/watchRefPin.d.ts +4 -0
- package/lib/debug/watchRefPin.js +15 -0
- package/lib/debug/watchRefPin.js.map +1 -0
- package/lib/debug/watchRefPinEvent.d.ts +14 -0
- package/lib/debug/watchRefPinEvent.js +33 -0
- package/lib/debug/watchRefPinEvent.js.map +1 -0
- package/lib/debug/watchTree.d.ts +4 -0
- package/lib/debug/watchTree.js +25 -0
- package/lib/debug/watchTree.js.map +1 -0
- package/lib/debug/watchUnit.d.ts +4 -0
- package/lib/debug/watchUnit.js +38 -0
- package/lib/debug/watchUnit.js.map +1 -0
- package/lib/debug/watchUnitErr.d.ts +3 -0
- package/lib/debug/watchUnitErr.js +21 -0
- package/lib/debug/watchUnitErr.js.map +1 -0
- package/lib/debug/watchUnitErrEvent.d.ts +3 -0
- package/lib/debug/watchUnitErrEvent.js +18 -0
- package/lib/debug/watchUnitErrEvent.js.map +1 -0
- package/lib/debug/watchUnitEvent.d.ts +20 -0
- package/lib/debug/watchUnitEvent.js +125 -0
- package/lib/debug/watchUnitEvent.js.map +1 -0
- package/lib/debug/watchUnitIO.d.ts +4 -0
- package/lib/debug/watchUnitIO.js +149 -0
- package/lib/debug/watchUnitIO.js.map +1 -0
- package/lib/debug/watchUnitIOSpec.d.ts +4 -0
- package/lib/debug/watchUnitIOSpec.js +25 -0
- package/lib/debug/watchUnitIOSpec.js.map +1 -0
- package/lib/debug/watchUnitLeafEvent.d.ts +11 -0
- package/lib/debug/watchUnitLeafEvent.js +21 -0
- package/lib/debug/watchUnitLeafEvent.js.map +1 -0
- package/lib/debug/watchUnitLeafExposedPinSetEvent.d.ts +13 -0
- package/lib/debug/watchUnitLeafExposedPinSetEvent.js +23 -0
- package/lib/debug/watchUnitLeafExposedPinSetEvent.js.map +1 -0
- package/lib/debug/watchUnitLeafForkEvent.d.ts +11 -0
- package/lib/debug/watchUnitLeafForkEvent.js +21 -0
- package/lib/debug/watchUnitLeafForkEvent.js.map +1 -0
- package/lib/debug/watchUnitLeafInjectEvent.d.ts +12 -0
- package/lib/debug/watchUnitLeafInjectEvent.js +21 -0
- package/lib/debug/watchUnitLeafInjectEvent.js.map +1 -0
- package/lib/debug/watchUnitLeafMoveSubgraphIntoEvent.d.ts +69 -0
- package/lib/debug/watchUnitLeafMoveSubgraphIntoEvent.js +28 -0
- package/lib/debug/watchUnitLeafMoveSubgraphIntoEvent.js.map +1 -0
- package/lib/debug/watchUnitSpecEvent.d.ts +8 -0
- package/lib/debug/watchUnitSpecEvent.js +21 -0
- package/lib/debug/watchUnitSpecEvent.js.map +1 -0
- package/lib/envoltory.d.ts +4 -0
- package/lib/envoltory.js +18 -0
- package/lib/envoltory.js.map +1 -0
- package/lib/events/DataEvent.d.ts +3 -0
- package/lib/events/DataEvent.js +3 -0
- package/lib/events/DataEvent.js.map +1 -0
- package/lib/events/ErrorEvent.d.ts +3 -0
- package/lib/events/ErrorEvent.js +3 -0
- package/lib/events/ErrorEvent.js.map +1 -0
- package/lib/exception/APINotImplementedError.d.ts +3 -0
- package/lib/exception/APINotImplementedError.js +10 -0
- package/lib/exception/APINotImplementedError.js.map +1 -0
- package/lib/exception/ChildOutOfBoundError.d.ts +3 -0
- package/lib/exception/ChildOutOfBoundError.js +10 -0
- package/lib/exception/ChildOutOfBoundError.js.map +1 -0
- package/lib/exception/DisplayMediaAPINotSupported.d.ts +4 -0
- package/lib/exception/DisplayMediaAPINotSupported.js +11 -0
- package/lib/exception/DisplayMediaAPINotSupported.js.map +1 -0
- package/lib/exception/DuplicatedInputFoundError.d.ts +3 -0
- package/lib/exception/DuplicatedInputFoundError.js +10 -0
- package/lib/exception/DuplicatedInputFoundError.js.map +1 -0
- package/lib/exception/DuplicatedOutputFoundError.d.ts +3 -0
- package/lib/exception/DuplicatedOutputFoundError.js +10 -0
- package/lib/exception/DuplicatedOutputFoundError.js.map +1 -0
- package/lib/exception/InputNotFoundError.d.ts +3 -0
- package/lib/exception/InputNotFoundError.js +10 -0
- package/lib/exception/InputNotFoundError.js.map +1 -0
- package/lib/exception/InvalidArgumentType.d.ts +2 -0
- package/lib/exception/InvalidArgumentType.js +7 -0
- package/lib/exception/InvalidArgumentType.js.map +1 -0
- package/lib/exception/InvalidStateError.d.ts +3 -0
- package/lib/exception/InvalidStateError.js +10 -0
- package/lib/exception/InvalidStateError.js.map +1 -0
- package/lib/exception/ListenerNotFoundError.d.ts +3 -0
- package/lib/exception/ListenerNotFoundError.js +10 -0
- package/lib/exception/ListenerNotFoundError.js.map +1 -0
- package/lib/exception/MediaDeviceAPINotSupported.d.ts +4 -0
- package/lib/exception/MediaDeviceAPINotSupported.js +11 -0
- package/lib/exception/MediaDeviceAPINotSupported.js.map +1 -0
- package/lib/exception/MergeNotFoundError.d.ts +3 -0
- package/lib/exception/MergeNotFoundError.js +10 -0
- package/lib/exception/MergeNotFoundError.js.map +1 -0
- package/lib/exception/MethodNotImplementedError.d.ts +3 -0
- package/lib/exception/MethodNotImplementedError.js +10 -0
- package/lib/exception/MethodNotImplementedError.js.map +1 -0
- package/lib/exception/OutputNotFoundError.d.ts +3 -0
- package/lib/exception/OutputNotFoundError.js +10 -0
- package/lib/exception/OutputNotFoundError.js.map +1 -0
- package/lib/exception/ShouldNeverHappenError.d.ts +3 -0
- package/lib/exception/ShouldNeverHappenError.js +10 -0
- package/lib/exception/ShouldNeverHappenError.js.map +1 -0
- package/lib/exception/UnitNotFoundError.d.ts +3 -0
- package/lib/exception/UnitNotFoundError.js +10 -0
- package/lib/exception/UnitNotFoundError.js.map +1 -0
- package/lib/global.d.ts +4 -0
- package/lib/global.js +22 -0
- package/lib/global.js.map +1 -0
- package/lib/graphFromPort.d.ts +5 -0
- package/lib/graphFromPort.js +273 -0
- package/lib/graphFromPort.js.map +1 -0
- package/lib/handleElementInputEvent.d.ts +2 -0
- package/lib/handleElementInputEvent.js +14 -0
- package/lib/handleElementInputEvent.js.map +1 -0
- package/lib/host/none.d.ts +7 -0
- package/lib/host/none.js +218 -0
- package/lib/host/none.js.map +1 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/interface.d.ts +32 -0
- package/lib/interface.js +36 -0
- package/lib/interface.js.map +1 -0
- package/lib/isFrameRelative.d.ts +1 -0
- package/lib/isFrameRelative.js +8 -0
- package/lib/isFrameRelative.js.map +1 -0
- package/lib/isParentRelative.d.ts +1 -0
- package/lib/isParentRelative.js +8 -0
- package/lib/isParentRelative.js.map +1 -0
- package/lib/path.d.ts +17 -0
- package/lib/path.js +23 -0
- package/lib/path.js.map +1 -0
- package/lib/process/share/local/index.d.ts +21 -0
- package/lib/process/share/local/index.js +97 -0
- package/lib/process/share/local/index.js.map +1 -0
- package/lib/process/share/local/uuidNotInLocalStorage.d.ts +1 -0
- package/lib/process/share/local/uuidNotInLocalStorage.js +15 -0
- package/lib/process/share/local/uuidNotInLocalStorage.js.map +1 -0
- package/lib/process/share/tab/index.d.ts +0 -0
- package/lib/process/share/tab/index.js +2 -0
- package/lib/process/share/tab/index.js.map +1 -0
- package/lib/proxyWrap.d.ts +3 -0
- package/lib/proxyWrap.js +56 -0
- package/lib/proxyWrap.js.map +1 -0
- package/lib/script/build/client.d.ts +2 -0
- package/lib/script/build/client.js +16 -0
- package/lib/script/build/client.js.map +1 -0
- package/lib/script/build/ext.d.ts +2 -0
- package/lib/script/build/ext.js +20 -0
- package/lib/script/build/ext.js.map +1 -0
- package/lib/script/build/meta/client.d.ts +1 -0
- package/lib/script/build/meta/client.js +22 -0
- package/lib/script/build/meta/client.js.map +1 -0
- package/lib/script/build/sw.d.ts +2 -0
- package/lib/script/build/sw.js +16 -0
- package/lib/script/build/sw.js.map +1 -0
- package/lib/script/build/system.d.ts +1 -0
- package/lib/script/build/system.js +6 -0
- package/lib/script/build/system.js.map +1 -0
- package/lib/script/build/worker/system.d.ts +2 -0
- package/lib/script/build/worker/system.js +16 -0
- package/lib/script/build/worker/system.js.map +1 -0
- package/lib/script/build.d.ts +3 -0
- package/lib/script/build.js +13 -0
- package/lib/script/build.js.map +1 -0
- package/lib/script/complexity.d.ts +5 -0
- package/lib/script/complexity.js +105 -0
- package/lib/script/complexity.js.map +1 -0
- package/lib/script/render.d.ts +1 -0
- package/lib/script/render.js +24 -0
- package/lib/script/render.js.map +1 -0
- package/lib/script/sync.d.ts +1 -0
- package/lib/script/sync.js +98 -0
- package/lib/script/sync.js.map +1 -0
- package/lib/script/type.d.ts +1 -0
- package/lib/script/type.js +26 -0
- package/lib/script/type.js.map +1 -0
- package/lib/script/util.d.ts +2 -0
- package/lib/script/util.js +34 -0
- package/lib/script/util.js.map +1 -0
- package/lib/script/v.d.ts +1 -0
- package/lib/script/v.js +7 -0
- package/lib/script/v.js.map +1 -0
- package/lib/script/watch/client.d.ts +2 -0
- package/lib/script/watch/client.js +17 -0
- package/lib/script/watch/client.js.map +1 -0
- package/lib/script/watch/sw.d.ts +2 -0
- package/lib/script/watch/sw.js +17 -0
- package/lib/script/watch/sw.js.map +1 -0
- package/lib/script/watch/worker/system.d.ts +2 -0
- package/lib/script/watch/worker/system.js +17 -0
- package/lib/script/watch/worker/system.js.map +1 -0
- package/lib/server/env.d.ts +3 -0
- package/lib/server/env.js +7 -0
- package/lib/server/env.js.map +1 -0
- package/lib/server/index.d.ts +3 -0
- package/lib/server/index.js +68 -0
- package/lib/server/index.js.map +1 -0
- package/lib/server/port.d.ts +1 -0
- package/lib/server/port.js +5 -0
- package/lib/server/port.js.map +1 -0
- package/lib/sleep.d.ts +1 -0
- package/lib/sleep.js +10 -0
- package/lib/sleep.js.map +1 -0
- package/lib/spec/Lazy.d.ts +4 -0
- package/lib/spec/Lazy.js +550 -0
- package/lib/spec/Lazy.js.map +1 -0
- package/lib/spec/SpecNotFoundError.d.ts +3 -0
- package/lib/spec/SpecNotFoundError.js +10 -0
- package/lib/spec/SpecNotFoundError.js.map +1 -0
- package/lib/spec/actions/component.d.ts +49 -0
- package/lib/spec/actions/component.js +70 -0
- package/lib/spec/actions/component.js.map +1 -0
- package/lib/spec/actions/data.d.ts +30 -0
- package/lib/spec/actions/data.js +45 -0
- package/lib/spec/actions/data.js.map +1 -0
- package/lib/spec/actions/index.d.ts +2 -0
- package/lib/spec/actions/index.js +15 -0
- package/lib/spec/actions/index.js.map +1 -0
- package/lib/spec/actions/spec.d.ts +229 -0
- package/lib/spec/actions/spec.js +372 -0
- package/lib/spec/actions/spec.js.map +1 -0
- package/lib/spec/actions/specs.d.ts +3 -0
- package/lib/spec/actions/specs.js +7 -0
- package/lib/spec/actions/specs.js.map +1 -0
- package/lib/spec/bundleClass.d.ts +5 -0
- package/lib/spec/bundleClass.js +22 -0
- package/lib/spec/bundleClass.js.map +1 -0
- package/lib/spec/cloneBundle.d.ts +3 -0
- package/lib/spec/cloneBundle.js +10 -0
- package/lib/spec/cloneBundle.js.map +1 -0
- package/lib/spec/cloneUnit.d.ts +4 -0
- package/lib/spec/cloneUnit.js +21 -0
- package/lib/spec/cloneUnit.js.map +1 -0
- package/lib/spec/compatibility.d.ts +2 -0
- package/lib/spec/compatibility.js +38 -0
- package/lib/spec/compatibility.js.map +1 -0
- package/lib/spec/complexity.d.ts +13 -0
- package/lib/spec/complexity.js +90 -0
- package/lib/spec/complexity.js.map +1 -0
- package/lib/spec/emptyBundleSpec.d.ts +2 -0
- package/lib/spec/emptyBundleSpec.js +11 -0
- package/lib/spec/emptyBundleSpec.js.map +1 -0
- package/lib/spec/emptyIO.d.ts +2 -0
- package/lib/spec/emptyIO.js +9 -0
- package/lib/spec/emptyIO.js.map +1 -0
- package/lib/spec/emptySpec.d.ts +2 -0
- package/lib/spec/emptySpec.js +19 -0
- package/lib/spec/emptySpec.js.map +1 -0
- package/lib/spec/evaluate.d.ts +4 -0
- package/lib/spec/evaluate.js +61 -0
- package/lib/spec/evaluate.js.map +1 -0
- package/lib/spec/extract.d.ts +13 -0
- package/lib/spec/extract.js +255 -0
- package/lib/spec/extract.js.map +1 -0
- package/lib/spec/fromBundle.d.ts +5 -0
- package/lib/spec/fromBundle.js +14 -0
- package/lib/spec/fromBundle.js.map +1 -0
- package/lib/spec/fromId.d.ts +5 -0
- package/lib/spec/fromId.js +28 -0
- package/lib/spec/fromId.js.map +1 -0
- package/lib/spec/fromSpec.d.ts +13 -0
- package/lib/spec/fromSpec.js +82 -0
- package/lib/spec/fromSpec.js.map +1 -0
- package/lib/spec/index.d.ts +0 -0
- package/lib/spec/index.js +3 -0
- package/lib/spec/index.js.map +1 -0
- package/lib/spec/mergeSort.d.ts +1 -0
- package/lib/spec/mergeSort.js +31 -0
- package/lib/spec/mergeSort.js.map +1 -0
- package/lib/spec/parser.d.ts +155 -0
- package/lib/spec/parser.js +1542 -0
- package/lib/spec/parser.js.map +1 -0
- package/lib/spec/primitive.d.ts +1 -0
- package/lib/spec/primitive.js +29 -0
- package/lib/spec/primitive.js.map +1 -0
- package/lib/spec/reducers/component.d.ts +50 -0
- package/lib/spec/reducers/component.js +96 -0
- package/lib/spec/reducers/component.js.map +1 -0
- package/lib/spec/reducers/data.d.ts +17 -0
- package/lib/spec/reducers/data.js +41 -0
- package/lib/spec/reducers/data.js.map +1 -0
- package/lib/spec/reducers/index.d.ts +4 -0
- package/lib/spec/reducers/index.js +12 -0
- package/lib/spec/reducers/index.js.map +1 -0
- package/lib/spec/reducers/spec.d.ts +226 -0
- package/lib/spec/reducers/spec.js +490 -0
- package/lib/spec/reducers/spec.js.map +1 -0
- package/lib/spec/reducers/specs.d.ts +4 -0
- package/lib/spec/reducers/specs.js +27 -0
- package/lib/spec/reducers/specs.js.map +1 -0
- package/lib/spec/regex/ARITHMETIC_LITERAL.d.ts +1 -0
- package/lib/spec/regex/ARITHMETIC_LITERAL.js +5 -0
- package/lib/spec/regex/ARITHMETIC_LITERAL.js.map +1 -0
- package/lib/spec/regex/BOOLEAN_LITERAL.d.ts +1 -0
- package/lib/spec/regex/BOOLEAN_LITERAL.js +5 -0
- package/lib/spec/regex/BOOLEAN_LITERAL.js.map +1 -0
- package/lib/spec/regex/IDENTIFIER.d.ts +1 -0
- package/lib/spec/regex/IDENTIFIER.js +6 -0
- package/lib/spec/regex/IDENTIFIER.js.map +1 -0
- package/lib/spec/regex/NUMBER_LITERAL.d.ts +2 -0
- package/lib/spec/regex/NUMBER_LITERAL.js +6 -0
- package/lib/spec/regex/NUMBER_LITERAL.js.map +1 -0
- package/lib/spec/regex/STRING_LITERAL.d.ts +1 -0
- package/lib/spec/regex/STRING_LITERAL.js +5 -0
- package/lib/spec/regex/STRING_LITERAL.js.map +1 -0
- package/lib/spec/staticfy.d.ts +1 -0
- package/lib/spec/staticfy.js +14 -0
- package/lib/spec/staticfy.js.map +1 -0
- package/lib/spec/stringify.d.ts +2 -0
- package/lib/spec/stringify.js +76 -0
- package/lib/spec/stringify.js.map +1 -0
- package/lib/spec/stringifySpec.d.ts +2 -0
- package/lib/spec/stringifySpec.js +26 -0
- package/lib/spec/stringifySpec.js.map +1 -0
- package/lib/spec/type.d.ts +60 -0
- package/lib/spec/type.js +541 -0
- package/lib/spec/type.js.map +1 -0
- package/lib/spec/unitFromSpec.d.ts +5 -0
- package/lib/spec/unitFromSpec.js +52 -0
- package/lib/spec/unitFromSpec.js.map +1 -0
- package/lib/spec/util.d.ts +23 -0
- package/lib/spec/util.js +132 -0
- package/lib/spec/util.js.map +1 -0
- package/lib/start.d.ts +4 -0
- package/lib/start.js +16 -0
- package/lib/start.js.map +1 -0
- package/lib/system/_classes.d.ts +535 -0
- package/lib/system/_classes.js +537 -0
- package/lib/system/_classes.js.map +1 -0
- package/lib/system/_components.d.ts +129 -0
- package/lib/system/_components.js +131 -0
- package/lib/system/_components.js.map +1 -0
- package/lib/system/_ids.d.ts +718 -0
- package/lib/system/_ids.js +736 -0
- package/lib/system/_ids.js.map +1 -0
- package/lib/system/_specs.d.ts +2 -0
- package/lib/system/_specs.js +4 -0
- package/lib/system/_specs.js.map +1 -0
- package/lib/system/core/array/DropFirst/f.d.ts +6 -0
- package/lib/system/core/array/DropFirst/f.js +11 -0
- package/lib/system/core/array/DropFirst/f.js.map +1 -0
- package/lib/system/core/array/DropLast/f.d.ts +6 -0
- package/lib/system/core/array/DropLast/f.js +15 -0
- package/lib/system/core/array/DropLast/f.js.map +1 -0
- package/lib/system/core/array/RemoveIndex/f.d.ts +7 -0
- package/lib/system/core/array/RemoveIndex/f.js +13 -0
- package/lib/system/core/array/RemoveIndex/f.js.map +1 -0
- package/lib/system/core/array/SplitAt/f.d.ts +7 -0
- package/lib/system/core/array/SplitAt/f.js +18 -0
- package/lib/system/core/array/SplitAt/f.js.map +1 -0
- package/lib/system/core/array/Swap/f.d.ts +1 -0
- package/lib/system/core/array/Swap/f.js +11 -0
- package/lib/system/core/array/Swap/f.js.map +1 -0
- package/lib/system/core/common/Lever/Class.d.ts +18 -0
- package/lib/system/core/common/Lever/Class.js +40 -0
- package/lib/system/core/common/Lever/Class.js.map +1 -0
- package/lib/system/core/common/NArrayBuilder/Class.d.ts +19 -0
- package/lib/system/core/common/NArrayBuilder/Class.js +57 -0
- package/lib/system/core/common/NArrayBuilder/Class.js.map +1 -0
- package/lib/system/core/loop/Range/Class.d.ts +16 -0
- package/lib/system/core/loop/Range/Class.js +39 -0
- package/lib/system/core/loop/Range/Class.js.map +1 -0
- package/lib/system/core/object/AssocPath/f.d.ts +2 -0
- package/lib/system/core/object/AssocPath/f.js +19 -0
- package/lib/system/core/object/AssocPath/f.js.map +1 -0
- package/lib/system/core/object/DeepGet/f.d.ts +1 -0
- package/lib/system/core/object/DeepGet/f.js +12 -0
- package/lib/system/core/object/DeepGet/f.js.map +1 -0
- package/lib/system/core/object/DissocAll/f.d.ts +2 -0
- package/lib/system/core/object/DissocAll/f.js +13 -0
- package/lib/system/core/object/DissocAll/f.js.map +1 -0
- package/lib/system/core/object/DissocPath/f.d.ts +2 -0
- package/lib/system/core/object/DissocPath/f.js +25 -0
- package/lib/system/core/object/DissocPath/f.js.map +1 -0
- package/lib/system/core/object/ForEachKeyValue/f.d.ts +2 -0
- package/lib/system/core/object/ForEachKeyValue/f.js +9 -0
- package/lib/system/core/object/ForEachKeyValue/f.js.map +1 -0
- package/lib/system/core/object/KeyCount/f.d.ts +7 -0
- package/lib/system/core/object/KeyCount/f.js +16 -0
- package/lib/system/core/object/KeyCount/f.js.map +1 -0
- package/lib/system/core/relation/Clamp/f.d.ts +8 -0
- package/lib/system/core/relation/Clamp/f.js +13 -0
- package/lib/system/core/relation/Clamp/f.js.map +1 -0
- package/lib/system/core/string/DropLast/f.d.ts +6 -0
- package/lib/system/core/string/DropLast/f.js +11 -0
- package/lib/system/core/string/DropLast/f.js.map +1 -0
- package/lib/system/f/JSON/Parse/index.d.ts +13 -0
- package/lib/system/f/JSON/Parse/index.js +23 -0
- package/lib/system/f/JSON/Parse/index.js.map +1 -0
- package/lib/system/f/JSON/Stringify/index.d.ts +12 -0
- package/lib/system/f/JSON/Stringify/index.js +17 -0
- package/lib/system/f/JSON/Stringify/index.js.map +1 -0
- package/lib/system/f/arithmetic/Add/index.d.ts +14 -0
- package/lib/system/f/arithmetic/Add/index.js +17 -0
- package/lib/system/f/arithmetic/Add/index.js.map +1 -0
- package/lib/system/f/arithmetic/Divide/index.d.ts +14 -0
- package/lib/system/f/arithmetic/Divide/index.js +22 -0
- package/lib/system/f/arithmetic/Divide/index.js.map +1 -0
- package/lib/system/f/arithmetic/Multiply/index.d.ts +13 -0
- package/lib/system/f/arithmetic/Multiply/index.js +17 -0
- package/lib/system/f/arithmetic/Multiply/index.js.map +1 -0
- package/lib/system/f/arithmetic/Remainder/index.d.ts +13 -0
- package/lib/system/f/arithmetic/Remainder/index.js +22 -0
- package/lib/system/f/arithmetic/Remainder/index.js.map +1 -0
- package/lib/system/f/arithmetic/Subtract/f.d.ts +6 -0
- package/lib/system/f/arithmetic/Subtract/f.js +9 -0
- package/lib/system/f/arithmetic/Subtract/f.js.map +1 -0
- package/lib/system/f/arithmetic/Subtract/index.d.ts +14 -0
- package/lib/system/f/arithmetic/Subtract/index.js +18 -0
- package/lib/system/f/arithmetic/Subtract/index.js.map +1 -0
- package/lib/system/f/array/Append/index.d.ts +14 -0
- package/lib/system/f/array/Append/index.js +17 -0
- package/lib/system/f/array/Append/index.js.map +1 -0
- package/lib/system/f/array/At/index.d.ts +14 -0
- package/lib/system/f/array/At/index.js +22 -0
- package/lib/system/f/array/At/index.js.map +1 -0
- package/lib/system/f/array/Behead/index.d.ts +14 -0
- package/lib/system/f/array/Behead/index.js +23 -0
- package/lib/system/f/array/Behead/index.js.map +1 -0
- package/lib/system/f/array/Concat/index.d.ts +13 -0
- package/lib/system/f/array/Concat/index.js +17 -0
- package/lib/system/f/array/Concat/index.js.map +1 -0
- package/lib/system/f/array/Fill/index.d.ts +16 -0
- package/lib/system/f/array/Fill/index.js +17 -0
- package/lib/system/f/array/Fill/index.js.map +1 -0
- package/lib/system/f/array/IndexOf/f.d.ts +6 -0
- package/lib/system/f/array/IndexOf/f.js +7 -0
- package/lib/system/f/array/IndexOf/f.js.map +1 -0
- package/lib/system/f/array/IndexOf/index.d.ts +14 -0
- package/lib/system/f/array/IndexOf/index.js +19 -0
- package/lib/system/f/array/IndexOf/index.js.map +1 -0
- package/lib/system/f/array/Init/index.d.ts +14 -0
- package/lib/system/f/array/Init/index.js +17 -0
- package/lib/system/f/array/Init/index.js.map +1 -0
- package/lib/system/f/array/Insert/f.d.ts +1 -0
- package/lib/system/f/array/Insert/f.js +10 -0
- package/lib/system/f/array/Insert/f.js.map +1 -0
- package/lib/system/f/array/Insert/index.d.ts +14 -0
- package/lib/system/f/array/Insert/index.js +19 -0
- package/lib/system/f/array/Insert/index.js.map +1 -0
- package/lib/system/f/array/Join/index.d.ts +13 -0
- package/lib/system/f/array/Join/index.js +18 -0
- package/lib/system/f/array/Join/index.js.map +1 -0
- package/lib/system/f/array/Length/f.d.ts +6 -0
- package/lib/system/f/array/Length/f.js +12 -0
- package/lib/system/f/array/Length/f.js.map +1 -0
- package/lib/system/f/array/Length/index.d.ts +13 -0
- package/lib/system/f/array/Length/index.js +18 -0
- package/lib/system/f/array/Length/index.js.map +1 -0
- package/lib/system/f/array/Pop/index.d.ts +13 -0
- package/lib/system/f/array/Pop/index.js +24 -0
- package/lib/system/f/array/Pop/index.js.map +1 -0
- package/lib/system/f/array/Prepend/index.d.ts +13 -0
- package/lib/system/f/array/Prepend/index.js +17 -0
- package/lib/system/f/array/Prepend/index.js.map +1 -0
- package/lib/system/f/array/Put/index.d.ts +15 -0
- package/lib/system/f/array/Put/index.js +24 -0
- package/lib/system/f/array/Put/index.js.map +1 -0
- package/lib/system/f/array/Remove/f.d.ts +8 -0
- package/lib/system/f/array/Remove/f.js +9 -0
- package/lib/system/f/array/Remove/f.js.map +1 -0
- package/lib/system/f/array/Remove/index.d.ts +15 -0
- package/lib/system/f/array/Remove/index.js +18 -0
- package/lib/system/f/array/Remove/index.js.map +1 -0
- package/lib/system/f/array/Slice/f.d.ts +7 -0
- package/lib/system/f/array/Slice/f.js +7 -0
- package/lib/system/f/array/Slice/f.js.map +1 -0
- package/lib/system/f/array/Slice/index.d.ts +15 -0
- package/lib/system/f/array/Slice/index.js +18 -0
- package/lib/system/f/array/Slice/index.js.map +1 -0
- package/lib/system/f/bitwise/And/index.d.ts +13 -0
- package/lib/system/f/bitwise/And/index.js +17 -0
- package/lib/system/f/bitwise/And/index.js.map +1 -0
- package/lib/system/f/bitwise/Not/index.d.ts +12 -0
- package/lib/system/f/bitwise/Not/index.js +17 -0
- package/lib/system/f/bitwise/Not/index.js.map +1 -0
- package/lib/system/f/bitwise/Or/index.d.ts +13 -0
- package/lib/system/f/bitwise/Or/index.js +17 -0
- package/lib/system/f/bitwise/Or/index.js.map +1 -0
- package/lib/system/f/bitwise/XOr/index.d.ts +13 -0
- package/lib/system/f/bitwise/XOr/index.js +17 -0
- package/lib/system/f/bitwise/XOr/index.js.map +1 -0
- package/lib/system/f/comparisson/Equals/f.d.ts +1 -0
- package/lib/system/f/comparisson/Equals/f.js +38 -0
- package/lib/system/f/comparisson/Equals/f.js.map +1 -0
- package/lib/system/f/comparisson/Equals/index.d.ts +13 -0
- package/lib/system/f/comparisson/Equals/index.js +20 -0
- package/lib/system/f/comparisson/Equals/index.js.map +1 -0
- package/lib/system/f/comparisson/GreaterThan/index.d.ts +13 -0
- package/lib/system/f/comparisson/GreaterThan/index.js +17 -0
- package/lib/system/f/comparisson/GreaterThan/index.js.map +1 -0
- package/lib/system/f/comparisson/GreaterThanEqual/index.d.ts +13 -0
- package/lib/system/f/comparisson/GreaterThanEqual/index.js +17 -0
- package/lib/system/f/comparisson/GreaterThanEqual/index.js.map +1 -0
- package/lib/system/f/comparisson/LessThan/index.d.ts +13 -0
- package/lib/system/f/comparisson/LessThan/index.js +17 -0
- package/lib/system/f/comparisson/LessThan/index.js.map +1 -0
- package/lib/system/f/comparisson/LessThanEqual/index.d.ts +13 -0
- package/lib/system/f/comparisson/LessThanEqual/index.js +17 -0
- package/lib/system/f/comparisson/LessThanEqual/index.js.map +1 -0
- package/lib/system/f/comparisson/NotEqual/index.d.ts +13 -0
- package/lib/system/f/comparisson/NotEqual/index.js +20 -0
- package/lib/system/f/comparisson/NotEqual/index.js.map +1 -0
- package/lib/system/f/control/Constant/index.d.ts +16 -0
- package/lib/system/f/control/Constant/index.js +36 -0
- package/lib/system/f/control/Constant/index.js.map +1 -0
- package/lib/system/f/control/Default/index.d.ts +19 -0
- package/lib/system/f/control/Default/index.js +81 -0
- package/lib/system/f/control/Default/index.js.map +1 -0
- package/lib/system/f/control/Identity/f.d.ts +5 -0
- package/lib/system/f/control/Identity/f.js +7 -0
- package/lib/system/f/control/Identity/f.js.map +1 -0
- package/lib/system/f/control/Identity/index.d.ts +12 -0
- package/lib/system/f/control/Identity/index.js +17 -0
- package/lib/system/f/control/Identity/index.js.map +1 -0
- package/lib/system/f/control/If/index.d.ts +13 -0
- package/lib/system/f/control/If/index.js +23 -0
- package/lib/system/f/control/If/index.js.map +1 -0
- package/lib/system/f/control/Iterate/index.d.ts +23 -0
- package/lib/system/f/control/Iterate/index.js +88 -0
- package/lib/system/f/control/Iterate/index.js.map +1 -0
- package/lib/system/f/control/Loop/index.d.ts +33 -0
- package/lib/system/f/control/Loop/index.js +180 -0
- package/lib/system/f/control/Loop/index.js.map +1 -0
- package/lib/system/f/control/Memory/index.d.ts +16 -0
- package/lib/system/f/control/Memory/index.js +34 -0
- package/lib/system/f/control/Memory/index.js.map +1 -0
- package/lib/system/f/control/Plan/index.d.ts +25 -0
- package/lib/system/f/control/Plan/index.js +93 -0
- package/lib/system/f/control/Plan/index.js.map +1 -0
- package/lib/system/f/control/Throw/index.d.ts +10 -0
- package/lib/system/f/control/Throw/index.js +16 -0
- package/lib/system/f/control/Throw/index.js.map +1 -0
- package/lib/system/f/control/Void/index.d.ts +12 -0
- package/lib/system/f/control/Void/index.js +16 -0
- package/lib/system/f/control/Void/index.js.map +1 -0
- package/lib/system/f/control/Wait/index.d.ts +13 -0
- package/lib/system/f/control/Wait/index.js +17 -0
- package/lib/system/f/control/Wait/index.js.map +1 -0
- package/lib/system/f/data/Parse/f.d.ts +0 -0
- package/lib/system/f/data/Parse/f.js +3 -0
- package/lib/system/f/data/Parse/f.js.map +1 -0
- package/lib/system/f/data/Parse/index.d.ts +14 -0
- package/lib/system/f/data/Parse/index.js +21 -0
- package/lib/system/f/data/Parse/index.js.map +1 -0
- package/lib/system/f/data/Stringify/f.d.ts +0 -0
- package/lib/system/f/data/Stringify/f.js +3 -0
- package/lib/system/f/data/Stringify/f.js.map +1 -0
- package/lib/system/f/data/Stringify/index.d.ts +13 -0
- package/lib/system/f/data/Stringify/index.js +20 -0
- package/lib/system/f/data/Stringify/index.js.map +1 -0
- package/lib/system/f/data/TypeOf/index.d.ts +13 -0
- package/lib/system/f/data/TypeOf/index.js +47 -0
- package/lib/system/f/data/TypeOf/index.js.map +1 -0
- package/lib/system/f/date/Now/index.d.ts +12 -0
- package/lib/system/f/date/Now/index.js +17 -0
- package/lib/system/f/date/Now/index.js.map +1 -0
- package/lib/system/f/graph/AddUnit/index.d.ts +20 -0
- package/lib/system/f/graph/AddUnit/index.js +59 -0
- package/lib/system/f/graph/AddUnit/index.js.map +1 -0
- package/lib/system/f/graph/RemoveUnit/index.d.ts +16 -0
- package/lib/system/f/graph/RemoveUnit/index.js +33 -0
- package/lib/system/f/graph/RemoveUnit/index.js.map +1 -0
- package/lib/system/f/graph/SetUnitInputData/index.d.ts +18 -0
- package/lib/system/f/graph/SetUnitInputData/index.js +29 -0
- package/lib/system/f/graph/SetUnitInputData/index.js.map +1 -0
- package/lib/system/f/id/UUID/index.d.ts +12 -0
- package/lib/system/f/id/UUID/index.js +18 -0
- package/lib/system/f/id/UUID/index.js.map +1 -0
- package/lib/system/f/logic/And/index.d.ts +13 -0
- package/lib/system/f/logic/And/index.js +17 -0
- package/lib/system/f/logic/And/index.js.map +1 -0
- package/lib/system/f/logic/Not/index.d.ts +12 -0
- package/lib/system/f/logic/Not/index.js +17 -0
- package/lib/system/f/logic/Not/index.js.map +1 -0
- package/lib/system/f/logic/Or/index.d.ts +13 -0
- package/lib/system/f/logic/Or/index.js +17 -0
- package/lib/system/f/logic/Or/index.js.map +1 -0
- package/lib/system/f/math/Abs/index.d.ts +12 -0
- package/lib/system/f/math/Abs/index.js +17 -0
- package/lib/system/f/math/Abs/index.js.map +1 -0
- package/lib/system/f/math/Cos/index.d.ts +12 -0
- package/lib/system/f/math/Cos/index.js +17 -0
- package/lib/system/f/math/Cos/index.js.map +1 -0
- package/lib/system/f/math/Floor/index.d.ts +12 -0
- package/lib/system/f/math/Floor/index.js +17 -0
- package/lib/system/f/math/Floor/index.js.map +1 -0
- package/lib/system/f/math/Max/index.d.ts +13 -0
- package/lib/system/f/math/Max/index.js +17 -0
- package/lib/system/f/math/Max/index.js.map +1 -0
- package/lib/system/f/math/Min/index.d.ts +13 -0
- package/lib/system/f/math/Min/index.js +17 -0
- package/lib/system/f/math/Min/index.js.map +1 -0
- package/lib/system/f/math/PI/index.d.ts +12 -0
- package/lib/system/f/math/PI/index.js +17 -0
- package/lib/system/f/math/PI/index.js.map +1 -0
- package/lib/system/f/math/Pow/index.d.ts +13 -0
- package/lib/system/f/math/Pow/index.js +17 -0
- package/lib/system/f/math/Pow/index.js.map +1 -0
- package/lib/system/f/math/Random/index.d.ts +12 -0
- package/lib/system/f/math/Random/index.js +17 -0
- package/lib/system/f/math/Random/index.js.map +1 -0
- package/lib/system/f/math/SQRT/index.d.ts +12 -0
- package/lib/system/f/math/SQRT/index.js +22 -0
- package/lib/system/f/math/SQRT/index.js.map +1 -0
- package/lib/system/f/math/Sign/index.d.ts +12 -0
- package/lib/system/f/math/Sign/index.js +17 -0
- package/lib/system/f/math/Sign/index.js.map +1 -0
- package/lib/system/f/math/Sin/index.d.ts +12 -0
- package/lib/system/f/math/Sin/index.js +17 -0
- package/lib/system/f/math/Sin/index.js.map +1 -0
- package/lib/system/f/meta/Call/index.d.ts +18 -0
- package/lib/system/f/meta/Call/index.js +26 -0
- package/lib/system/f/meta/Call/index.js.map +1 -0
- package/lib/system/f/meta/Catch/index.d.ts +17 -0
- package/lib/system/f/meta/Catch/index.js +54 -0
- package/lib/system/f/meta/Catch/index.js.map +1 -0
- package/lib/system/f/meta/Class/index.d.ts +15 -0
- package/lib/system/f/meta/Class/index.js +25 -0
- package/lib/system/f/meta/Class/index.js.map +1 -0
- package/lib/system/f/meta/ClassToId/index.d.ts +14 -0
- package/lib/system/f/meta/ClassToId/index.js +19 -0
- package/lib/system/f/meta/ClassToId/index.js.map +1 -0
- package/lib/system/f/meta/Exec/index.d.ts +16 -0
- package/lib/system/f/meta/Exec/index.js +35 -0
- package/lib/system/f/meta/Exec/index.js.map +1 -0
- package/lib/system/f/meta/GraphBundle/index.d.ts +18 -0
- package/lib/system/f/meta/GraphBundle/index.js +27 -0
- package/lib/system/f/meta/GraphBundle/index.js.map +1 -0
- package/lib/system/f/meta/GraphSpec/index.d.ts +15 -0
- package/lib/system/f/meta/GraphSpec/index.js +26 -0
- package/lib/system/f/meta/GraphSpec/index.js.map +1 -0
- package/lib/system/f/meta/IdToClass/index.d.ts +14 -0
- package/lib/system/f/meta/IdToClass/index.js +19 -0
- package/lib/system/f/meta/IdToClass/index.js.map +1 -0
- package/lib/system/f/meta/IdToSpec/index.d.ts +14 -0
- package/lib/system/f/meta/IdToSpec/index.js +29 -0
- package/lib/system/f/meta/IdToSpec/index.js.map +1 -0
- package/lib/system/f/meta/New/index.d.ts +14 -0
- package/lib/system/f/meta/New/index.js +23 -0
- package/lib/system/f/meta/New/index.js.map +1 -0
- package/lib/system/f/meta/Ref/index.d.ts +17 -0
- package/lib/system/f/meta/Ref/index.js +75 -0
- package/lib/system/f/meta/Ref/index.js.map +1 -0
- package/lib/system/f/meta/Spark/index.d.ts +15 -0
- package/lib/system/f/meta/Spark/index.js +22 -0
- package/lib/system/f/meta/Spark/index.js.map +1 -0
- package/lib/system/f/meta/Specs/index.d.ts +14 -0
- package/lib/system/f/meta/Specs/index.js +18 -0
- package/lib/system/f/meta/Specs/index.js.map +1 -0
- package/lib/system/f/meta/This/index.d.ts +14 -0
- package/lib/system/f/meta/This/index.js +37 -0
- package/lib/system/f/meta/This/index.js.map +1 -0
- package/lib/system/f/meta/Unit/index.d.ts +7 -0
- package/lib/system/f/meta/Unit/index.js +11 -0
- package/lib/system/f/meta/Unit/index.js.map +1 -0
- package/lib/system/f/number/NumberToString/index.d.ts +13 -0
- package/lib/system/f/number/NumberToString/index.js +19 -0
- package/lib/system/f/number/NumberToString/index.js.map +1 -0
- package/lib/system/f/number/StringToFloat/index.d.ts +12 -0
- package/lib/system/f/number/StringToFloat/index.js +25 -0
- package/lib/system/f/number/StringToFloat/index.js.map +1 -0
- package/lib/system/f/number/StringToInt/index.d.ts +13 -0
- package/lib/system/f/number/StringToInt/index.js +25 -0
- package/lib/system/f/number/StringToInt/index.js.map +1 -0
- package/lib/system/f/object/DeepMerge/f.d.ts +1 -0
- package/lib/system/f/object/DeepMerge/f.js +24 -0
- package/lib/system/f/object/DeepMerge/f.js.map +1 -0
- package/lib/system/f/object/DeepMerge/index.d.ts +14 -0
- package/lib/system/f/object/DeepMerge/index.js +18 -0
- package/lib/system/f/object/DeepMerge/index.js.map +1 -0
- package/lib/system/f/object/DeepMerge/isObjNotNull.d.ts +1 -0
- package/lib/system/f/object/DeepMerge/isObjNotNull.js +8 -0
- package/lib/system/f/object/DeepMerge/isObjNotNull.js.map +1 -0
- package/lib/system/f/object/Dissoc/f.d.ts +2 -0
- package/lib/system/f/object/Dissoc/f.js +9 -0
- package/lib/system/f/object/Dissoc/f.js.map +1 -0
- package/lib/system/f/object/Dissoc/index.d.ts +15 -0
- package/lib/system/f/object/Dissoc/index.js +18 -0
- package/lib/system/f/object/Dissoc/index.js.map +1 -0
- package/lib/system/f/object/Get/index.d.ts +14 -0
- package/lib/system/f/object/Get/index.js +22 -0
- package/lib/system/f/object/Get/index.js.map +1 -0
- package/lib/system/f/object/HasKey/index.d.ts +15 -0
- package/lib/system/f/object/HasKey/index.js +17 -0
- package/lib/system/f/object/HasKey/index.js.map +1 -0
- package/lib/system/f/object/Keys/f.d.ts +6 -0
- package/lib/system/f/object/Keys/f.js +12 -0
- package/lib/system/f/object/Keys/f.js.map +1 -0
- package/lib/system/f/object/Keys/index.d.ts +13 -0
- package/lib/system/f/object/Keys/index.js +18 -0
- package/lib/system/f/object/Keys/index.js.map +1 -0
- package/lib/system/f/object/Merge/f.d.ts +2 -0
- package/lib/system/f/object/Merge/f.js +7 -0
- package/lib/system/f/object/Merge/f.js.map +1 -0
- package/lib/system/f/object/Merge/index.d.ts +15 -0
- package/lib/system/f/object/Merge/index.js +18 -0
- package/lib/system/f/object/Merge/index.js.map +1 -0
- package/lib/system/f/object/Set/f.d.ts +2 -0
- package/lib/system/f/object/Set/f.js +7 -0
- package/lib/system/f/object/Set/f.js.map +1 -0
- package/lib/system/f/object/Set/index.d.ts +15 -0
- package/lib/system/f/object/Set/index.js +18 -0
- package/lib/system/f/object/Set/index.js.map +1 -0
- package/lib/system/f/object/Values/index.d.ts +13 -0
- package/lib/system/f/object/Values/index.js +17 -0
- package/lib/system/f/object/Values/index.js.map +1 -0
- package/lib/system/f/querystring/Parse/index.d.ts +13 -0
- package/lib/system/f/querystring/Parse/index.js +26 -0
- package/lib/system/f/querystring/Parse/index.js.map +1 -0
- package/lib/system/f/querystring/Stringify/index.d.ts +13 -0
- package/lib/system/f/querystring/Stringify/index.js +26 -0
- package/lib/system/f/querystring/Stringify/index.js.map +1 -0
- package/lib/system/f/string/Behead/index.d.ts +14 -0
- package/lib/system/f/string/Behead/index.js +19 -0
- package/lib/system/f/string/Behead/index.js.map +1 -0
- package/lib/system/f/string/Concat/index.d.ts +13 -0
- package/lib/system/f/string/Concat/index.js +17 -0
- package/lib/system/f/string/Concat/index.js.map +1 -0
- package/lib/system/f/string/FromCharCode/index.d.ts +13 -0
- package/lib/system/f/string/FromCharCode/index.js +18 -0
- package/lib/system/f/string/FromCharCode/index.js.map +1 -0
- package/lib/system/f/string/Length/index.d.ts +12 -0
- package/lib/system/f/string/Length/index.js +17 -0
- package/lib/system/f/string/Length/index.js.map +1 -0
- package/lib/system/f/string/Match/index.d.ts +13 -0
- package/lib/system/f/string/Match/index.js +17 -0
- package/lib/system/f/string/Match/index.js.map +1 -0
- package/lib/system/f/string/Replace/index.d.ts +14 -0
- package/lib/system/f/string/Replace/index.js +17 -0
- package/lib/system/f/string/Replace/index.js.map +1 -0
- package/lib/system/f/string/Slice/f.d.ts +7 -0
- package/lib/system/f/string/Slice/f.js +7 -0
- package/lib/system/f/string/Slice/f.js.map +1 -0
- package/lib/system/f/string/Slice/index.d.ts +14 -0
- package/lib/system/f/string/Slice/index.js +18 -0
- package/lib/system/f/string/Slice/index.js.map +1 -0
- package/lib/system/f/string/Split/f.d.ts +1 -0
- package/lib/system/f/string/Split/f.js +7 -0
- package/lib/system/f/string/Split/f.js.map +1 -0
- package/lib/system/f/string/Split/index.d.ts +14 -0
- package/lib/system/f/string/Split/index.js +18 -0
- package/lib/system/f/string/Split/index.js.map +1 -0
- package/lib/system/f/string/Substr/index.d.ts +14 -0
- package/lib/system/f/string/Substr/index.js +17 -0
- package/lib/system/f/string/Substr/index.js.map +1 -0
- package/lib/system/f/string/Test/index.d.ts +13 -0
- package/lib/system/f/string/Test/index.js +17 -0
- package/lib/system/f/string/Test/index.js.map +1 -0
- package/lib/system/f/string/ToLowerCase/index.d.ts +12 -0
- package/lib/system/f/string/ToLowerCase/index.js +17 -0
- package/lib/system/f/string/ToLowerCase/index.js.map +1 -0
- package/lib/system/f/string/ToUpperCase/index.d.ts +12 -0
- package/lib/system/f/string/ToUpperCase/index.js +17 -0
- package/lib/system/f/string/ToUpperCase/index.js.map +1 -0
- package/lib/system/f/time/Timer/index.d.ts +15 -0
- package/lib/system/f/time/Timer/index.js +30 -0
- package/lib/system/f/time/Timer/index.js.map +1 -0
- package/lib/system/f/unit/SetInput/index.d.ts +16 -0
- package/lib/system/f/unit/SetInput/index.js +32 -0
- package/lib/system/f/unit/SetInput/index.js.map +1 -0
- package/lib/system/f/unit/UnsetPin/index.d.ts +18 -0
- package/lib/system/f/unit/UnsetPin/index.js +31 -0
- package/lib/system/f/unit/UnsetPin/index.js.map +1 -0
- package/lib/system/globalComponent.d.ts +7 -0
- package/lib/system/globalComponent.js +29 -0
- package/lib/system/globalComponent.js.map +1 -0
- package/lib/system/platform/Boot/index.d.ts +18 -0
- package/lib/system/platform/Boot/index.js +50 -0
- package/lib/system/platform/Boot/index.js.map +1 -0
- package/lib/system/platform/Client/Component.d.ts +16 -0
- package/lib/system/platform/Client/Component.js +27 -0
- package/lib/system/platform/Client/Component.js.map +1 -0
- package/lib/system/platform/Client/index.d.ts +20 -0
- package/lib/system/platform/Client/index.js +81 -0
- package/lib/system/platform/Client/index.js.map +1 -0
- package/lib/system/platform/Context/index.d.ts +36 -0
- package/lib/system/platform/Context/index.js +156 -0
- package/lib/system/platform/Context/index.js.map +1 -0
- package/lib/system/platform/Props.d.ts +7 -0
- package/lib/system/platform/Props.js +3 -0
- package/lib/system/platform/Props.js.map +1 -0
- package/lib/system/platform/State/index.d.ts +17 -0
- package/lib/system/platform/State/index.js +35 -0
- package/lib/system/platform/State/index.js.map +1 -0
- package/lib/system/platform/System/index.d.ts +16 -0
- package/lib/system/platform/System/index.js +27 -0
- package/lib/system/platform/System/index.js.map +1 -0
- package/lib/system/platform/api/Send/index.d.ts +15 -0
- package/lib/system/platform/api/Send/index.js +41 -0
- package/lib/system/platform/api/Send/index.js.map +1 -0
- package/lib/system/platform/api/Transfer/index.d.ts +16 -0
- package/lib/system/platform/api/Transfer/index.js +44 -0
- package/lib/system/platform/api/Transfer/index.js.map +1 -0
- package/lib/system/platform/api/URI/CreateBlobURL/index.d.ts +14 -0
- package/lib/system/platform/api/URI/CreateBlobURL/index.js +44 -0
- package/lib/system/platform/api/URI/CreateBlobURL/index.js.map +1 -0
- package/lib/system/platform/api/URI/EncodeURI/index.d.ts +13 -0
- package/lib/system/platform/api/URI/EncodeURI/index.js +26 -0
- package/lib/system/platform/api/URI/EncodeURI/index.js.map +1 -0
- package/lib/system/platform/api/base64/Decode/index.d.ts +13 -0
- package/lib/system/platform/api/base64/Decode/index.js +25 -0
- package/lib/system/platform/api/base64/Decode/index.js.map +1 -0
- package/lib/system/platform/api/base64/Encode/index.d.ts +13 -0
- package/lib/system/platform/api/base64/Encode/index.js +27 -0
- package/lib/system/platform/api/base64/Encode/index.js.map +1 -0
- package/lib/system/platform/api/bluetooth/BluetoothCharacteristic/index.d.ts +29 -0
- package/lib/system/platform/api/bluetooth/BluetoothCharacteristic/index.js +97 -0
- package/lib/system/platform/api/bluetooth/BluetoothCharacteristic/index.js.map +1 -0
- package/lib/system/platform/api/bluetooth/BluetoothDevice/index.d.ts +15 -0
- package/lib/system/platform/api/bluetooth/BluetoothDevice/index.js +49 -0
- package/lib/system/platform/api/bluetooth/BluetoothDevice/index.js.map +1 -0
- package/lib/system/platform/api/bluetooth/BluetoothServer/index.d.ts +18 -0
- package/lib/system/platform/api/bluetooth/BluetoothServer/index.js +49 -0
- package/lib/system/platform/api/bluetooth/BluetoothServer/index.js.map +1 -0
- package/lib/system/platform/api/bluetooth/BluetoothService/index.d.ts +17 -0
- package/lib/system/platform/api/bluetooth/BluetoothService/index.js +47 -0
- package/lib/system/platform/api/bluetooth/BluetoothService/index.js.map +1 -0
- package/lib/system/platform/api/canvas/AddArc/index.d.ts +21 -0
- package/lib/system/platform/api/canvas/AddArc/index.js +19 -0
- package/lib/system/platform/api/canvas/AddArc/index.js.map +1 -0
- package/lib/system/platform/api/canvas/AddLineTo/index.d.ts +15 -0
- package/lib/system/platform/api/canvas/AddLineTo/index.js +19 -0
- package/lib/system/platform/api/canvas/AddLineTo/index.js.map +1 -0
- package/lib/system/platform/api/canvas/AddPath/index.d.ts +14 -0
- package/lib/system/platform/api/canvas/AddPath/index.js +19 -0
- package/lib/system/platform/api/canvas/AddPath/index.js.map +1 -0
- package/lib/system/platform/api/canvas/AddRect/index.d.ts +19 -0
- package/lib/system/platform/api/canvas/AddRect/index.js +19 -0
- package/lib/system/platform/api/canvas/AddRect/index.js.map +1 -0
- package/lib/system/platform/api/canvas/BeginPath/index.d.ts +13 -0
- package/lib/system/platform/api/canvas/BeginPath/index.js +19 -0
- package/lib/system/platform/api/canvas/BeginPath/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Clear/index.d.ts +15 -0
- package/lib/system/platform/api/canvas/Clear/index.js +24 -0
- package/lib/system/platform/api/canvas/Clear/index.js.map +1 -0
- package/lib/system/platform/api/canvas/ClosePath/index.d.ts +13 -0
- package/lib/system/platform/api/canvas/ClosePath/index.js +19 -0
- package/lib/system/platform/api/canvas/ClosePath/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Draw/index.d.ts +15 -0
- package/lib/system/platform/api/canvas/Draw/index.js +24 -0
- package/lib/system/platform/api/canvas/Draw/index.js.map +1 -0
- package/lib/system/platform/api/canvas/DrawImage/index.d.ts +16 -0
- package/lib/system/platform/api/canvas/DrawImage/index.js +39 -0
- package/lib/system/platform/api/canvas/DrawImage/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Fill/index.d.ts +13 -0
- package/lib/system/platform/api/canvas/Fill/index.js +19 -0
- package/lib/system/platform/api/canvas/Fill/index.js.map +1 -0
- package/lib/system/platform/api/canvas/FillStyle/index.d.ts +14 -0
- package/lib/system/platform/api/canvas/FillStyle/index.js +19 -0
- package/lib/system/platform/api/canvas/FillStyle/index.js.map +1 -0
- package/lib/system/platform/api/canvas/MoveTo/index.d.ts +15 -0
- package/lib/system/platform/api/canvas/MoveTo/index.js +19 -0
- package/lib/system/platform/api/canvas/MoveTo/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Rotate/index.d.ts +14 -0
- package/lib/system/platform/api/canvas/Rotate/index.js +19 -0
- package/lib/system/platform/api/canvas/Rotate/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Stroke/index.d.ts +13 -0
- package/lib/system/platform/api/canvas/Stroke/index.js +19 -0
- package/lib/system/platform/api/canvas/Stroke/index.js.map +1 -0
- package/lib/system/platform/api/canvas/StrokeStyle/index.d.ts +14 -0
- package/lib/system/platform/api/canvas/StrokeStyle/index.js +19 -0
- package/lib/system/platform/api/canvas/StrokeStyle/index.js.map +1 -0
- package/lib/system/platform/api/canvas/ToBlob/index.d.ts +17 -0
- package/lib/system/platform/api/canvas/ToBlob/index.js +57 -0
- package/lib/system/platform/api/canvas/ToBlob/index.js.map +1 -0
- package/lib/system/platform/api/canvas/Translate/index.d.ts +15 -0
- package/lib/system/platform/api/canvas/Translate/index.js +19 -0
- package/lib/system/platform/api/canvas/Translate/index.js.map +1 -0
- package/lib/system/platform/api/clipboard/TextToClipboard/index.d.ts +12 -0
- package/lib/system/platform/api/clipboard/TextToClipboard/index.js +36 -0
- package/lib/system/platform/api/clipboard/TextToClipboard/index.js.map +1 -0
- package/lib/system/platform/api/component/AppendChild/index.d.ts +16 -0
- package/lib/system/platform/api/component/AppendChild/index.js +24 -0
- package/lib/system/platform/api/component/AppendChild/index.js.map +1 -0
- package/lib/system/platform/api/component/HasChild/index.d.ts +15 -0
- package/lib/system/platform/api/component/HasChild/index.js +24 -0
- package/lib/system/platform/api/component/HasChild/index.js.map +1 -0
- package/lib/system/platform/api/component/InsertChildAt/index.d.ts +16 -0
- package/lib/system/platform/api/component/InsertChildAt/index.js +24 -0
- package/lib/system/platform/api/component/InsertChildAt/index.js.map +1 -0
- package/lib/system/platform/api/component/RemoveChild/index.d.ts +17 -0
- package/lib/system/platform/api/component/RemoveChild/index.js +34 -0
- package/lib/system/platform/api/component/RemoveChild/index.js.map +1 -0
- package/lib/system/platform/api/console/Log/index.d.ts +12 -0
- package/lib/system/platform/api/console/Log/index.js +18 -0
- package/lib/system/platform/api/console/Log/index.js.map +1 -0
- package/lib/system/platform/api/event/Debug/index.d.ts +20 -0
- package/lib/system/platform/api/event/Debug/index.js +54 -0
- package/lib/system/platform/api/event/Debug/index.js.map +1 -0
- package/lib/system/platform/api/event/Listen/index.d.ts +20 -0
- package/lib/system/platform/api/event/Listen/index.js +54 -0
- package/lib/system/platform/api/event/Listen/index.js.map +1 -0
- package/lib/system/platform/api/gamepad/index.d.ts +34 -0
- package/lib/system/platform/api/gamepad/index.js +165 -0
- package/lib/system/platform/api/gamepad/index.js.map +1 -0
- package/lib/system/platform/api/geolocation/CurrentPosition/index.d.ts +16 -0
- package/lib/system/platform/api/geolocation/CurrentPosition/index.js +37 -0
- package/lib/system/platform/api/geolocation/CurrentPosition/index.js.map +1 -0
- package/lib/system/platform/api/http/HTTPServer/index.d.ts +31 -0
- package/lib/system/platform/api/http/HTTPServer/index.js +31 -0
- package/lib/system/platform/api/http/HTTPServer/index.js.map +1 -0
- package/lib/system/platform/api/local/LocalChannel/index.d.ts +22 -0
- package/lib/system/platform/api/local/LocalChannel/index.js +58 -0
- package/lib/system/platform/api/local/LocalChannel/index.js.map +1 -0
- package/lib/system/platform/api/media/CaptureStream/index.d.ts +23 -0
- package/lib/system/platform/api/media/CaptureStream/index.js +57 -0
- package/lib/system/platform/api/media/CaptureStream/index.js.map +1 -0
- package/lib/system/platform/api/media/DisplayMedia/index.d.ts +15 -0
- package/lib/system/platform/api/media/DisplayMedia/index.js +44 -0
- package/lib/system/platform/api/media/DisplayMedia/index.js.map +1 -0
- package/lib/system/platform/api/media/EnumerateDevices/index.d.ts +14 -0
- package/lib/system/platform/api/media/EnumerateDevices/index.js +35 -0
- package/lib/system/platform/api/media/EnumerateDevices/index.js.map +1 -0
- package/lib/system/platform/api/media/MediaRecorder/index.d.ts +21 -0
- package/lib/system/platform/api/media/MediaRecorder/index.js +102 -0
- package/lib/system/platform/api/media/MediaRecorder/index.js.map +1 -0
- package/lib/system/platform/api/media/RequestPictureInPicture/index.d.ts +21 -0
- package/lib/system/platform/api/media/RequestPictureInPicture/index.js +77 -0
- package/lib/system/platform/api/media/RequestPictureInPicture/index.js.map +1 -0
- package/lib/system/platform/api/media/UserMedia/index.d.ts +16 -0
- package/lib/system/platform/api/media/UserMedia/index.js +52 -0
- package/lib/system/platform/api/media/UserMedia/index.js.map +1 -0
- package/lib/system/platform/api/media/audio/AudioSource/index.d.ts +18 -0
- package/lib/system/platform/api/media/audio/AudioSource/index.js +39 -0
- package/lib/system/platform/api/media/audio/AudioSource/index.js.map +1 -0
- package/lib/system/platform/api/media/audio/AudioTarget/index.d.ts +14 -0
- package/lib/system/platform/api/media/audio/AudioTarget/index.js +47 -0
- package/lib/system/platform/api/media/audio/AudioTarget/index.js.map +1 -0
- package/lib/system/platform/api/media/download/DownloadURL/index.d.ts +12 -0
- package/lib/system/platform/api/media/download/DownloadURL/index.js +36 -0
- package/lib/system/platform/api/media/download/DownloadURL/index.js.map +1 -0
- package/lib/system/platform/api/media/image/BlobToBitmap/index.d.ts +18 -0
- package/lib/system/platform/api/media/image/BlobToBitmap/index.js +63 -0
- package/lib/system/platform/api/media/image/BlobToBitmap/index.js.map +1 -0
- package/lib/system/platform/api/network/Fetch/index.d.ts +17 -0
- package/lib/system/platform/api/network/Fetch/index.js +31 -0
- package/lib/system/platform/api/network/Fetch/index.js.map +1 -0
- package/lib/system/platform/api/network/WebSocket/index.d.ts +22 -0
- package/lib/system/platform/api/network/WebSocket/index.js +79 -0
- package/lib/system/platform/api/network/WebSocket/index.js.map +1 -0
- package/lib/system/platform/api/notification/Notification/index.d.ts +24 -0
- package/lib/system/platform/api/notification/Notification/index.js +59 -0
- package/lib/system/platform/api/notification/Notification/index.js.map +1 -0
- package/lib/system/platform/api/observer/SizeObserver/index.d.ts +17 -0
- package/lib/system/platform/api/observer/SizeObserver/index.js +54 -0
- package/lib/system/platform/api/observer/SizeObserver/index.js.map +1 -0
- package/lib/system/platform/api/peer/PeerGraph/index.d.ts +32 -0
- package/lib/system/platform/api/peer/PeerGraph/index.js +147 -0
- package/lib/system/platform/api/peer/PeerGraph/index.js.map +1 -0
- package/lib/system/platform/api/peer/PeerReceiver/index.d.ts +34 -0
- package/lib/system/platform/api/peer/PeerReceiver/index.js +165 -0
- package/lib/system/platform/api/peer/PeerReceiver/index.js.map +1 -0
- package/lib/system/platform/api/peer/PeerSharePod/index.d.ts +27 -0
- package/lib/system/platform/api/peer/PeerSharePod/index.js +120 -0
- package/lib/system/platform/api/peer/PeerSharePod/index.js.map +1 -0
- package/lib/system/platform/api/peer/PeerTransmitter/index.d.ts +38 -0
- package/lib/system/platform/api/peer/PeerTransmitter/index.js +262 -0
- package/lib/system/platform/api/peer/PeerTransmitter/index.js.map +1 -0
- package/lib/system/platform/api/pointer/SetPointerCapture/index.d.ts +18 -0
- package/lib/system/platform/api/pointer/SetPointerCapture/index.js +54 -0
- package/lib/system/platform/api/pointer/SetPointerCapture/index.js.map +1 -0
- package/lib/system/platform/api/scroll/ScrollIntoView/index.d.ts +15 -0
- package/lib/system/platform/api/scroll/ScrollIntoView/index.js +38 -0
- package/lib/system/platform/api/scroll/ScrollIntoView/index.js.map +1 -0
- package/lib/system/platform/api/speech/SpeechRecognition/index.d.ts +15 -0
- package/lib/system/platform/api/speech/SpeechRecognition/index.js +17 -0
- package/lib/system/platform/api/speech/SpeechRecognition/index.js.map +1 -0
- package/lib/system/platform/api/speech/SpeechToText/index.d.ts +17 -0
- package/lib/system/platform/api/speech/SpeechToText/index.js +38 -0
- package/lib/system/platform/api/speech/SpeechToText/index.js.map +1 -0
- package/lib/system/platform/api/speech/TextToSpeech/index.d.ts +12 -0
- package/lib/system/platform/api/speech/TextToSpeech/index.js +62 -0
- package/lib/system/platform/api/speech/TextToSpeech/index.js.map +1 -0
- package/lib/system/platform/api/storage/LocalStorage/index.d.ts +24 -0
- package/lib/system/platform/api/storage/LocalStorage/index.js +96 -0
- package/lib/system/platform/api/storage/LocalStorage/index.js.map +1 -0
- package/lib/system/platform/api/storage/SessionStorage/index.d.ts +23 -0
- package/lib/system/platform/api/storage/SessionStorage/index.js +90 -0
- package/lib/system/platform/api/storage/SessionStorage/index.js.map +1 -0
- package/lib/system/platform/api/storage/Storage_.d.ts +20 -0
- package/lib/system/platform/api/storage/Storage_.js +77 -0
- package/lib/system/platform/api/storage/Storage_.js.map +1 -0
- package/lib/system/platform/api/storage/TabStorage/index.d.ts +24 -0
- package/lib/system/platform/api/storage/TabStorage/index.js +96 -0
- package/lib/system/platform/api/storage/TabStorage/index.js.map +1 -0
- package/lib/system/platform/api/system/user/Decrypt/index.d.ts +15 -0
- package/lib/system/platform/api/system/user/Decrypt/index.js +17 -0
- package/lib/system/platform/api/system/user/Decrypt/index.js.map +1 -0
- package/lib/system/platform/api/system/user/PublicKey/index.d.ts +15 -0
- package/lib/system/platform/api/system/user/PublicKey/index.js +17 -0
- package/lib/system/platform/api/system/user/PublicKey/index.js.map +1 -0
- package/lib/system/platform/api/system/user/Sign/index.d.ts +15 -0
- package/lib/system/platform/api/system/user/Sign/index.js +17 -0
- package/lib/system/platform/api/system/user/Sign/index.js.map +1 -0
- package/lib/system/platform/api/time/RequestAnimationFrame/index.d.ts +15 -0
- package/lib/system/platform/api/time/RequestAnimationFrame/index.js +39 -0
- package/lib/system/platform/api/time/RequestAnimationFrame/index.js.map +1 -0
- package/lib/system/platform/api/vibration/vibrate/index.d.ts +11 -0
- package/lib/system/platform/api/vibration/vibrate/index.js +25 -0
- package/lib/system/platform/api/vibration/vibrate/index.js.map +1 -0
- package/lib/system/platform/api/wakelock/WakeLock/index.d.ts +19 -0
- package/lib/system/platform/api/wakelock/WakeLock/index.js +53 -0
- package/lib/system/platform/api/wakelock/WakeLock/index.js.map +1 -0
- package/lib/system/platform/component/Anchor/Component.d.ts +20 -0
- package/lib/system/platform/component/Anchor/Component.js +63 -0
- package/lib/system/platform/component/Anchor/Component.js.map +1 -0
- package/lib/system/platform/component/Anchor/index.d.ts +10 -0
- package/lib/system/platform/component/Anchor/index.js +14 -0
- package/lib/system/platform/component/Anchor/index.js.map +1 -0
- package/lib/system/platform/component/Button/Component.d.ts +20 -0
- package/lib/system/platform/component/Button/Component.js +50 -0
- package/lib/system/platform/component/Button/Component.js.map +1 -0
- package/lib/system/platform/component/Button/index.d.ts +10 -0
- package/lib/system/platform/component/Button/index.js +14 -0
- package/lib/system/platform/component/Button/index.js.map +1 -0
- package/lib/system/platform/component/Constrain/Component.d.ts +17 -0
- package/lib/system/platform/component/Constrain/Component.js +61 -0
- package/lib/system/platform/component/Constrain/Component.js.map +1 -0
- package/lib/system/platform/component/Constrain/index.d.ts +10 -0
- package/lib/system/platform/component/Constrain/index.js +11 -0
- package/lib/system/platform/component/Constrain/index.js.map +1 -0
- package/lib/system/platform/component/Datum/Component.d.ts +13 -0
- package/lib/system/platform/component/Datum/Component.js +43 -0
- package/lib/system/platform/component/Datum/Component.js.map +1 -0
- package/lib/system/platform/component/Datum/index.d.ts +11 -0
- package/lib/system/platform/component/Datum/index.js +14 -0
- package/lib/system/platform/component/Datum/index.js.map +1 -0
- package/lib/system/platform/component/Div/Component.d.ts +19 -0
- package/lib/system/platform/component/Div/Component.js +46 -0
- package/lib/system/platform/component/Div/Component.js.map +1 -0
- package/lib/system/platform/component/Div/index.d.ts +10 -0
- package/lib/system/platform/component/Div/index.js +14 -0
- package/lib/system/platform/component/Div/index.js.map +1 -0
- package/lib/system/platform/component/Editable/Component.d.ts +16 -0
- package/lib/system/platform/component/Editable/Component.js +41 -0
- package/lib/system/platform/component/Editable/Component.js.map +1 -0
- package/lib/system/platform/component/Editable/index.d.ts +11 -0
- package/lib/system/platform/component/Editable/index.js +14 -0
- package/lib/system/platform/component/Editable/index.js.map +1 -0
- package/lib/system/platform/component/Frame/Component.d.ts +46 -0
- package/lib/system/platform/component/Frame/Component.js +175 -0
- package/lib/system/platform/component/Frame/Component.js.map +1 -0
- package/lib/system/platform/component/Frame/index.d.ts +13 -0
- package/lib/system/platform/component/Frame/index.js +14 -0
- package/lib/system/platform/component/Frame/index.js.map +1 -0
- package/lib/system/platform/component/Icon/Component.d.ts +21 -0
- package/lib/system/platform/component/Icon/Component.js +60 -0
- package/lib/system/platform/component/Icon/Component.js.map +1 -0
- package/lib/system/platform/component/Icon/index.d.ts +15 -0
- package/lib/system/platform/component/Icon/index.js +14 -0
- package/lib/system/platform/component/Icon/index.js.map +1 -0
- package/lib/system/platform/component/Iframe/Component.d.ts +28 -0
- package/lib/system/platform/component/Iframe/Component.js +105 -0
- package/lib/system/platform/component/Iframe/Component.js.map +1 -0
- package/lib/system/platform/component/Iframe/index.d.ts +14 -0
- package/lib/system/platform/component/Iframe/index.js +20 -0
- package/lib/system/platform/component/Iframe/index.js.map +1 -0
- package/lib/system/platform/component/Inherit/Component.d.ts +22 -0
- package/lib/system/platform/component/Inherit/Component.js +88 -0
- package/lib/system/platform/component/Inherit/Component.js.map +1 -0
- package/lib/system/platform/component/Inherit/index.d.ts +10 -0
- package/lib/system/platform/component/Inherit/index.js +11 -0
- package/lib/system/platform/component/Inherit/index.js.map +1 -0
- package/lib/system/platform/component/Parent/Component.d.ts +10 -0
- package/lib/system/platform/component/Parent/Component.js +19 -0
- package/lib/system/platform/component/Parent/Component.js.map +1 -0
- package/lib/system/platform/component/Parent/index.d.ts +9 -0
- package/lib/system/platform/component/Parent/index.js +14 -0
- package/lib/system/platform/component/Parent/index.js.map +1 -0
- package/lib/system/platform/component/Render/Component.d.ts +22 -0
- package/lib/system/platform/component/Render/Component.js +62 -0
- package/lib/system/platform/component/Render/Component.js.map +1 -0
- package/lib/system/platform/component/Render/index.d.ts +13 -0
- package/lib/system/platform/component/Render/index.js +20 -0
- package/lib/system/platform/component/Render/index.js.map +1 -0
- package/lib/system/platform/component/Span/Component.d.ts +17 -0
- package/lib/system/platform/component/Span/Component.js +40 -0
- package/lib/system/platform/component/Span/Component.js.map +1 -0
- package/lib/system/platform/component/Span/index.d.ts +10 -0
- package/lib/system/platform/component/Span/index.js +14 -0
- package/lib/system/platform/component/Span/index.js.map +1 -0
- package/lib/system/platform/component/Wrap/Component.d.ts +53 -0
- package/lib/system/platform/component/Wrap/Component.js +296 -0
- package/lib/system/platform/component/Wrap/Component.js.map +1 -0
- package/lib/system/platform/component/Wrap/index.d.ts +30 -0
- package/lib/system/platform/component/Wrap/index.js +98 -0
- package/lib/system/platform/component/Wrap/index.js.map +1 -0
- package/lib/system/platform/component/Zoom/Component.d.ts +25 -0
- package/lib/system/platform/component/Zoom/Component.js +115 -0
- package/lib/system/platform/component/Zoom/Component.js.map +1 -0
- package/lib/system/platform/component/Zoom/index.d.ts +12 -0
- package/lib/system/platform/component/Zoom/index.js +17 -0
- package/lib/system/platform/component/Zoom/index.js.map +1 -0
- package/lib/system/platform/component/app/Bot/Component.d.ts +122 -0
- package/lib/system/platform/component/app/Bot/Component.js +793 -0
- package/lib/system/platform/component/app/Bot/Component.js.map +1 -0
- package/lib/system/platform/component/app/Bot/index.d.ts +15 -0
- package/lib/system/platform/component/app/Bot/index.js +14 -0
- package/lib/system/platform/component/app/Bot/index.js.map +1 -0
- package/lib/system/platform/component/app/Cabinet/Component.d.ts +65 -0
- package/lib/system/platform/component/app/Cabinet/Component.js +387 -0
- package/lib/system/platform/component/app/Cabinet/Component.js.map +1 -0
- package/lib/system/platform/component/app/Class/Component.d.ts +21 -0
- package/lib/system/platform/component/app/Class/Component.js +222 -0
- package/lib/system/platform/component/app/Class/Component.js.map +1 -0
- package/lib/system/platform/component/app/Class/index.d.ts +10 -0
- package/lib/system/platform/component/app/Class/index.js +14 -0
- package/lib/system/platform/component/app/Class/index.js.map +1 -0
- package/lib/system/platform/component/app/Class/test.d.ts +1 -0
- package/lib/system/platform/component/app/Class/test.js +9 -0
- package/lib/system/platform/component/app/Class/test.js.map +1 -0
- package/lib/system/platform/component/app/DataTree/Component.d.ts +62 -0
- package/lib/system/platform/component/app/DataTree/Component.js +550 -0
- package/lib/system/platform/component/app/DataTree/Component.js.map +1 -0
- package/lib/system/platform/component/app/DataTreeLeaf/Component.d.ts +26 -0
- package/lib/system/platform/component/app/DataTreeLeaf/Component.js +102 -0
- package/lib/system/platform/component/app/DataTreeLeaf/Component.js.map +1 -0
- package/lib/system/platform/component/app/Datum/Component.d.ts +26 -0
- package/lib/system/platform/component/app/Datum/Component.js +173 -0
- package/lib/system/platform/component/app/Datum/Component.js.map +1 -0
- package/lib/system/platform/component/app/Datum/index.d.ts +10 -0
- package/lib/system/platform/component/app/Datum/index.js +14 -0
- package/lib/system/platform/component/app/Datum/index.js.map +1 -0
- package/lib/system/platform/component/app/Drawer/Component.d.ts +56 -0
- package/lib/system/platform/component/app/Drawer/Component.js +343 -0
- package/lib/system/platform/component/app/Drawer/Component.js.map +1 -0
- package/lib/system/platform/component/app/Editor/Component.d.ts +2595 -0
- package/lib/system/platform/component/app/Editor/Component.js +28792 -0
- package/lib/system/platform/component/app/Editor/Component.js.map +1 -0
- package/lib/system/platform/component/app/Editor/index.d.ts +28 -0
- package/lib/system/platform/component/app/Editor/index.js +84 -0
- package/lib/system/platform/component/app/Editor/index.js.map +1 -0
- package/lib/system/platform/component/app/GUI/Component.d.ts +65 -0
- package/lib/system/platform/component/app/GUI/Component.js +488 -0
- package/lib/system/platform/component/app/GUI/Component.js.map +1 -0
- package/lib/system/platform/component/app/GUI/index.d.ts +11 -0
- package/lib/system/platform/component/app/GUI/index.js +14 -0
- package/lib/system/platform/component/app/GUI/index.js.map +1 -0
- package/lib/system/platform/component/app/GUIControl/Component.d.ts +45 -0
- package/lib/system/platform/component/app/GUIControl/Component.js +541 -0
- package/lib/system/platform/component/app/GUIControl/Component.js.map +1 -0
- package/lib/system/platform/component/app/GUIControl/index.d.ts +9 -0
- package/lib/system/platform/component/app/GUIControl/index.js +14 -0
- package/lib/system/platform/component/app/GUIControl/index.js.map +1 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/Component.d.ts +27 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/Component.js +68 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/Component.js.map +1 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/index.d.ts +9 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/index.js +14 -0
- package/lib/system/platform/component/app/GUIControlKeyboard/index.js.map +1 -0
- package/lib/system/platform/component/app/GUIControlSave/Component.d.ts +21 -0
- package/lib/system/platform/component/app/GUIControlSave/Component.js +41 -0
- package/lib/system/platform/component/app/GUIControlSave/Component.js.map +1 -0
- package/lib/system/platform/component/app/GUIControlSave/index.d.ts +9 -0
- package/lib/system/platform/component/app/GUIControlSave/index.js +14 -0
- package/lib/system/platform/component/app/GUIControlSave/index.js.map +1 -0
- package/lib/system/platform/component/app/HSVColorPicker/Component.d.ts +34 -0
- package/lib/system/platform/component/app/HSVColorPicker/Component.js +193 -0
- package/lib/system/platform/component/app/HSVColorPicker/Component.js.map +1 -0
- package/lib/system/platform/component/app/HSVColorPicker/index.d.ts +13 -0
- package/lib/system/platform/component/app/HSVColorPicker/index.js +15 -0
- package/lib/system/platform/component/app/HSVColorPicker/index.js.map +1 -0
- package/lib/system/platform/component/app/History/Component.d.ts +34 -0
- package/lib/system/platform/component/app/History/Component.js +163 -0
- package/lib/system/platform/component/app/History/Component.js.map +1 -0
- package/lib/system/platform/component/app/IconButton/Component.d.ts +31 -0
- package/lib/system/platform/component/app/IconButton/Component.js +94 -0
- package/lib/system/platform/component/app/IconButton/Component.js.map +1 -0
- package/lib/system/platform/component/app/Keyboard/Component.d.ts +23 -0
- package/lib/system/platform/component/app/Keyboard/Component.js +237 -0
- package/lib/system/platform/component/app/Keyboard/Component.js.map +1 -0
- package/lib/system/platform/component/app/Keyboard/index.d.ts +11 -0
- package/lib/system/platform/component/app/Keyboard/index.js +14 -0
- package/lib/system/platform/component/app/Keyboard/index.js.map +1 -0
- package/lib/system/platform/component/app/KeyboardKey/Component.d.ts +21 -0
- package/lib/system/platform/component/app/KeyboardKey/Component.js +89 -0
- package/lib/system/platform/component/app/KeyboardKey/Component.js.map +1 -0
- package/lib/system/platform/component/app/KeyboardKey/index.d.ts +12 -0
- package/lib/system/platform/component/app/KeyboardKey/index.js +14 -0
- package/lib/system/platform/component/app/KeyboardKey/index.js.map +1 -0
- package/lib/system/platform/component/app/MicrophoneButton/Component.d.ts +28 -0
- package/lib/system/platform/component/app/MicrophoneButton/Component.js +122 -0
- package/lib/system/platform/component/app/MicrophoneButton/Component.js.map +1 -0
- package/lib/system/platform/component/app/MicrophoneButton/index.d.ts +12 -0
- package/lib/system/platform/component/app/MicrophoneButton/index.js +14 -0
- package/lib/system/platform/component/app/MicrophoneButton/index.js.map +1 -0
- package/lib/system/platform/component/app/Minigraph/Component.d.ts +29 -0
- package/lib/system/platform/component/app/Minigraph/Component.js +236 -0
- package/lib/system/platform/component/app/Minigraph/Component.js.map +1 -0
- package/lib/system/platform/component/app/Minigraph/index.d.ts +15 -0
- package/lib/system/platform/component/app/Minigraph/index.js +14 -0
- package/lib/system/platform/component/app/Minigraph/index.js.map +1 -0
- package/lib/system/platform/component/app/Minimal/Component.d.ts +15 -0
- package/lib/system/platform/component/app/Minimal/Component.js +165 -0
- package/lib/system/platform/component/app/Minimal/Component.js.map +1 -0
- package/lib/system/platform/component/app/Minimal/index.d.ts +10 -0
- package/lib/system/platform/component/app/Minimal/index.js +14 -0
- package/lib/system/platform/component/app/Minimal/index.js.map +1 -0
- package/lib/system/platform/component/app/Minimap/Component.d.ts +38 -0
- package/lib/system/platform/component/app/Minimap/Component.js +167 -0
- package/lib/system/platform/component/app/Minimap/Component.js.map +1 -0
- package/lib/system/platform/component/app/ModeIconButton/Component.d.ts +22 -0
- package/lib/system/platform/component/app/ModeIconButton/Component.js +54 -0
- package/lib/system/platform/component/app/ModeIconButton/Component.js.map +1 -0
- package/lib/system/platform/component/app/Modes/Component.d.ts +41 -0
- package/lib/system/platform/component/app/Modes/Component.js +204 -0
- package/lib/system/platform/component/app/Modes/Component.js.map +1 -0
- package/lib/system/platform/component/app/PhoneKeyboard/Component.d.ts +31 -0
- package/lib/system/platform/component/app/PhoneKeyboard/Component.js +280 -0
- package/lib/system/platform/component/app/PhoneKeyboard/Component.js.map +1 -0
- package/lib/system/platform/component/app/PhoneKeyboard/index.d.ts +11 -0
- package/lib/system/platform/component/app/PhoneKeyboard/index.js +14 -0
- package/lib/system/platform/component/app/PhoneKeyboard/index.js.map +1 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/Component.d.ts +42 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/Component.js +146 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/Component.js.map +1 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/index.d.ts +12 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/index.js +14 -0
- package/lib/system/platform/component/app/PhoneKeyboardKey/index.js.map +1 -0
- package/lib/system/platform/component/app/Resize/Component.d.ts +33 -0
- package/lib/system/platform/component/app/Resize/Component.js +212 -0
- package/lib/system/platform/component/app/Resize/Component.js.map +1 -0
- package/lib/system/platform/component/app/Resize/index.d.ts +9 -0
- package/lib/system/platform/component/app/Resize/index.js +14 -0
- package/lib/system/platform/component/app/Resize/index.js.map +1 -0
- package/lib/system/platform/component/app/SaveControl/Component.d.ts +61 -0
- package/lib/system/platform/component/app/SaveControl/Component.js +606 -0
- package/lib/system/platform/component/app/SaveControl/Component.js.map +1 -0
- package/lib/system/platform/component/app/SaveControl/index.d.ts +11 -0
- package/lib/system/platform/component/app/SaveControl/index.js +14 -0
- package/lib/system/platform/component/app/SaveControl/index.js.map +1 -0
- package/lib/system/platform/component/app/Search/Component.d.ts +91 -0
- package/lib/system/platform/component/app/Search/Component.js +641 -0
- package/lib/system/platform/component/app/Search/Component.js.map +1 -0
- package/lib/system/platform/component/app/SearchInput/Component.d.ts +18 -0
- package/lib/system/platform/component/app/SearchInput/Component.js +59 -0
- package/lib/system/platform/component/app/SearchInput/Component.js.map +1 -0
- package/lib/system/platform/component/app/Selection/Component.d.ts +23 -0
- package/lib/system/platform/component/app/Selection/Component.js +137 -0
- package/lib/system/platform/component/app/Selection/Component.js.map +1 -0
- package/lib/system/platform/component/app/Transcend/Component.d.ts +58 -0
- package/lib/system/platform/component/app/Transcend/Component.js +237 -0
- package/lib/system/platform/component/app/Transcend/Component.js.map +1 -0
- package/lib/system/platform/component/app/Transcend/index.d.ts +11 -0
- package/lib/system/platform/component/app/Transcend/index.js +14 -0
- package/lib/system/platform/component/app/Transcend/index.js.map +1 -0
- package/lib/system/platform/component/app/Tree/Component.d.ts +17 -0
- package/lib/system/platform/component/app/Tree/Component.js +43 -0
- package/lib/system/platform/component/app/Tree/Component.js.map +1 -0
- package/lib/system/platform/component/app/Tree/index.d.ts +11 -0
- package/lib/system/platform/component/app/Tree/index.js +14 -0
- package/lib/system/platform/component/app/Tree/index.js.map +1 -0
- package/lib/system/platform/component/canvas/Canvas/Component.d.ts +50 -0
- package/lib/system/platform/component/canvas/Canvas/Component.js +219 -0
- package/lib/system/platform/component/canvas/Canvas/Component.js.map +1 -0
- package/lib/system/platform/component/canvas/Canvas/index.d.ts +29 -0
- package/lib/system/platform/component/canvas/Canvas/index.js +74 -0
- package/lib/system/platform/component/canvas/Canvas/index.js.map +1 -0
- package/lib/system/platform/component/media/Audio/Component.d.ts +22 -0
- package/lib/system/platform/component/media/Audio/Component.js +68 -0
- package/lib/system/platform/component/media/Audio/Component.js.map +1 -0
- package/lib/system/platform/component/media/Audio/index.d.ts +21 -0
- package/lib/system/platform/component/media/Audio/index.js +20 -0
- package/lib/system/platform/component/media/Audio/index.js.map +1 -0
- package/lib/system/platform/component/media/Image/Component.d.ts +20 -0
- package/lib/system/platform/component/media/Image/Component.js +49 -0
- package/lib/system/platform/component/media/Image/Component.js.map +1 -0
- package/lib/system/platform/component/media/Image/index.d.ts +11 -0
- package/lib/system/platform/component/media/Image/index.js +14 -0
- package/lib/system/platform/component/media/Image/index.js.map +1 -0
- package/lib/system/platform/component/media/Video/Component.d.ts +27 -0
- package/lib/system/platform/component/media/Video/Component.js +104 -0
- package/lib/system/platform/component/media/Video/Component.js.map +1 -0
- package/lib/system/platform/component/media/Video/index.d.ts +27 -0
- package/lib/system/platform/component/media/Video/index.js +41 -0
- package/lib/system/platform/component/media/Video/index.js.map +1 -0
- package/lib/system/platform/component/svg/Circle/Component.d.ts +20 -0
- package/lib/system/platform/component/svg/Circle/Component.js +46 -0
- package/lib/system/platform/component/svg/Circle/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Circle/index.d.ts +14 -0
- package/lib/system/platform/component/svg/Circle/index.js +14 -0
- package/lib/system/platform/component/svg/Circle/index.js.map +1 -0
- package/lib/system/platform/component/svg/Defs/Component.d.ts +12 -0
- package/lib/system/platform/component/svg/Defs/Component.js +23 -0
- package/lib/system/platform/component/svg/Defs/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Defs/index.d.ts +11 -0
- package/lib/system/platform/component/svg/Defs/index.js +14 -0
- package/lib/system/platform/component/svg/Defs/index.js.map +1 -0
- package/lib/system/platform/component/svg/ForeignObject/Component.d.ts +17 -0
- package/lib/system/platform/component/svg/ForeignObject/Component.js +41 -0
- package/lib/system/platform/component/svg/ForeignObject/Component.js.map +1 -0
- package/lib/system/platform/component/svg/ForeignObject/index.d.ts +9 -0
- package/lib/system/platform/component/svg/ForeignObject/index.js +14 -0
- package/lib/system/platform/component/svg/ForeignObject/index.js.map +1 -0
- package/lib/system/platform/component/svg/Group/Component.d.ts +13 -0
- package/lib/system/platform/component/svg/Group/Component.js +25 -0
- package/lib/system/platform/component/svg/Group/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Group/index.d.ts +9 -0
- package/lib/system/platform/component/svg/Group/index.js +14 -0
- package/lib/system/platform/component/svg/Group/index.js.map +1 -0
- package/lib/system/platform/component/svg/Line/Component.d.ts +16 -0
- package/lib/system/platform/component/svg/Line/Component.js +38 -0
- package/lib/system/platform/component/svg/Line/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Line/index.d.ts +9 -0
- package/lib/system/platform/component/svg/Line/index.js +14 -0
- package/lib/system/platform/component/svg/Line/index.js.map +1 -0
- package/lib/system/platform/component/svg/Marker/Component.d.ts +18 -0
- package/lib/system/platform/component/svg/Marker/Component.js +44 -0
- package/lib/system/platform/component/svg/Marker/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Marker/index.d.ts +12 -0
- package/lib/system/platform/component/svg/Marker/index.js +14 -0
- package/lib/system/platform/component/svg/Marker/index.js.map +1 -0
- package/lib/system/platform/component/svg/Path/Component.d.ts +23 -0
- package/lib/system/platform/component/svg/Path/Component.js +83 -0
- package/lib/system/platform/component/svg/Path/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Path/index.d.ts +13 -0
- package/lib/system/platform/component/svg/Path/index.js +17 -0
- package/lib/system/platform/component/svg/Path/index.js.map +1 -0
- package/lib/system/platform/component/svg/Rect/Component.d.ts +18 -0
- package/lib/system/platform/component/svg/Rect/Component.js +45 -0
- package/lib/system/platform/component/svg/Rect/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Rect/index.d.ts +15 -0
- package/lib/system/platform/component/svg/Rect/index.js +14 -0
- package/lib/system/platform/component/svg/Rect/index.js.map +1 -0
- package/lib/system/platform/component/svg/SVG/Component.d.ts +27 -0
- package/lib/system/platform/component/svg/SVG/Component.js +94 -0
- package/lib/system/platform/component/svg/SVG/Component.js.map +1 -0
- package/lib/system/platform/component/svg/SVG/index.d.ts +11 -0
- package/lib/system/platform/component/svg/SVG/index.js +15 -0
- package/lib/system/platform/component/svg/SVG/index.js.map +1 -0
- package/lib/system/platform/component/svg/SVGTextPath/Component.d.ts +17 -0
- package/lib/system/platform/component/svg/SVGTextPath/Component.js +41 -0
- package/lib/system/platform/component/svg/SVGTextPath/Component.js.map +1 -0
- package/lib/system/platform/component/svg/SVGTextPath/index.d.ts +12 -0
- package/lib/system/platform/component/svg/SVGTextPath/index.js +14 -0
- package/lib/system/platform/component/svg/SVGTextPath/index.js.map +1 -0
- package/lib/system/platform/component/svg/Text/Component.d.ts +21 -0
- package/lib/system/platform/component/svg/Text/Component.js +66 -0
- package/lib/system/platform/component/svg/Text/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Text/index.d.ts +12 -0
- package/lib/system/platform/component/svg/Text/index.js +14 -0
- package/lib/system/platform/component/svg/Text/index.js.map +1 -0
- package/lib/system/platform/component/svg/Use/Component.d.ts +13 -0
- package/lib/system/platform/component/svg/Use/Component.js +39 -0
- package/lib/system/platform/component/svg/Use/Component.js.map +1 -0
- package/lib/system/platform/component/svg/Use/index.d.ts +13 -0
- package/lib/system/platform/component/svg/Use/index.js +14 -0
- package/lib/system/platform/component/svg/Use/index.js.map +1 -0
- package/lib/system/platform/component/value/Checkbox/Component.d.ts +22 -0
- package/lib/system/platform/component/value/Checkbox/Component.js +28 -0
- package/lib/system/platform/component/value/Checkbox/Component.js.map +1 -0
- package/lib/system/platform/component/value/Checkbox/index.d.ts +14 -0
- package/lib/system/platform/component/value/Checkbox/index.js +17 -0
- package/lib/system/platform/component/value/Checkbox/index.js.map +1 -0
- package/lib/system/platform/component/value/Color/Component.d.ts +28 -0
- package/lib/system/platform/component/value/Color/Component.js +39 -0
- package/lib/system/platform/component/value/Color/Component.js.map +1 -0
- package/lib/system/platform/component/value/Color/index.d.ts +10 -0
- package/lib/system/platform/component/value/Color/index.js +17 -0
- package/lib/system/platform/component/value/Color/index.js.map +1 -0
- package/lib/system/platform/component/value/NumberField/Component.d.ts +32 -0
- package/lib/system/platform/component/value/NumberField/Component.js +80 -0
- package/lib/system/platform/component/value/NumberField/Component.js.map +1 -0
- package/lib/system/platform/component/value/NumberField/index.d.ts +11 -0
- package/lib/system/platform/component/value/NumberField/index.js +17 -0
- package/lib/system/platform/component/value/NumberField/index.js.map +1 -0
- package/lib/system/platform/component/value/PasswordField/Component.d.ts +29 -0
- package/lib/system/platform/component/value/PasswordField/Component.js +41 -0
- package/lib/system/platform/component/value/PasswordField/Component.js.map +1 -0
- package/lib/system/platform/component/value/PasswordField/index.d.ts +11 -0
- package/lib/system/platform/component/value/PasswordField/index.js +17 -0
- package/lib/system/platform/component/value/PasswordField/index.js.map +1 -0
- package/lib/system/platform/component/value/Slider/Component.d.ts +31 -0
- package/lib/system/platform/component/value/Slider/Component.js +46 -0
- package/lib/system/platform/component/value/Slider/Component.js.map +1 -0
- package/lib/system/platform/component/value/Slider/index.d.ts +13 -0
- package/lib/system/platform/component/value/Slider/index.js +19 -0
- package/lib/system/platform/component/value/Slider/index.js.map +1 -0
- package/lib/system/platform/component/value/Text/Component.d.ts +14 -0
- package/lib/system/platform/component/value/Text/Component.js +31 -0
- package/lib/system/platform/component/value/Text/Component.js.map +1 -0
- package/lib/system/platform/component/value/Text/index.d.ts +10 -0
- package/lib/system/platform/component/value/Text/index.js +17 -0
- package/lib/system/platform/component/value/Text/index.js.map +1 -0
- package/lib/system/platform/component/value/TextArea/Component.d.ts +32 -0
- package/lib/system/platform/component/value/TextArea/Component.js +42 -0
- package/lib/system/platform/component/value/TextArea/Component.js.map +1 -0
- package/lib/system/platform/component/value/TextArea/index.d.ts +10 -0
- package/lib/system/platform/component/value/TextArea/index.js +18 -0
- package/lib/system/platform/component/value/TextArea/index.js.map +1 -0
- package/lib/system/platform/component/value/TextField/Component.d.ts +26 -0
- package/lib/system/platform/component/value/TextField/Component.js +44 -0
- package/lib/system/platform/component/value/TextField/Component.js.map +1 -0
- package/lib/system/platform/component/value/TextField/index.d.ts +12 -0
- package/lib/system/platform/component/value/TextField/index.js +17 -0
- package/lib/system/platform/component/value/TextField/index.js.map +1 -0
- package/lib/system/platform/core/component/TextBox/Component.d.ts +22 -0
- package/lib/system/platform/core/component/TextBox/Component.js +61 -0
- package/lib/system/platform/core/component/TextBox/Component.js.map +1 -0
- package/lib/system/platform/extension/history/DeleteVisit/index.d.ts +12 -0
- package/lib/system/platform/extension/history/DeleteVisit/index.js +20 -0
- package/lib/system/platform/extension/history/DeleteVisit/index.js.map +1 -0
- package/lib/system/platform/extension/history/GetVisits/index.d.ts +20 -0
- package/lib/system/platform/extension/history/GetVisits/index.js +20 -0
- package/lib/system/platform/extension/history/GetVisits/index.js.map +1 -0
- package/lib/system/platform/extension/history/SearchVisits/index.d.ts +14 -0
- package/lib/system/platform/extension/history/SearchVisits/index.js +20 -0
- package/lib/system/platform/extension/history/SearchVisits/index.js.map +1 -0
- package/lib/system/platform/meta/Child/index.d.ts +20 -0
- package/lib/system/platform/meta/Child/index.js +57 -0
- package/lib/system/platform/meta/Child/index.js.map +1 -0
- package/lib/system/platform/meta/ParentChild/index.d.ts +20 -0
- package/lib/system/platform/meta/ParentChild/index.js +57 -0
- package/lib/system/platform/meta/ParentChild/index.js.map +1 -0
- package/lib/system/platform/method/array/Append/index.d.ts +14 -0
- package/lib/system/platform/method/array/Append/index.js +35 -0
- package/lib/system/platform/method/array/Append/index.js.map +1 -0
- package/lib/system/platform/method/array/At/index.d.ts +15 -0
- package/lib/system/platform/method/array/At/index.js +41 -0
- package/lib/system/platform/method/array/At/index.js.map +1 -0
- package/lib/system/platform/method/array/IndexOf/index.d.ts +15 -0
- package/lib/system/platform/method/array/IndexOf/index.js +37 -0
- package/lib/system/platform/method/array/IndexOf/index.js.map +1 -0
- package/lib/system/platform/method/object/Delete/index.d.ts +15 -0
- package/lib/system/platform/method/object/Delete/index.js +40 -0
- package/lib/system/platform/method/object/Delete/index.js.map +1 -0
- package/lib/system/platform/method/object/Get/index.d.ts +15 -0
- package/lib/system/platform/method/object/Get/index.js +40 -0
- package/lib/system/platform/method/object/Get/index.js.map +1 -0
- package/lib/system/platform/method/object/HasKey/index.d.ts +15 -0
- package/lib/system/platform/method/object/HasKey/index.js +40 -0
- package/lib/system/platform/method/object/HasKey/index.js.map +1 -0
- package/lib/system/platform/method/object/Keys/index.d.ts +15 -0
- package/lib/system/platform/method/object/Keys/index.js +40 -0
- package/lib/system/platform/method/object/Keys/index.js.map +1 -0
- package/lib/system/platform/method/object/Set/index.d.ts +16 -0
- package/lib/system/platform/method/object/Set/index.js +40 -0
- package/lib/system/platform/method/object/Set/index.js.map +1 -0
- package/lib/system/platform/method/process/NewGraph/index.d.ts +15 -0
- package/lib/system/platform/method/process/NewGraph/index.js +31 -0
- package/lib/system/platform/method/process/NewGraph/index.js.map +1 -0
- package/lib/system/platform/method/process/NewSystem/index.d.ts +18 -0
- package/lib/system/platform/method/process/NewSystem/index.js +37 -0
- package/lib/system/platform/method/process/NewSystem/index.js.map +1 -0
- package/lib/system/platform/method/process/Start/index.d.ts +18 -0
- package/lib/system/platform/method/process/Start/index.js +36 -0
- package/lib/system/platform/method/process/Start/index.js.map +1 -0
- package/lib/system/platform/method/process/Worker/index.d.ts +17 -0
- package/lib/system/platform/method/process/Worker/index.js +58 -0
- package/lib/system/platform/method/process/Worker/index.js.map +1 -0
- package/lib/system/platform/method/process/share/local/LocalGraph/index.d.ts +22 -0
- package/lib/system/platform/method/process/share/local/LocalGraph/index.js +88 -0
- package/lib/system/platform/method/process/share/local/LocalGraph/index.js.map +1 -0
- package/lib/system/platform/method/process/share/local/LocalShareGraph/index.d.ts +21 -0
- package/lib/system/platform/method/process/share/local/LocalShareGraph/index.js +55 -0
- package/lib/system/platform/method/process/share/local/LocalShareGraph/index.js.map +1 -0
- package/lib/system/platform/method/value/Read/index.d.ts +15 -0
- package/lib/system/platform/method/value/Read/index.js +40 -0
- package/lib/system/platform/method/value/Read/index.js.map +1 -0
- package/lib/system/platform/method/value/Write/index.d.ts +15 -0
- package/lib/system/platform/method/value/Write/index.js +40 -0
- package/lib/system/platform/method/value/Write/index.js.map +1 -0
- package/lib/system/platform/ref/unit/Input/index.d.ts +18 -0
- package/lib/system/platform/ref/unit/Input/index.js +52 -0
- package/lib/system/platform/ref/unit/Input/index.js.map +1 -0
- package/lib/system/platform/ref/unit/Output/index.d.ts +18 -0
- package/lib/system/platform/ref/unit/Output/index.js +52 -0
- package/lib/system/platform/ref/unit/Output/index.js.map +1 -0
- package/lib/system.d.ts +242 -0
- package/lib/system.js +23 -0
- package/lib/system.js.map +1 -0
- package/lib/test/Graph/add.d.ts +1 -0
- package/lib/test/Graph/add.js +61 -0
- package/lib/test/Graph/add.js.map +1 -0
- package/lib/test/Graph/catch.d.ts +1 -0
- package/lib/test/Graph/catch.js +71 -0
- package/lib/test/Graph/catch.js.map +1 -0
- package/lib/test/Graph/cloneUnit.d.ts +1 -0
- package/lib/test/Graph/cloneUnit.js +34 -0
- package/lib/test/Graph/cloneUnit.js.map +1 -0
- package/lib/test/Graph/decompose.d.ts +1 -0
- package/lib/test/Graph/decompose.js +87 -0
- package/lib/test/Graph/decompose.js.map +1 -0
- package/lib/test/Graph/exposed.d.ts +1 -0
- package/lib/test/Graph/exposed.js +82 -0
- package/lib/test/Graph/exposed.js.map +1 -0
- package/lib/test/Graph/identity.d.ts +1 -0
- package/lib/test/Graph/identity.js +39 -0
- package/lib/test/Graph/identity.js.map +1 -0
- package/lib/test/Graph/index.d.ts +11 -0
- package/lib/test/Graph/index.js +14 -0
- package/lib/test/Graph/index.js.map +1 -0
- package/lib/test/Graph/merge.d.ts +1 -0
- package/lib/test/Graph/merge.js +187 -0
- package/lib/test/Graph/merge.js.map +1 -0
- package/lib/test/Graph/moveLinkPinInto.d.ts +1 -0
- package/lib/test/Graph/moveLinkPinInto.js +29 -0
- package/lib/test/Graph/moveLinkPinInto.js.map +1 -0
- package/lib/test/Graph/moveMergeInto.d.ts +1 -0
- package/lib/test/Graph/moveMergeInto.js +54 -0
- package/lib/test/Graph/moveMergeInto.js.map +1 -0
- package/lib/test/Graph/moveSubgraphInto.d.ts +1 -0
- package/lib/test/Graph/moveSubgraphInto.js +662 -0
- package/lib/test/Graph/moveSubgraphInto.js.map +1 -0
- package/lib/test/Graph/moveUnitInto.d.ts +1 -0
- package/lib/test/Graph/moveUnitInto.js +43 -0
- package/lib/test/Graph/moveUnitInto.js.map +1 -0
- package/lib/test/Graph/specs.d.ts +1 -0
- package/lib/test/Graph/specs.js +13 -0
- package/lib/test/Graph/specs.js.map +1 -0
- package/lib/test/Graph/throw.d.ts +1 -0
- package/lib/test/Graph/throw.js +91 -0
- package/lib/test/Graph/throw.js.map +1 -0
- package/lib/test/Heap.d.ts +1 -0
- package/lib/test/Heap.js +336 -0
- package/lib/test/Heap.js.map +1 -0
- package/lib/test/Merge.d.ts +1 -0
- package/lib/test/Merge.js +125 -0
- package/lib/test/Merge.js.map +1 -0
- package/lib/test/Object_.d.ts +1 -0
- package/lib/test/Object_.js +30 -0
- package/lib/test/Object_.js.map +1 -0
- package/lib/test/Pin.d.ts +1 -0
- package/lib/test/Pin.js +15 -0
- package/lib/test/Pin.js.map +1 -0
- package/lib/test/Primitive.d.ts +1 -0
- package/lib/test/Primitive.js +11 -0
- package/lib/test/Primitive.js.map +1 -0
- package/lib/test/Serial.d.ts +1 -0
- package/lib/test/Serial.js +48 -0
- package/lib/test/Serial.js.map +1 -0
- package/lib/test/SharedObject.d.ts +1 -0
- package/lib/test/SharedObject.js +41 -0
- package/lib/test/SharedObject.js.map +1 -0
- package/lib/test/Unit.d.ts +1 -0
- package/lib/test/Unit.js +12 -0
- package/lib/test/Unit.js.map +1 -0
- package/lib/test/check.d.ts +1 -0
- package/lib/test/check.js +5 -0
- package/lib/test/check.js.map +1 -0
- package/lib/test/client/component.d.ts +1 -0
- package/lib/test/client/component.js +22 -0
- package/lib/test/client/component.js.map +1 -0
- package/lib/test/client/index.d.ts +4 -0
- package/lib/test/client/index.js +8 -0
- package/lib/test/client/index.js.map +1 -0
- package/lib/test/client/parseLayoutValue.d.ts +1 -0
- package/lib/test/client/parseLayoutValue.js +11 -0
- package/lib/test/client/parseLayoutValue.js.map +1 -0
- package/lib/test/client/reflectChildrenTrait.d.ts +1 -0
- package/lib/test/client/reflectChildrenTrait.js +1800 -0
- package/lib/test/client/reflectChildrenTrait.js.map +1 -0
- package/lib/test/client/system/index.d.ts +1 -0
- package/lib/test/client/system/index.js +4 -0
- package/lib/test/client/system/index.js.map +1 -0
- package/lib/test/client/system/platform/component/app/Graph.d.ts +1 -0
- package/lib/test/client/system/platform/component/app/Graph.js +10 -0
- package/lib/test/client/system/platform/component/app/Graph.js.map +1 -0
- package/lib/test/client/system/platform/component/app/index.d.ts +0 -0
- package/lib/test/client/system/platform/component/app/index.js +3 -0
- package/lib/test/client/system/platform/component/app/index.js.map +1 -0
- package/lib/test/client/system/platform/component/index.d.ts +1 -0
- package/lib/test/client/system/platform/component/index.js +4 -0
- package/lib/test/client/system/platform/component/index.js.map +1 -0
- package/lib/test/client/system/platform/index.d.ts +1 -0
- package/lib/test/client/system/platform/index.js +4 -0
- package/lib/test/client/system/platform/index.js.map +1 -0
- package/lib/test/client/util/data/index.d.ts +1 -0
- package/lib/test/client/util/data/index.js +14 -0
- package/lib/test/client/util/data/index.js.map +1 -0
- package/lib/test/client/util/data/keyboard/index.d.ts +1 -0
- package/lib/test/client/util/data/keyboard/index.js +14 -0
- package/lib/test/client/util/data/keyboard/index.js.map +1 -0
- package/lib/test/client/util/data/keyboard/keyUpdateTree.d.ts +1 -0
- package/lib/test/client/util/data/keyboard/keyUpdateTree.js +221 -0
- package/lib/test/client/util/data/keyboard/keyUpdateTree.js.map +1 -0
- package/lib/test/client/util/geometry.d.ts +1 -0
- package/lib/test/client/util/geometry.js +10 -0
- package/lib/test/client/util/geometry.js.map +1 -0
- package/lib/test/client/util/index.d.ts +2 -0
- package/lib/test/client/util/index.js +15 -0
- package/lib/test/client/util/index.js.map +1 -0
- package/lib/test/client/util/text/getDivTextSize.d.ts +1 -0
- package/lib/test/client/util/text/getDivTextSize.js +25 -0
- package/lib/test/client/util/text/getDivTextSize.js.map +1 -0
- package/lib/test/client/util/text/index.d.ts +1 -0
- package/lib/test/client/util/text/index.js +14 -0
- package/lib/test/client/util/text/index.js.map +1 -0
- package/lib/test/debug.d.ts +1 -0
- package/lib/test/debug.js +43 -0
- package/lib/test/debug.js.map +1 -0
- package/lib/test/getBundleSpec.d.ts +1 -0
- package/lib/test/getBundleSpec.js +29 -0
- package/lib/test/getBundleSpec.js.map +1 -0
- package/lib/test/index.d.ts +11 -0
- package/lib/test/index.js +14 -0
- package/lib/test/index.js.map +1 -0
- package/lib/test/parseLayoutValue.d.ts +1 -0
- package/lib/test/parseLayoutValue.js +7 -0
- package/lib/test/parseLayoutValue.js.map +1 -0
- package/lib/test/perf.d.ts +1 -0
- package/lib/test/perf.js +41 -0
- package/lib/test/perf.js.map +1 -0
- package/lib/test/spec/Lazy.d.ts +1 -0
- package/lib/test/spec/Lazy.js +29 -0
- package/lib/test/spec/Lazy.js.map +1 -0
- package/lib/test/spec/cloneBundle.d.ts +1 -0
- package/lib/test/spec/cloneBundle.js +22 -0
- package/lib/test/spec/cloneBundle.js.map +1 -0
- package/lib/test/spec/cloneUnit.d.ts +1 -0
- package/lib/test/spec/cloneUnit.js +57 -0
- package/lib/test/spec/cloneUnit.js.map +1 -0
- package/lib/test/spec/compatibility.d.ts +1 -0
- package/lib/test/spec/compatibility.js +8 -0
- package/lib/test/spec/compatibility.js.map +1 -0
- package/lib/test/spec/complexity.d.ts +1 -0
- package/lib/test/spec/complexity.js +14 -0
- package/lib/test/spec/complexity.js.map +1 -0
- package/lib/test/spec/createClass.d.ts +1 -0
- package/lib/test/spec/createClass.js +33 -0
- package/lib/test/spec/createClass.js.map +1 -0
- package/lib/test/spec/extract.d.ts +1 -0
- package/lib/test/spec/extract.js +493 -0
- package/lib/test/spec/extract.js.map +1 -0
- package/lib/test/spec/id.d.ts +36 -0
- package/lib/test/spec/id.js +40 -0
- package/lib/test/spec/id.js.map +1 -0
- package/lib/test/spec/index.d.ts +8 -0
- package/lib/test/spec/index.js +11 -0
- package/lib/test/spec/index.js.map +1 -0
- package/lib/test/spec/parser.d.ts +1 -0
- package/lib/test/spec/parser.js +462 -0
- package/lib/test/spec/parser.js.map +1 -0
- package/lib/test/spec/reducers/component.d.ts +1 -0
- package/lib/test/spec/reducers/component.js +112 -0
- package/lib/test/spec/reducers/component.js.map +1 -0
- package/lib/test/spec/reducers/data.d.ts +1 -0
- package/lib/test/spec/reducers/data.js +12 -0
- package/lib/test/spec/reducers/data.js.map +1 -0
- package/lib/test/spec/reducers/index.d.ts +3 -0
- package/lib/test/spec/reducers/index.js +6 -0
- package/lib/test/spec/reducers/index.js.map +1 -0
- package/lib/test/spec/reducers/spec.d.ts +1 -0
- package/lib/test/spec/reducers/spec.js +1104 -0
- package/lib/test/spec/reducers/spec.js.map +1 -0
- package/lib/test/spec/stringify.d.ts +1 -0
- package/lib/test/spec/stringify.js +54 -0
- package/lib/test/spec/stringify.js.map +1 -0
- package/lib/test/spec/type.d.ts +1 -0
- package/lib/test/spec/type.js +460 -0
- package/lib/test/spec/type.js.map +1 -0
- package/lib/test/spec/util.d.ts +0 -0
- package/lib/test/spec/util.js +2 -0
- package/lib/test/spec/util.js.map +1 -0
- package/lib/test/system/core/AppendIf.d.ts +1 -0
- package/lib/test/system/core/AppendIf.js +104 -0
- package/lib/test/system/core/AppendIf.js.map +1 -0
- package/lib/test/system/core/ArrayBuilder.d.ts +1 -0
- package/lib/test/system/core/ArrayBuilder.js +13 -0
- package/lib/test/system/core/ArrayBuilder.js.map +1 -0
- package/lib/test/system/core/ArrayMultiply.d.ts +1 -0
- package/lib/test/system/core/ArrayMultiply.js +37 -0
- package/lib/test/system/core/ArrayMultiply.js.map +1 -0
- package/lib/test/system/core/CompareLTE.d.ts +1 -0
- package/lib/test/system/core/CompareLTE.js +26 -0
- package/lib/test/system/core/CompareLTE.js.map +1 -0
- package/lib/test/system/core/Empty.d.ts +1 -0
- package/lib/test/system/core/Empty.js +10 -0
- package/lib/test/system/core/Empty.js.map +1 -0
- package/lib/test/system/core/FilterPropEqual.d.ts +1 -0
- package/lib/test/system/core/FilterPropEqual.js +82 -0
- package/lib/test/system/core/FilterPropEqual.js.map +1 -0
- package/lib/test/system/core/ForEach.d.ts +1 -0
- package/lib/test/system/core/ForEach.js +81 -0
- package/lib/test/system/core/ForEach.js.map +1 -0
- package/lib/test/system/core/HasLength.d.ts +1 -0
- package/lib/test/system/core/HasLength.js +23 -0
- package/lib/test/system/core/HasLength.js.map +1 -0
- package/lib/test/system/core/HasntLength.d.ts +1 -0
- package/lib/test/system/core/HasntLength.js +26 -0
- package/lib/test/system/core/HasntLength.js.map +1 -0
- package/lib/test/system/core/HeadOrDefault.d.ts +1 -0
- package/lib/test/system/core/HeadOrDefault.js +23 -0
- package/lib/test/system/core/HeadOrDefault.js.map +1 -0
- package/lib/test/system/core/IfElse.d.ts +1 -0
- package/lib/test/system/core/IfElse.js +98 -0
- package/lib/test/system/core/IfElse.js.map +1 -0
- package/lib/test/system/core/IfNot.d.ts +1 -0
- package/lib/test/system/core/IfNot.js +30 -0
- package/lib/test/system/core/IfNot.js.map +1 -0
- package/lib/test/system/core/Increment.d.ts +1 -0
- package/lib/test/system/core/Increment.js +20 -0
- package/lib/test/system/core/Increment.js.map +1 -0
- package/lib/test/system/core/KeysEquals.d.ts +1 -0
- package/lib/test/system/core/KeysEquals.js +23 -0
- package/lib/test/system/core/KeysEquals.js.map +1 -0
- package/lib/test/system/core/LengthEquals.d.ts +1 -0
- package/lib/test/system/core/LengthEquals.js +39 -0
- package/lib/test/system/core/LengthEquals.js.map +1 -0
- package/lib/test/system/core/LengthLessThanOr.d.ts +1 -0
- package/lib/test/system/core/LengthLessThanOr.js +27 -0
- package/lib/test/system/core/LengthLessThanOr.js.map +1 -0
- package/lib/test/system/core/Lever.d.ts +1 -0
- package/lib/test/system/core/Lever.js +36 -0
- package/lib/test/system/core/Lever.js.map +1 -0
- package/lib/test/system/core/LoopForever.d.ts +1 -0
- package/lib/test/system/core/LoopForever.js +37 -0
- package/lib/test/system/core/LoopForever.js.map +1 -0
- package/lib/test/system/core/LoopIncrement.d.ts +1 -0
- package/lib/test/system/core/LoopIncrement.js +20 -0
- package/lib/test/system/core/LoopIncrement.js.map +1 -0
- package/lib/test/system/core/LoopRepeat.d.ts +1 -0
- package/lib/test/system/core/LoopRepeat.js +30 -0
- package/lib/test/system/core/LoopRepeat.js.map +1 -0
- package/lib/test/system/core/MergeSort.d.ts +1 -0
- package/lib/test/system/core/MergeSort.js +192 -0
- package/lib/test/system/core/MergeSort.js.map +1 -0
- package/lib/test/system/core/NArrayBuilder.d.ts +1 -0
- package/lib/test/system/core/NArrayBuilder.js +177 -0
- package/lib/test/system/core/NArrayBuilder.js.map +1 -0
- package/lib/test/system/core/NStringBuilderFrom.d.ts +1 -0
- package/lib/test/system/core/NStringBuilderFrom.js +47 -0
- package/lib/test/system/core/NStringBuilderFrom.js.map +1 -0
- package/lib/test/system/core/PathGet.d.ts +1 -0
- package/lib/test/system/core/PathGet.js +9 -0
- package/lib/test/system/core/PathGet.js.map +1 -0
- package/lib/test/system/core/Pick.d.ts +1 -0
- package/lib/test/system/core/Pick.js +55 -0
- package/lib/test/system/core/Pick.js.map +1 -0
- package/lib/test/system/core/PrependIf.d.ts +1 -0
- package/lib/test/system/core/PrependIf.js +89 -0
- package/lib/test/system/core/PrependIf.js.map +1 -0
- package/lib/test/system/core/PriorityHead.d.ts +1 -0
- package/lib/test/system/core/PriorityHead.js +50 -0
- package/lib/test/system/core/PriorityHead.js.map +1 -0
- package/lib/test/system/core/PriorityMerge.d.ts +1 -0
- package/lib/test/system/core/PriorityMerge.js +63 -0
- package/lib/test/system/core/PriorityMerge.js.map +1 -0
- package/lib/test/system/core/PropEqual.d.ts +1 -0
- package/lib/test/system/core/PropEqual.js +18 -0
- package/lib/test/system/core/PropEqual.js.map +1 -0
- package/lib/test/system/core/RandomBit.d.ts +1 -0
- package/lib/test/system/core/RandomBit.js +21 -0
- package/lib/test/system/core/RandomBit.js.map +1 -0
- package/lib/test/system/core/RandomHEXColor.d.ts +1 -0
- package/lib/test/system/core/RandomHEXColor.js +79 -0
- package/lib/test/system/core/RandomHEXColor.js.map +1 -0
- package/lib/test/system/core/Range.d.ts +1 -0
- package/lib/test/system/core/Range.js +186 -0
- package/lib/test/system/core/Range.js.map +1 -0
- package/lib/test/system/core/RangeArray.d.ts +1 -0
- package/lib/test/system/core/RangeArray.js +47 -0
- package/lib/test/system/core/RangeArray.js.map +1 -0
- package/lib/test/system/core/RangeArray6.d.ts +1 -0
- package/lib/test/system/core/RangeArray6.js +16 -0
- package/lib/test/system/core/RangeArray6.js.map +1 -0
- package/lib/test/system/core/RangeBounce.d.ts +1 -0
- package/lib/test/system/core/RangeBounce.js +39 -0
- package/lib/test/system/core/RangeBounce.js.map +1 -0
- package/lib/test/system/core/RangeRec.d.ts +1 -0
- package/lib/test/system/core/RangeRec.js +186 -0
- package/lib/test/system/core/RangeRec.js.map +1 -0
- package/lib/test/system/core/RangeReverse.d.ts +1 -0
- package/lib/test/system/core/RangeReverse.js +147 -0
- package/lib/test/system/core/RangeReverse.js.map +1 -0
- package/lib/test/system/core/SplitAt.d.ts +1 -0
- package/lib/test/system/core/SplitAt.js +6 -0
- package/lib/test/system/core/SplitAt.js.map +1 -0
- package/lib/test/system/core/SumAll.d.ts +1 -0
- package/lib/test/system/core/SumAll.js +39 -0
- package/lib/test/system/core/SumAll.js.map +1 -0
- package/lib/test/system/core/SumN.d.ts +1 -0
- package/lib/test/system/core/SumN.js +20 -0
- package/lib/test/system/core/SumN.js.map +1 -0
- package/lib/test/system/core/SumNextN.d.ts +1 -0
- package/lib/test/system/core/SumNextN.js +164 -0
- package/lib/test/system/core/SumNextN.js.map +1 -0
- package/lib/test/system/core/TrueOrFalse.d.ts +2 -0
- package/lib/test/system/core/TrueOrFalse.js +21 -0
- package/lib/test/system/core/TrueOrFalse.js.map +1 -0
- package/lib/test/system/core/index.d.ts +40 -0
- package/lib/test/system/core/index.js +43 -0
- package/lib/test/system/core/index.js.map +1 -0
- package/lib/test/system/f/arithmetic/Add.d.ts +1 -0
- package/lib/test/system/f/arithmetic/Add.js +36 -0
- package/lib/test/system/f/arithmetic/Add.js.map +1 -0
- package/lib/test/system/f/arithmetic/Divide.d.ts +1 -0
- package/lib/test/system/f/arithmetic/Divide.js +37 -0
- package/lib/test/system/f/arithmetic/Divide.js.map +1 -0
- package/lib/test/system/f/arithmetic/Subtract.d.ts +1 -0
- package/lib/test/system/f/arithmetic/Subtract.js +13 -0
- package/lib/test/system/f/arithmetic/Subtract.js.map +1 -0
- package/lib/test/system/f/arithmetic/index.d.ts +3 -0
- package/lib/test/system/f/arithmetic/index.js +6 -0
- package/lib/test/system/f/arithmetic/index.js.map +1 -0
- package/lib/test/system/f/array/Append.d.ts +1 -0
- package/lib/test/system/f/array/Append.js +14 -0
- package/lib/test/system/f/array/Append.js.map +1 -0
- package/lib/test/system/f/array/At.d.ts +1 -0
- package/lib/test/system/f/array/At.js +22 -0
- package/lib/test/system/f/array/At.js.map +1 -0
- package/lib/test/system/f/array/Length.d.ts +1 -0
- package/lib/test/system/f/array/Length.js +15 -0
- package/lib/test/system/f/array/Length.js.map +1 -0
- package/lib/test/system/f/array/index.d.ts +3 -0
- package/lib/test/system/f/array/index.js +6 -0
- package/lib/test/system/f/array/index.js.map +1 -0
- package/lib/test/system/f/bitwise/And.d.ts +1 -0
- package/lib/test/system/f/bitwise/And.js +16 -0
- package/lib/test/system/f/bitwise/And.js.map +1 -0
- package/lib/test/system/f/bitwise/XOr.d.ts +1 -0
- package/lib/test/system/f/bitwise/XOr.js +14 -0
- package/lib/test/system/f/bitwise/XOr.js.map +1 -0
- package/lib/test/system/f/bitwise/index.d.ts +2 -0
- package/lib/test/system/f/bitwise/index.js +5 -0
- package/lib/test/system/f/bitwise/index.js.map +1 -0
- package/lib/test/system/f/comparisson/Equals.d.ts +1 -0
- package/lib/test/system/f/comparisson/Equals.js +38 -0
- package/lib/test/system/f/comparisson/Equals.js.map +1 -0
- package/lib/test/system/f/comparisson/index.d.ts +1 -0
- package/lib/test/system/f/comparisson/index.js +4 -0
- package/lib/test/system/f/comparisson/index.js.map +1 -0
- package/lib/test/system/f/control/Constant.d.ts +1 -0
- package/lib/test/system/f/control/Constant.js +20 -0
- package/lib/test/system/f/control/Constant.js.map +1 -0
- package/lib/test/system/f/control/Default.d.ts +1 -0
- package/lib/test/system/f/control/Default.js +29 -0
- package/lib/test/system/f/control/Default.js.map +1 -0
- package/lib/test/system/f/control/Identity.d.ts +1 -0
- package/lib/test/system/f/control/Identity.js +81 -0
- package/lib/test/system/f/control/Identity.js.map +1 -0
- package/lib/test/system/f/control/If.d.ts +1 -0
- package/lib/test/system/f/control/If.js +19 -0
- package/lib/test/system/f/control/If.js.map +1 -0
- package/lib/test/system/f/control/Iterate.d.ts +1 -0
- package/lib/test/system/f/control/Iterate.js +38 -0
- package/lib/test/system/f/control/Iterate.js.map +1 -0
- package/lib/test/system/f/control/Loop.d.ts +1 -0
- package/lib/test/system/f/control/Loop.js +205 -0
- package/lib/test/system/f/control/Loop.js.map +1 -0
- package/lib/test/system/f/control/Memory.d.ts +1 -0
- package/lib/test/system/f/control/Memory.js +21 -0
- package/lib/test/system/f/control/Memory.js.map +1 -0
- package/lib/test/system/f/control/Plan.d.ts +1 -0
- package/lib/test/system/f/control/Plan.js +41 -0
- package/lib/test/system/f/control/Plan.js.map +1 -0
- package/lib/test/system/f/control/Throw.d.ts +1 -0
- package/lib/test/system/f/control/Throw.js +16 -0
- package/lib/test/system/f/control/Throw.js.map +1 -0
- package/lib/test/system/f/control/Void.d.ts +1 -0
- package/lib/test/system/f/control/Void.js +14 -0
- package/lib/test/system/f/control/Void.js.map +1 -0
- package/lib/test/system/f/control/Wait.d.ts +1 -0
- package/lib/test/system/f/control/Wait.js +22 -0
- package/lib/test/system/f/control/Wait.js.map +1 -0
- package/lib/test/system/f/control/index.d.ts +7 -0
- package/lib/test/system/f/control/index.js +10 -0
- package/lib/test/system/f/control/index.js.map +1 -0
- package/lib/test/system/f/data/Parse.d.ts +1 -0
- package/lib/test/system/f/data/Parse.js +14 -0
- package/lib/test/system/f/data/Parse.js.map +1 -0
- package/lib/test/system/f/data/TypeOf.d.ts +1 -0
- package/lib/test/system/f/data/TypeOf.js +16 -0
- package/lib/test/system/f/data/TypeOf.js.map +1 -0
- package/lib/test/system/f/data/index.d.ts +2 -0
- package/lib/test/system/f/data/index.js +5 -0
- package/lib/test/system/f/data/index.js.map +1 -0
- package/lib/test/system/f/index.d.ts +11 -0
- package/lib/test/system/f/index.js +14 -0
- package/lib/test/system/f/index.js.map +1 -0
- package/lib/test/system/f/math/index.d.ts +0 -0
- package/lib/test/system/f/math/index.js +2 -0
- package/lib/test/system/f/math/index.js.map +1 -0
- package/lib/test/system/f/meta/Catch.d.ts +1 -0
- package/lib/test/system/f/meta/Catch.js +35 -0
- package/lib/test/system/f/meta/Catch.js.map +1 -0
- package/lib/test/system/f/meta/Exec.d.ts +1 -0
- package/lib/test/system/f/meta/Exec.js +23 -0
- package/lib/test/system/f/meta/Exec.js.map +1 -0
- package/lib/test/system/f/meta/index.d.ts +2 -0
- package/lib/test/system/f/meta/index.js +5 -0
- package/lib/test/system/f/meta/index.js.map +1 -0
- package/lib/test/system/f/number/NumberToString.d.ts +1 -0
- package/lib/test/system/f/number/NumberToString.js +19 -0
- package/lib/test/system/f/number/NumberToString.js.map +1 -0
- package/lib/test/system/f/number/index.d.ts +1 -0
- package/lib/test/system/f/number/index.js +4 -0
- package/lib/test/system/f/number/index.js.map +1 -0
- package/lib/test/system/f/object/Assoc.d.ts +1 -0
- package/lib/test/system/f/object/Assoc.js +14 -0
- package/lib/test/system/f/object/Assoc.js.map +1 -0
- package/lib/test/system/f/object/DeepMerge.d.ts +1 -0
- package/lib/test/system/f/object/DeepMerge.js +30 -0
- package/lib/test/system/f/object/DeepMerge.js.map +1 -0
- package/lib/test/system/f/object/HasKey.d.ts +1 -0
- package/lib/test/system/f/object/HasKey.js +19 -0
- package/lib/test/system/f/object/HasKey.js.map +1 -0
- package/lib/test/system/f/object/Keys.d.ts +1 -0
- package/lib/test/system/f/object/Keys.js +14 -0
- package/lib/test/system/f/object/Keys.js.map +1 -0
- package/lib/test/system/f/object/Values.d.ts +1 -0
- package/lib/test/system/f/object/Values.js +14 -0
- package/lib/test/system/f/object/Values.js.map +1 -0
- package/lib/test/system/f/object/index.d.ts +5 -0
- package/lib/test/system/f/object/index.js +8 -0
- package/lib/test/system/f/object/index.js.map +1 -0
- package/lib/test/system/f/string/Concat.d.ts +1 -0
- package/lib/test/system/f/string/Concat.js +20 -0
- package/lib/test/system/f/string/Concat.js.map +1 -0
- package/lib/test/system/f/string/Length.d.ts +1 -0
- package/lib/test/system/f/string/Length.js +14 -0
- package/lib/test/system/f/string/Length.js.map +1 -0
- package/lib/test/system/f/string/Substr.d.ts +1 -0
- package/lib/test/system/f/string/Substr.js +18 -0
- package/lib/test/system/f/string/Substr.js.map +1 -0
- package/lib/test/system/f/string/index.d.ts +3 -0
- package/lib/test/system/f/string/index.js +6 -0
- package/lib/test/system/f/string/index.js.map +1 -0
- package/lib/test/system/index.d.ts +2 -0
- package/lib/test/system/index.js +5 -0
- package/lib/test/system/index.js.map +1 -0
- package/lib/test/util/array.d.ts +1 -0
- package/lib/test/util/array.js +6 -0
- package/lib/test/util/array.js.map +1 -0
- package/lib/test/util/index.d.ts +3 -0
- package/lib/test/util/index.js +6 -0
- package/lib/test/util/index.js.map +1 -0
- package/lib/test/util/object.d.ts +1 -0
- package/lib/test/util/object.js +12 -0
- package/lib/test/util/object.js.map +1 -0
- package/lib/test/util/system.d.ts +1 -0
- package/lib/test/util/system.js +6 -0
- package/lib/test/util/system.js.map +1 -0
- package/lib/test/util.d.ts +14 -0
- package/lib/test/util.js +42 -0
- package/lib/test/util.js.map +1 -0
- package/lib/types/BundleSpec.d.ts +5 -0
- package/lib/types/BundleSpec.js +3 -0
- package/lib/types/BundleSpec.js.map +1 -0
- package/lib/types/Callback.d.ts +1 -0
- package/lib/types/Callback.js +3 -0
- package/lib/types/Callback.js.map +1 -0
- package/lib/types/Dict.d.ts +3 -0
- package/lib/types/Dict.js +3 -0
- package/lib/types/Dict.js.map +1 -0
- package/lib/types/GlobalRefSpec.d.ts +4 -0
- package/lib/types/GlobalRefSpec.js +3 -0
- package/lib/types/GlobalRefSpec.js.map +1 -0
- package/lib/types/GraphClass.d.ts +8 -0
- package/lib/types/GraphClass.js +3 -0
- package/lib/types/GraphClass.js.map +1 -0
- package/lib/types/GraphState.d.ts +3 -0
- package/lib/types/GraphState.js +3 -0
- package/lib/types/GraphState.js.map +1 -0
- package/lib/types/IO.d.ts +1 -0
- package/lib/types/IO.js +3 -0
- package/lib/types/IO.js.map +1 -0
- package/lib/types/IOOf.d.ts +18 -0
- package/lib/types/IOOf.js +30 -0
- package/lib/types/IOOf.js.map +1 -0
- package/lib/types/Listener.d.ts +1 -0
- package/lib/types/Listener.js +3 -0
- package/lib/types/Listener.js.map +1 -0
- package/lib/types/None.d.ts +1 -0
- package/lib/types/None.js +3 -0
- package/lib/types/None.js.map +1 -0
- package/lib/types/TagData.d.ts +4 -0
- package/lib/types/TagData.js +3 -0
- package/lib/types/TagData.js.map +1 -0
- package/lib/types/UnitBundle.d.ts +8 -0
- package/lib/types/UnitBundle.js +3 -0
- package/lib/types/UnitBundle.js.map +1 -0
- package/lib/types/UnitBundleSpec.d.ts +5 -0
- package/lib/types/UnitBundleSpec.js +3 -0
- package/lib/types/UnitBundleSpec.js.map +1 -0
- package/lib/types/UnitClass.d.ts +5 -0
- package/lib/types/UnitClass.js +3 -0
- package/lib/types/UnitClass.js.map +1 -0
- package/lib/types/Unlisten.d.ts +1 -0
- package/lib/types/Unlisten.js +3 -0
- package/lib/types/Unlisten.js.map +1 -0
- package/lib/types/global/IBluetoothCharacteristic.d.ts +8 -0
- package/lib/types/global/IBluetoothCharacteristic.js +3 -0
- package/lib/types/global/IBluetoothCharacteristic.js.map +1 -0
- package/lib/types/global/IBluetoothDevice.d.ts +15 -0
- package/lib/types/global/IBluetoothDevice.js +3 -0
- package/lib/types/global/IBluetoothDevice.js.map +1 -0
- package/lib/types/global/IBluetoothServer.d.ts +5 -0
- package/lib/types/global/IBluetoothServer.js +3 -0
- package/lib/types/global/IBluetoothServer.js.map +1 -0
- package/lib/types/global/IBluetoothService.d.ts +5 -0
- package/lib/types/global/IBluetoothService.js +3 -0
- package/lib/types/global/IBluetoothService.js.map +1 -0
- package/lib/types/global/IChannel.d.ts +10 -0
- package/lib/types/global/IChannel.js +3 -0
- package/lib/types/global/IChannel.js.map +1 -0
- package/lib/types/global/IDeviceInfo.d.ts +6 -0
- package/lib/types/global/IDeviceInfo.js +3 -0
- package/lib/types/global/IDeviceInfo.js.map +1 -0
- package/lib/types/global/IDisplayMedia.d.ts +1 -0
- package/lib/types/global/IDisplayMedia.js +3 -0
- package/lib/types/global/IDisplayMedia.js.map +1 -0
- package/lib/types/global/IDownloadData.d.ts +6 -0
- package/lib/types/global/IDownloadData.js +3 -0
- package/lib/types/global/IDownloadData.js.map +1 -0
- package/lib/types/global/IDownloadURL.d.ts +4 -0
- package/lib/types/global/IDownloadURL.js +3 -0
- package/lib/types/global/IDownloadURL.js.map +1 -0
- package/lib/types/global/IFileHandler.d.ts +4 -0
- package/lib/types/global/IFileHandler.js +3 -0
- package/lib/types/global/IFileHandler.js.map +1 -0
- package/lib/types/global/IGamepad.d.ts +2 -0
- package/lib/types/global/IGamepad.js +3 -0
- package/lib/types/global/IGamepad.js.map +1 -0
- package/lib/types/global/IGeoPosition.d.ts +4 -0
- package/lib/types/global/IGeoPosition.js +3 -0
- package/lib/types/global/IGeoPosition.js.map +1 -0
- package/lib/types/global/IHTTPServer.d.ts +9 -0
- package/lib/types/global/IHTTPServer.js +3 -0
- package/lib/types/global/IHTTPServer.js.map +1 -0
- package/lib/types/global/IHost.d.ts +0 -0
- package/lib/types/global/IHost.js +2 -0
- package/lib/types/global/IHost.js.map +1 -0
- package/lib/types/global/IKeyboard.d.ts +4 -0
- package/lib/types/global/IKeyboard.js +3 -0
- package/lib/types/global/IKeyboard.js.map +1 -0
- package/lib/types/global/IMedia.d.ts +5 -0
- package/lib/types/global/IMedia.js +3 -0
- package/lib/types/global/IMedia.js.map +1 -0
- package/lib/types/global/IMutationObserver.d.ts +7 -0
- package/lib/types/global/IMutationObserver.js +3 -0
- package/lib/types/global/IMutationObserver.js.map +1 -0
- package/lib/types/global/IPointer.d.ts +5 -0
- package/lib/types/global/IPointer.js +3 -0
- package/lib/types/global/IPointer.js.map +1 -0
- package/lib/types/global/IPort.d.ts +8 -0
- package/lib/types/global/IPort.js +3 -0
- package/lib/types/global/IPort.js.map +1 -0
- package/lib/types/global/IPositionObserver.d.ts +22 -0
- package/lib/types/global/IPositionObserver.js +3 -0
- package/lib/types/global/IPositionObserver.js.map +1 -0
- package/lib/types/global/IResizeObserver.d.ts +7 -0
- package/lib/types/global/IResizeObserver.js +3 -0
- package/lib/types/global/IResizeObserver.js.map +1 -0
- package/lib/types/global/ISpeechGrammarList.d.ts +5 -0
- package/lib/types/global/ISpeechGrammarList.js +3 -0
- package/lib/types/global/ISpeechGrammarList.js.map +1 -0
- package/lib/types/global/ISpeechRecognition.d.ts +20 -0
- package/lib/types/global/ISpeechRecognition.js +3 -0
- package/lib/types/global/ISpeechRecognition.js.map +1 -0
- package/lib/types/global/ISpeechSynthesis.d.ts +7 -0
- package/lib/types/global/ISpeechSynthesis.js +3 -0
- package/lib/types/global/ISpeechSynthesis.js.map +1 -0
- package/lib/types/global/ISpeechSynthesisUtterance.d.ts +6 -0
- package/lib/types/global/ISpeechSynthesisUtterance.js +3 -0
- package/lib/types/global/ISpeechSynthesisUtterance.js.map +1 -0
- package/lib/types/global/ISpeechSynthesisVoice.d.ts +8 -0
- package/lib/types/global/ISpeechSynthesisVoice.js +3 -0
- package/lib/types/global/ISpeechSynthesisVoice.js.map +1 -0
- package/lib/types/global/IStorage.d.ts +6 -0
- package/lib/types/global/IStorage.js +3 -0
- package/lib/types/global/IStorage.js.map +1 -0
- package/lib/types/global/IUserMedia.d.ts +1 -0
- package/lib/types/global/IUserMedia.js +3 -0
- package/lib/types/global/IUserMedia.js.map +1 -0
- package/lib/types/global/IVibrateOpt.d.ts +1 -0
- package/lib/types/global/IVibrateOpt.js +3 -0
- package/lib/types/global/IVibrateOpt.js.map +1 -0
- package/lib/types/global/IWakeLock.d.ts +9 -0
- package/lib/types/global/IWakeLock.js +3 -0
- package/lib/types/global/IWakeLock.js.map +1 -0
- package/lib/types/global/dom/index.d.ts +2 -0
- package/lib/types/global/dom/index.js +3 -0
- package/lib/types/global/dom/index.js.map +1 -0
- package/lib/types/index.d.ts +232 -0
- package/lib/types/index.js +3 -0
- package/lib/types/index.js.map +1 -0
- package/lib/types/interface/$_.d.ts +8 -0
- package/lib/types/interface/$_.js +3 -0
- package/lib/types/interface/$_.js.map +1 -0
- package/lib/types/interface/A.d.ts +7 -0
- package/lib/types/interface/A.js +3 -0
- package/lib/types/interface/A.js.map +1 -0
- package/lib/types/interface/B.d.ts +3 -0
- package/lib/types/interface/B.js +3 -0
- package/lib/types/interface/B.js.map +1 -0
- package/lib/types/interface/BC.d.ts +3 -0
- package/lib/types/interface/BC.js +3 -0
- package/lib/types/interface/BC.js.map +1 -0
- package/lib/types/interface/BD.d.ts +4 -0
- package/lib/types/interface/BD.js +3 -0
- package/lib/types/interface/BD.js.map +1 -0
- package/lib/types/interface/BS.d.ts +4 -0
- package/lib/types/interface/BS.js +3 -0
- package/lib/types/interface/BS.js.map +1 -0
- package/lib/types/interface/BSE.d.ts +4 -0
- package/lib/types/interface/BSE.js +3 -0
- package/lib/types/interface/BSE.js.map +1 -0
- package/lib/types/interface/C.d.ts +58 -0
- package/lib/types/interface/C.js +3 -0
- package/lib/types/interface/C.js.map +1 -0
- package/lib/types/interface/CA.d.ts +6 -0
- package/lib/types/interface/CA.js +3 -0
- package/lib/types/interface/CA.js.map +1 -0
- package/lib/types/interface/CH.d.ts +3 -0
- package/lib/types/interface/CH.js +3 -0
- package/lib/types/interface/CH.js.map +1 -0
- package/lib/types/interface/CS.d.ts +4 -0
- package/lib/types/interface/CS.js +3 -0
- package/lib/types/interface/CS.js.map +1 -0
- package/lib/types/interface/C_U.d.ts +4 -0
- package/lib/types/interface/C_U.js +3 -0
- package/lib/types/interface/C_U.js.map +1 -0
- package/lib/types/interface/Component.d.ts +6 -0
- package/lib/types/interface/Component.js +3 -0
- package/lib/types/interface/Component.js.map +1 -0
- package/lib/types/interface/E.d.ts +6 -0
- package/lib/types/interface/E.js +3 -0
- package/lib/types/interface/E.js.map +1 -0
- package/lib/types/interface/EE.d.ts +11 -0
- package/lib/types/interface/EE.js +3 -0
- package/lib/types/interface/EE.js.map +1 -0
- package/lib/types/interface/G.d.ts +371 -0
- package/lib/types/interface/G.js +3 -0
- package/lib/types/interface/G.js.map +1 -0
- package/lib/types/interface/IB.d.ts +3 -0
- package/lib/types/interface/IB.js +3 -0
- package/lib/types/interface/IB.js.map +1 -0
- package/lib/types/interface/J.d.ts +15 -0
- package/lib/types/interface/J.js +3 -0
- package/lib/types/interface/J.js.map +1 -0
- package/lib/types/interface/M.d.ts +2 -0
- package/lib/types/interface/M.js +3 -0
- package/lib/types/interface/M.js.map +1 -0
- package/lib/types/interface/P.d.ts +10 -0
- package/lib/types/interface/P.js +3 -0
- package/lib/types/interface/P.js.map +1 -0
- package/lib/types/interface/PS.d.ts +4 -0
- package/lib/types/interface/PS.js +3 -0
- package/lib/types/interface/PS.js.map +1 -0
- package/lib/types/interface/RE.d.ts +2 -0
- package/lib/types/interface/RE.js +3 -0
- package/lib/types/interface/RE.js.map +1 -0
- package/lib/types/interface/S.d.ts +8 -0
- package/lib/types/interface/S.js +3 -0
- package/lib/types/interface/S.js.map +1 -0
- package/lib/types/interface/ST.d.ts +5 -0
- package/lib/types/interface/ST.js +3 -0
- package/lib/types/interface/ST.js.map +1 -0
- package/lib/types/interface/U.d.ts +113 -0
- package/lib/types/interface/U.js +3 -0
- package/lib/types/interface/U.js.map +1 -0
- package/lib/types/interface/UCG.d.ts +4 -0
- package/lib/types/interface/UCG.js +3 -0
- package/lib/types/interface/UCG.js.map +1 -0
- package/lib/types/interface/V.d.ts +4 -0
- package/lib/types/interface/V.js +3 -0
- package/lib/types/interface/V.js.map +1 -0
- package/lib/types/interface/W.d.ts +6 -0
- package/lib/types/interface/W.js +3 -0
- package/lib/types/interface/W.js.map +1 -0
- package/lib/types/interface/async/$$.d.ts +0 -0
- package/lib/types/interface/async/$$.js +2 -0
- package/lib/types/interface/async/$$.js.map +1 -0
- package/lib/types/interface/async/$C.d.ts +35 -0
- package/lib/types/interface/async/$C.js +19 -0
- package/lib/types/interface/async/$C.js.map +1 -0
- package/lib/types/interface/async/$CS.d.ts +8 -0
- package/lib/types/interface/async/$CS.js +3 -0
- package/lib/types/interface/async/$CS.js.map +1 -0
- package/lib/types/interface/async/$Component.d.ts +5 -0
- package/lib/types/interface/async/$Component.js +3 -0
- package/lib/types/interface/async/$Component.js.map +1 -0
- package/lib/types/interface/async/$E.d.ts +8 -0
- package/lib/types/interface/async/$E.js +3 -0
- package/lib/types/interface/async/$E.js.map +1 -0
- package/lib/types/interface/async/$EE.d.ts +23 -0
- package/lib/types/interface/async/$EE.js +12 -0
- package/lib/types/interface/async/$EE.js.map +1 -0
- package/lib/types/interface/async/$Element.d.ts +8 -0
- package/lib/types/interface/async/$Element.js +3 -0
- package/lib/types/interface/async/$Element.js.map +1 -0
- package/lib/types/interface/async/$G.d.ts +341 -0
- package/lib/types/interface/async/$G.js +74 -0
- package/lib/types/interface/async/$G.js.map +1 -0
- package/lib/types/interface/async/$Graph.d.ts +10 -0
- package/lib/types/interface/async/$Graph.js +23 -0
- package/lib/types/interface/async/$Graph.js.map +1 -0
- package/lib/types/interface/async/$J.d.ts +20 -0
- package/lib/types/interface/async/$J.js +12 -0
- package/lib/types/interface/async/$J.js.map +1 -0
- package/lib/types/interface/async/$P.d.ts +24 -0
- package/lib/types/interface/async/$P.js +12 -0
- package/lib/types/interface/async/$P.js.map +1 -0
- package/lib/types/interface/async/$PS.d.ts +5 -0
- package/lib/types/interface/async/$PS.js +4 -0
- package/lib/types/interface/async/$PS.js.map +1 -0
- package/lib/types/interface/async/$ST.d.ts +14 -0
- package/lib/types/interface/async/$ST.js +7 -0
- package/lib/types/interface/async/$ST.js.map +1 -0
- package/lib/types/interface/async/$U.d.ts +53 -0
- package/lib/types/interface/async/$U.js +28 -0
- package/lib/types/interface/async/$U.js.map +1 -0
- package/lib/types/interface/async/$V.d.ts +17 -0
- package/lib/types/interface/async/$V.js +12 -0
- package/lib/types/interface/async/$V.js.map +1 -0
- package/lib/types/interface/async/$W.d.ts +21 -0
- package/lib/types/interface/async/$W.js +3 -0
- package/lib/types/interface/async/$W.js.map +1 -0
- package/lib/types/interface/async/$Wrap.d.ts +4 -0
- package/lib/types/interface/async/$Wrap.js +3 -0
- package/lib/types/interface/async/$Wrap.js.map +1 -0
- package/lib/types/interface/async/Async.d.ts +1 -0
- package/lib/types/interface/async/Async.js +28 -0
- package/lib/types/interface/async/Async.js.map +1 -0
- package/lib/types/interface/async/AsyncC.d.ts +6 -0
- package/lib/types/interface/async/AsyncC.js +43 -0
- package/lib/types/interface/async/AsyncC.js.map +1 -0
- package/lib/types/interface/async/AsyncComponent.d.ts +3 -0
- package/lib/types/interface/async/AsyncComponent.js +11 -0
- package/lib/types/interface/async/AsyncComponent.js.map +1 -0
- package/lib/types/interface/async/AsyncE.d.ts +6 -0
- package/lib/types/interface/async/AsyncE.js +20 -0
- package/lib/types/interface/async/AsyncE.js.map +1 -0
- package/lib/types/interface/async/AsyncEE.d.ts +6 -0
- package/lib/types/interface/async/AsyncEE.js +38 -0
- package/lib/types/interface/async/AsyncEE.js.map +1 -0
- package/lib/types/interface/async/AsyncElement.d.ts +3 -0
- package/lib/types/interface/async/AsyncElement.js +14 -0
- package/lib/types/interface/async/AsyncElement.js.map +1 -0
- package/lib/types/interface/async/AsyncG.d.ts +9 -0
- package/lib/types/interface/async/AsyncG.js +316 -0
- package/lib/types/interface/async/AsyncG.js.map +1 -0
- package/lib/types/interface/async/AsyncGraph.d.ts +3 -0
- package/lib/types/interface/async/AsyncGraph.js +10 -0
- package/lib/types/interface/async/AsyncGraph.js.map +1 -0
- package/lib/types/interface/async/AsyncJ.d.ts +6 -0
- package/lib/types/interface/async/AsyncJ.js +55 -0
- package/lib/types/interface/async/AsyncJ.js.map +1 -0
- package/lib/types/interface/async/AsyncST.d.ts +6 -0
- package/lib/types/interface/async/AsyncST.js +24 -0
- package/lib/types/interface/async/AsyncST.js.map +1 -0
- package/lib/types/interface/async/AsyncU.d.ts +8 -0
- package/lib/types/interface/async/AsyncU.js +101 -0
- package/lib/types/interface/async/AsyncU.js.map +1 -0
- package/lib/types/interface/async/AsyncUnit.d.ts +3 -0
- package/lib/types/interface/async/AsyncUnit.js +9 -0
- package/lib/types/interface/async/AsyncUnit.js.map +1 -0
- package/lib/types/interface/async/AsyncV.d.ts +6 -0
- package/lib/types/interface/async/AsyncV.js +50 -0
- package/lib/types/interface/async/AsyncV.js.map +1 -0
- package/lib/types/interface/async/AsyncW.d.ts +6 -0
- package/lib/types/interface/async/AsyncW.js +34 -0
- package/lib/types/interface/async/AsyncW.js.map +1 -0
- package/lib/types/interface/async/AsyncWrap.d.ts +2 -0
- package/lib/types/interface/async/AsyncWrap.js +20 -0
- package/lib/types/interface/async/AsyncWrap.js.map +1 -0
- package/lib/types/isNone.d.ts +1 -0
- package/lib/types/isNone.js +8 -0
- package/lib/types/isNone.js.map +1 -0
- package/lib/types/parser/randomValue.d.ts +26 -0
- package/lib/types/parser/randomValue.js +218 -0
- package/lib/types/parser/randomValue.js.map +1 -0
- package/lib/types/stringifyPinData.d.ts +9 -0
- package/lib/types/stringifyPinData.js +30 -0
- package/lib/types/stringifyPinData.js.map +1 -0
- package/lib/types/weakMerge.d.ts +1 -0
- package/lib/types/weakMerge.js +43 -0
- package/lib/types/weakMerge.js.map +1 -0
- package/lib/util/array/index.d.ts +18 -0
- package/lib/util/array/index.js +137 -0
- package/lib/util/array/index.js.map +1 -0
- package/lib/util/array/test.d.ts +1 -0
- package/lib/util/array/test.js +46 -0
- package/lib/util/array/test.js.map +1 -0
- package/lib/util/assert.d.ts +8 -0
- package/lib/util/assert.js +22 -0
- package/lib/util/assert.js.map +1 -0
- package/lib/util/call/callAll.d.ts +2 -0
- package/lib/util/call/callAll.js +10 -0
- package/lib/util/call/callAll.js.map +1 -0
- package/lib/util/call/callAllDict.d.ts +3 -0
- package/lib/util/call/callAllDict.js +13 -0
- package/lib/util/call/callAllDict.js.map +1 -0
- package/lib/util/control.d.ts +1 -0
- package/lib/util/control.js +10 -0
- package/lib/util/control.js.map +1 -0
- package/lib/util/element.d.ts +7 -0
- package/lib/util/element.js +34 -0
- package/lib/util/element.js.map +1 -0
- package/lib/util/graph/index.d.ts +7 -0
- package/lib/util/graph/index.js +15 -0
- package/lib/util/graph/index.js.map +1 -0
- package/lib/util/hashCode.d.ts +1 -0
- package/lib/util/hashCode.js +17 -0
- package/lib/util/hashCode.js.map +1 -0
- package/lib/util/id.d.ts +6 -0
- package/lib/util/id.js +50 -0
- package/lib/util/id.js.map +1 -0
- package/lib/util/identity.d.ts +1 -0
- package/lib/util/identity.js +8 -0
- package/lib/util/identity.js.map +1 -0
- package/lib/util/keyUpdateTree.d.ts +14 -0
- package/lib/util/keyUpdateTree.js +415 -0
- package/lib/util/keyUpdateTree.js.map +1 -0
- package/lib/util/object.d.ts +39 -0
- package/lib/util/object.js +289 -0
- package/lib/util/object.js.map +1 -0
- package/lib/util/promise.d.ts +3 -0
- package/lib/util/promise.js +40 -0
- package/lib/util/promise.js.map +1 -0
- package/lib/util/removeLastSegment.d.ts +1 -0
- package/lib/util/removeLastSegment.js +11 -0
- package/lib/util/removeLastSegment.js.map +1 -0
- package/lib/util/stream/stopMediaStream.d.ts +1 -0
- package/lib/util/stream/stopMediaStream.js +8 -0
- package/lib/util/stream/stopMediaStream.js.map +1 -0
- package/lib/util/string.d.ts +2 -0
- package/lib/util/string.js +12 -0
- package/lib/util/string.js.map +1 -0
- package/lib/util/svg/index.d.ts +12 -0
- package/lib/util/svg/index.js +10 -0
- package/lib/util/svg/index.js.map +1 -0
- package/lib/util/text/getDivTextSize.d.ts +2 -0
- package/lib/util/text/getDivTextSize.js +38 -0
- package/lib/util/text/getDivTextSize.js.map +1 -0
- package/lib/util/text/getPlainTextHeight.d.ts +1 -0
- package/lib/util/text/getPlainTextHeight.js +10 -0
- package/lib/util/text/getPlainTextHeight.js.map +1 -0
- package/lib/util/text/getPlainTextSize.d.ts +2 -0
- package/lib/util/text/getPlainTextSize.js +12 -0
- package/lib/util/text/getPlainTextSize.js.map +1 -0
- package/lib/util/text/getPlainTextWidth.d.ts +1 -0
- package/lib/util/text/getPlainTextWidth.js +11 -0
- package/lib/util/text/getPlainTextWidth.js.map +1 -0
- package/lib/util/text/getTextAreaSize.d.ts +2 -0
- package/lib/util/text/getTextAreaSize.js +24 -0
- package/lib/util/text/getTextAreaSize.js.map +1 -0
- package/lib/v.d.ts +1 -0
- package/lib/v.js +5 -0
- package/lib/v.js.map +1 -0
- package/lib/version.d.ts +1 -0
- package/lib/version.js +8 -0
- package/lib/version.js.map +1 -0
- package/lib/worker/system.d.ts +1 -0
- package/lib/worker/system.js +24 -0
- package/lib/worker/system.js.map +1 -0
- package/lib/wrap/MediaStream.d.ts +3 -0
- package/lib/wrap/MediaStream.js +20 -0
- package/lib/wrap/MediaStream.js.map +1 -0
- package/lib/wrap/System.d.ts +6 -0
- package/lib/wrap/System.js +28 -0
- package/lib/wrap/System.js.map +1 -0
- package/lib/wrap/Value.d.ts +4 -0
- package/lib/wrap/Value.js +33 -0
- package/lib/wrap/Value.js.map +1 -0
- package/nodemon.json +8 -0
- package/package.json +82 -0
- package/public/_sw.js +1 -0
- package/public/_worker.js +68915 -0
- package/public/_worker.js.map +7 -0
- package/public/browserconfig.xml +11 -0
- package/public/favicon.ico +0 -0
- package/public/favicon_1024.png +0 -0
- package/public/favicon_114.png +0 -0
- package/public/favicon_120.png +0 -0
- package/public/favicon_128.png +0 -0
- package/public/favicon_144.png +0 -0
- package/public/favicon_150.png +0 -0
- package/public/favicon_152.png +0 -0
- package/public/favicon_16.png +0 -0
- package/public/favicon_160.png +0 -0
- package/public/favicon_180.png +0 -0
- package/public/favicon_192.png +0 -0
- package/public/favicon_256.png +0 -0
- package/public/favicon_310.png +0 -0
- package/public/favicon_32.png +0 -0
- package/public/favicon_48.png +0 -0
- package/public/favicon_512.png +0 -0
- package/public/favicon_57.png +0 -0
- package/public/favicon_60.png +0 -0
- package/public/favicon_64.png +0 -0
- package/public/favicon_70.png +0 -0
- package/public/favicon_72.png +0 -0
- package/public/favicon_76.png +0 -0
- package/public/favicon_96.png +0 -0
- package/public/fonts/Inconsolata-Bold.eot +0 -0
- package/public/fonts/Inconsolata-Bold.svg +745 -0
- package/public/fonts/Inconsolata-Bold.ttf +0 -0
- package/public/fonts/Inconsolata-Bold.woff +0 -0
- package/public/fonts/Inconsolata-Bold.woff2 +0 -0
- package/public/fonts/Inconsolata-Regular.eot +0 -0
- package/public/fonts/Inconsolata-Regular.svg +743 -0
- package/public/fonts/Inconsolata-Regular.ttf +0 -0
- package/public/fonts/Inconsolata-Regular.woff +0 -0
- package/public/fonts/Inconsolata-Regular.woff2 +0 -0
- package/public/gif/0.gif +0 -0
- package/public/gif/core/add.gif +0 -0
- package/public/gif/core/addLength.gif +0 -0
- package/public/gif/start/0.gif +0 -0
- package/public/gif/start/1.gif +0 -0
- package/public/gif/start/10.gif +0 -0
- package/public/gif/start/11.gif +0 -0
- package/public/gif/start/12.gif +0 -0
- package/public/gif/start/14.gif +0 -0
- package/public/gif/start/15.gif +0 -0
- package/public/gif/start/16.gif +0 -0
- package/public/gif/start/17.gif +0 -0
- package/public/gif/start/18.gif +0 -0
- package/public/gif/start/19.gif +0 -0
- package/public/gif/start/20.gif +0 -0
- package/public/gif/start/21.gif +0 -0
- package/public/gif/start/22.gif +0 -0
- package/public/gif/start/23.gif +0 -0
- package/public/gif/start/24.gif +0 -0
- package/public/gif/start/25.gif +0 -0
- package/public/gif/start/26.gif +0 -0
- package/public/gif/start/27.gif +0 -0
- package/public/gif/start/28.gif +0 -0
- package/public/gif/start/29.gif +0 -0
- package/public/gif/start/3.gif +0 -0
- package/public/gif/start/30.gif +0 -0
- package/public/gif/start/31.gif +0 -0
- package/public/gif/start/32.gif +0 -0
- package/public/gif/start/33.gif +0 -0
- package/public/gif/start/34.gif +0 -0
- package/public/gif/start/35.gif +0 -0
- package/public/gif/start/36.gif +0 -0
- package/public/gif/start/4.gif +0 -0
- package/public/gif/start/5.gif +0 -0
- package/public/gif/start/6.gif +0 -0
- package/public/gif/start/7.gif +0 -0
- package/public/gif/start/8.gif +0 -0
- package/public/gif/start/9.gif +0 -0
- package/public/index.html +96 -0
- package/public/index.js +70236 -0
- package/public/index.js.map +7 -0
- package/public/logo.svg +15 -0
- package/public/manifest.json +70 -0
- package/public/safari-pinned-tab.svg +49 -0
- package/public/screenshot/unit_screenshot_1280_800.png +0 -0
- package/public/screenshot/unit_screenshot_750_1334.png +0 -0
- package/public/sw.js +80 -0
- package/public/sw.js.map +7 -0
- package/src/AsyncWorker.ts +270 -0
- package/src/Class/$.ts +43 -0
- package/src/Class/Element/index.ts +161 -0
- package/src/Class/Functional/Done.ts +1 -0
- package/src/Class/Functional/index.ts +209 -0
- package/src/Class/Graph/index.ts +6456 -0
- package/src/Class/Merge.ts +249 -0
- package/src/Class/Semifunctional/index.ts +214 -0
- package/src/Class/Stateful.ts +134 -0
- package/src/Class/Unit/index.ts +1198 -0
- package/src/Class/WaitAll.ts +25 -0
- package/src/EventEmitter.ts +107 -0
- package/src/Heap.ts +244 -0
- package/src/MIMO.ts +17 -0
- package/src/NOOP.ts +1 -0
- package/src/Object.ts +201 -0
- package/src/ObjectSource.ts +37 -0
- package/src/ObjectWaiter.ts +31 -0
- package/src/Pin.ts +186 -0
- package/src/PinOpt.ts +3 -0
- package/src/PinOpts.ts +4 -0
- package/src/Pins.ts +5 -0
- package/src/Primitive.ts +693 -0
- package/src/RemoteClient.ts +55 -0
- package/src/RemotePort.ts +161 -0
- package/src/Serial.ts +101 -0
- package/src/SharedObject.ts +49 -0
- package/src/State.ts +3 -0
- package/src/Tree.ts +5 -0
- package/src/api/keys/index.ts +103 -0
- package/src/api/peer/Peer.ts +285 -0
- package/src/api/server/index.ts +0 -0
- package/src/api/server/peer/config.ts +17 -0
- package/src/api/server/peer/id.ts +23 -0
- package/src/api/speech/index.ts +143 -0
- package/src/api/storage/cloud/index.ts +1 -0
- package/src/api/storage/local/index.ts +0 -0
- package/src/api/storage/session/index.ts +0 -0
- package/src/boot/index.ts +295 -0
- package/src/bundle.ts +119 -0
- package/src/client/DEFAULT_FONT_SIZE.ts +4 -0
- package/src/client/IOElement.ts +1 -0
- package/src/client/LOREM_IPSUM.ts +1 -0
- package/src/client/LayoutNode.ts +10 -0
- package/src/client/Listenable.ts +15 -0
- package/src/client/Listener.ts +4 -0
- package/src/client/MAX_Z_INDEX.ts +1 -0
- package/src/client/Mountable.ts +6 -0
- package/src/client/MutationObserver_.ts +10 -0
- package/src/client/PositionObserver.ts +406 -0
- package/src/client/RemoteAPI.ts +118 -0
- package/src/client/RemoteRef.ts +70 -0
- package/src/client/ResizeObserver_.ts +10 -0
- package/src/client/SYSTEM_ROOT_ID.ts +1 -0
- package/src/client/addGlobalBlurListener.ts +21 -0
- package/src/client/addListener.ts +47 -0
- package/src/client/animation/ANIMATION_C.ts +1 -0
- package/src/client/animation/ANIMATION_T_S.ts +3 -0
- package/src/client/animation/animation.ts +22 -0
- package/src/client/applyAttr.ts +17 -0
- package/src/client/applyDataset.ts +17 -0
- package/src/client/broadcast.ts +49 -0
- package/src/client/cache.ts +63 -0
- package/src/client/classnames.ts +31 -0
- package/src/client/color.ts +378 -0
- package/src/client/complexity.ts +46 -0
- package/src/client/component/getDatumSize.ts +276 -0
- package/src/client/component/mergeProps.ts +12 -0
- package/src/client/component/mergeStyle.ts +11 -0
- package/src/client/component/namespaceURI.ts +1 -0
- package/src/client/component/toggleProp.ts +8 -0
- package/src/client/component.ts +1886 -0
- package/src/client/componentClassFromSpec.ts +92 -0
- package/src/client/componentClassFromSpecId.ts +44 -0
- package/src/client/componentFromSpec.ts +15 -0
- package/src/client/componentFromSpecId.ts +17 -0
- package/src/client/componentFromUnitSpec.ts +13 -0
- package/src/client/component_.ts +12 -0
- package/src/client/context.ts +207 -0
- package/src/client/createParent.ts +25 -0
- package/src/client/database.ts +38 -0
- package/src/client/debounce.ts +30 -0
- package/src/client/dnd.ts +231 -0
- package/src/client/dragOverTimeListener.ts +41 -0
- package/src/client/drawing.ts +215 -0
- package/src/client/element.ts +153 -0
- package/src/client/empty.ts +1 -0
- package/src/client/ensureIcon.ts +39 -0
- package/src/client/enterFullscreen.ts +6 -0
- package/src/client/env.ts +7 -0
- package/src/client/event/change.ts +14 -0
- package/src/client/event/custom/index.ts +53 -0
- package/src/client/event/dataset.ts +11 -0
- package/src/client/event/drag/dragcancel.ts +32 -0
- package/src/client/event/drag/dragdrop.ts +32 -0
- package/src/client/event/drag/dragenter.ts +32 -0
- package/src/client/event/drag/dragleave.ts +32 -0
- package/src/client/event/drag/dragover.ts +32 -0
- package/src/client/event/focus/FocusEvent.ts +3 -0
- package/src/client/event/focus/blur.ts +27 -0
- package/src/client/event/focus/focus.ts +27 -0
- package/src/client/event/focus/focusin.ts +27 -0
- package/src/client/event/focus/focusout.ts +27 -0
- package/src/client/event/gamepad/index.ts +131 -0
- package/src/client/event/index.ts +32 -0
- package/src/client/event/input.ts +14 -0
- package/src/client/event/keyboard/index.ts +907 -0
- package/src/client/event/keyboard/keyCode.ts +569 -0
- package/src/client/event/paste.ts +30 -0
- package/src/client/event/pointer/click.ts +311 -0
- package/src/client/event/pointer/index.ts +109 -0
- package/src/client/event/pointer/pointercancel.ts +20 -0
- package/src/client/event/pointer/pointerdown.ts +20 -0
- package/src/client/event/pointer/pointerenter.ts +20 -0
- package/src/client/event/pointer/pointerleave.ts +20 -0
- package/src/client/event/pointer/pointermove.ts +20 -0
- package/src/client/event/pointer/pointerout.ts +20 -0
- package/src/client/event/pointer/pointerover.ts +20 -0
- package/src/client/event/pointer/pointerup.ts +20 -0
- package/src/client/event/resize/index.ts +25 -0
- package/src/client/event/scroll.ts +32 -0
- package/src/client/event/system/index.ts +0 -0
- package/src/client/event/touch/index.ts +6 -0
- package/src/client/event/touch/touchend.ts +47 -0
- package/src/client/event/touch/touchmove.ts +47 -0
- package/src/client/event/wheel.ts +100 -0
- package/src/client/extension/index.ts +80 -0
- package/src/client/extension/src/README.md +3 -0
- package/src/client/extension/src/background.ts +20 -0
- package/src/client/extension/src/content.ts +47 -0
- package/src/client/extension/src/favicon_128.png +0 -0
- package/src/client/extension/src/favicon_16.png +0 -0
- package/src/client/extension/src/favicon_32.png +0 -0
- package/src/client/extension/src/favicon_48.png +0 -0
- package/src/client/extension/src/manifest.json +71 -0
- package/src/client/extension/src/options.html +20 -0
- package/src/client/extension/src/options.ts +20 -0
- package/src/client/extension/src/popup.html +75 -0
- package/src/client/extension/src/popup.ts +4 -0
- package/src/client/extractStyle.ts +125 -0
- package/src/client/extractTrait.ts +90 -0
- package/src/client/fetch.ts +22 -0
- package/src/client/field.ts +88 -0
- package/src/client/findRef.ts +16 -0
- package/src/client/fuzzy.ts +51 -0
- package/src/client/getSize.ts +22 -0
- package/src/client/graph/constant/DEFAULT_STYLE.ts +10 -0
- package/src/client/graph/constant/KEY_TO_MODE.ts +8 -0
- package/src/client/graph/shortcut/modes.ts +80 -0
- package/src/client/graph.ts +334 -0
- package/src/client/graphComponentFromSpec.ts +55 -0
- package/src/client/html/index.ts +0 -0
- package/src/client/html/meta.ts +31 -0
- package/src/client/icons/LICENCE +15 -0
- package/src/client/icons/index.ts +548 -0
- package/src/client/id/index.ts +545 -0
- package/src/client/id/randomInArray.ts +3 -0
- package/src/client/id/styleToCSS.ts +10 -0
- package/src/client/id/test.ts +137 -0
- package/src/client/idFromUnitValue.ts +26 -0
- package/src/client/index.ts +0 -0
- package/src/client/isScrollable.ts +55 -0
- package/src/client/leaveFullscreen.ts +6 -0
- package/src/client/listenMovement.ts +30 -0
- package/src/client/localhost.ts +3 -0
- package/src/client/log.ts +18 -0
- package/src/client/makeEventListener.ts +95 -0
- package/src/client/makeRemoteUnitAPI.ts +99 -0
- package/src/client/makeUnitRemoteRef.ts +24 -0
- package/src/client/math.ts +26 -0
- package/src/client/mode.ts +18 -0
- package/src/client/mount.ts +6 -0
- package/src/client/paperBackground.ts +20 -0
- package/src/client/parseBorder.ts +37 -0
- package/src/client/parseLayoutValue.ts +35 -0
- package/src/client/parseMargin.ts +42 -0
- package/src/client/parseRelativeUnit.ts +29 -0
- package/src/client/parseTransformXY.ts +149 -0
- package/src/client/parser.ts +49 -0
- package/src/client/platform/node/boot.ts +15 -0
- package/src/client/platform/node/index.ts +3 -0
- package/src/client/platform/web/api/animation.ts +14 -0
- package/src/client/platform/web/api/bluetooth.ts +60 -0
- package/src/client/platform/web/api/channel.ts +25 -0
- package/src/client/platform/web/api/clipboard.ts +28 -0
- package/src/client/platform/web/api/db.ts +7 -0
- package/src/client/platform/web/api/device.ts +16 -0
- package/src/client/platform/web/api/document.ts +46 -0
- package/src/client/platform/web/api/file.ts +113 -0
- package/src/client/platform/web/api/geolocation.ts +35 -0
- package/src/client/platform/web/api/http.ts +30 -0
- package/src/client/platform/web/api/input.ts +126 -0
- package/src/client/platform/web/api/media.ts +90 -0
- package/src/client/platform/web/api/querystring.ts +25 -0
- package/src/client/platform/web/api/screen.ts +15 -0
- package/src/client/platform/web/api/selection.ts +26 -0
- package/src/client/platform/web/api/speech.ts +134 -0
- package/src/client/platform/web/api/storage.ts +11 -0
- package/src/client/platform/web/api/text.ts +19 -0
- package/src/client/platform/web/api/uri.ts +14 -0
- package/src/client/platform/web/api/url.ts +13 -0
- package/src/client/platform/web/api/worker.ts +14 -0
- package/src/client/platform/web/boot.ts +114 -0
- package/src/client/platform/web/clearSelection.ts +4 -0
- package/src/client/platform/web/createFullwindow.ts +26 -0
- package/src/client/platform/web/createIframe.ts +7 -0
- package/src/client/platform/web/createPopupWindow.ts +11 -0
- package/src/client/platform/web/createRect.ts +21 -0
- package/src/client/platform/web/index.ts +54 -0
- package/src/client/platform/web/init.ts +128 -0
- package/src/client/platform/web/parentElement.ts +17 -0
- package/src/client/platform/web/render.ts +35 -0
- package/src/client/platform/web/sw.ts +100 -0
- package/src/client/platform/web/workerPort.ts +32 -0
- package/src/client/pointerScroll.ts +20 -0
- package/src/client/processNumberValue.ts +17 -0
- package/src/client/propHandler.ts +95 -0
- package/src/client/reflectChildrenTrait.ts +597 -0
- package/src/client/reflectComponentBaseTrait.ts +244 -0
- package/src/client/remote/$makeRemoteUnitAPI.ts +98 -0
- package/src/client/render/Client.ts +7 -0
- package/src/client/render/attachApp.ts +26 -0
- package/src/client/render/attachCanvas.ts +21 -0
- package/src/client/render/attachFocus.ts +194 -0
- package/src/client/render/attachGesture.ts +141 -0
- package/src/client/render/attachLongPress.ts +75 -0
- package/src/client/render/attachSVG.ts +28 -0
- package/src/client/render/attachSprite.ts +22 -0
- package/src/client/render/attachStyle.ts +156 -0
- package/src/client/render/index.ts +14 -0
- package/src/client/render/renderBundle.ts +21 -0
- package/src/client/render/renderGraph.ts +48 -0
- package/src/client/render/watchGraphComponent.ts +86 -0
- package/src/client/renderCross.ts +32 -0
- package/src/client/renderFrame.ts +95 -0
- package/src/client/resizeWith.ts +36 -0
- package/src/client/resources.ts +1 -0
- package/src/client/root.ts +5 -0
- package/src/client/search.ts +44 -0
- package/src/client/service.ts +28 -0
- package/src/client/setupCanvas.ts +9 -0
- package/src/client/showNotification.ts +71 -0
- package/src/client/simulation.ts +309 -0
- package/src/client/sink.ts +2 -0
- package/src/client/spec.ts +352 -0
- package/src/client/static/font/dataURI.ts +2 -0
- package/src/client/stopPropagation.ts +42 -0
- package/src/client/store.ts +178 -0
- package/src/client/style.ts +135 -0
- package/src/client/theme.ts +262 -0
- package/src/client/throttle.ts +75 -0
- package/src/client/toggleFullscreen.ts +11 -0
- package/src/client/unmount.ts +5 -0
- package/src/client/util/geometry/index.ts +739 -0
- package/src/client/util/geometry/unit/getUnitPinAngle.ts +16 -0
- package/src/client/util/geometry/unit/getUnitPinPosition.ts +19 -0
- package/src/client/util/getChildIndex.ts +5 -0
- package/src/client/util/replaceChild.ts +10 -0
- package/src/client/util/style/getFontSize.ts +16 -0
- package/src/client/util/style/getOpacity.ts +17 -0
- package/src/client/util/style/getPosition.ts +178 -0
- package/src/client/util/style/getRect.ts +15 -0
- package/src/client/util/style/getScale.ts +30 -0
- package/src/client/util/style/getSize.ts +60 -0
- package/src/client/util/style/getTextAlign.ts +13 -0
- package/src/client/util/style/userSelect.ts +5 -0
- package/src/client/util/web/clipboard.ts +25 -0
- package/src/client/util/web/isPWA.ts +5 -0
- package/src/client/util/web/measureText.ts +29 -0
- package/src/client/util/web/storage.ts +42 -0
- package/src/client/whenInteracted.ts +37 -0
- package/src/client/zoom.ts +63 -0
- package/src/cloneUnitClass.ts +21 -0
- package/src/component/$component.ts +114 -0
- package/src/component/Child.ts +5 -0
- package/src/component/Children.ts +3 -0
- package/src/component/method.ts +223 -0
- package/src/constant/ASYNC_GRAPH_PROXY_CALL_FILTER.ts +7 -0
- package/src/constant/ASYNC_GRAPH_PROXY_WATCH_FILTER.ts +1 -0
- package/src/constant/GRAPH_DEFAULT_EVENTS.ts +28 -0
- package/src/constant/GRAPH_PROXY_CALL_FILTER.ts +8 -0
- package/src/constant/LINK_DISTANCE.ts +7 -0
- package/src/constant/OPENING.ts +3 -0
- package/src/constant/PIN_RADIUS.ts +1 -0
- package/src/constant/SELF.ts +1 -0
- package/src/constant/STRING.ts +13 -0
- package/src/debug/ComponentAppendChildMoment.ts +4 -0
- package/src/debug/ComponentLeafAppendChildAtMoment.ts +4 -0
- package/src/debug/ComponentLeafRemoveChildAtMoment.ts +4 -0
- package/src/debug/ComponentRemoveChildAtMoment.ts +3 -0
- package/src/debug/GraphMergePinDataMoment.ts +15 -0
- package/src/debug/GraphMergePinDropMoment.ts +15 -0
- package/src/debug/GraphMergePinMoment.ts +6 -0
- package/src/debug/GraphMoment.ts +5 -0
- package/src/debug/GraphUnitErrMoment.ts +8 -0
- package/src/debug/GraphUnitMoment.ts +4 -0
- package/src/debug/GraphUnitPinDataMoment.ts +15 -0
- package/src/debug/GraphUnitPinDropMoment.ts +13 -0
- package/src/debug/GraphUnitPinMoment.ts +4 -0
- package/src/debug/GraphUnitSpecMoment.ts +8 -0
- package/src/debug/Moment.ts +5 -0
- package/src/debug/PinDataMoment.ts +15 -0
- package/src/debug/PinDropMoment.ts +13 -0
- package/src/debug/PinType.ts +8 -0
- package/src/debug/UnitErrMoment.ts +10 -0
- package/src/debug/UnitMoment.ts +10 -0
- package/src/debug/UnitRenamePinMoment.ts +12 -0
- package/src/debug/graph/watchGraph.ts +164 -0
- package/src/debug/graph/watchGraphExposedPinEvent.ts +44 -0
- package/src/debug/graph/watchGraphExposedPinSetEvent.ts +45 -0
- package/src/debug/graph/watchGraphForkEvent.ts +30 -0
- package/src/debug/graph/watchGraphInjectEvent.ts +40 -0
- package/src/debug/graph/watchGraphInternal.ts +69 -0
- package/src/debug/graph/watchGraphMerge.ts +27 -0
- package/src/debug/graph/watchGraphMergeEvent.ts +36 -0
- package/src/debug/graph/watchGraphMoveSubgraphIntoEvent.ts +58 -0
- package/src/debug/graph/watchGraphPinMergeEvent.ts +43 -0
- package/src/debug/graph/watchGraphPlugEvent.ts +44 -0
- package/src/debug/graph/watchGraphSetPinSetIdEvent.ts +39 -0
- package/src/debug/graph/watchGraphSetUnitIdEvent.ts +40 -0
- package/src/debug/graph/watchGraphSetUnitPinConstantEvent.ts +41 -0
- package/src/debug/graph/watchGraphSetUnitPinDataEvent.ts +41 -0
- package/src/debug/graph/watchGraphUnitComponentAppendEvent.ts +38 -0
- package/src/debug/graph/watchGraphUnitComponentRemoveEvent.ts +31 -0
- package/src/debug/graph/watchGraphUnitEvent.ts +68 -0
- package/src/debug/graph/watchGraphUnitMoveEvent.ts +40 -0
- package/src/debug/index.ts +65 -0
- package/src/debug/runner.ts +76 -0
- package/src/debug/watchGraphUnit.ts +43 -0
- package/src/debug/watchInput.ts +11 -0
- package/src/debug/watchOutput.ts +11 -0
- package/src/debug/watchPin.ts +26 -0
- package/src/debug/watchPinEvent.ts +37 -0
- package/src/debug/watchRefInput.ts +11 -0
- package/src/debug/watchRefOutput.ts +16 -0
- package/src/debug/watchRefPin.ts +22 -0
- package/src/debug/watchRefPinEvent.ts +52 -0
- package/src/debug/watchTree.ts +40 -0
- package/src/debug/watchUnit.ts +53 -0
- package/src/debug/watchUnitErr.ts +27 -0
- package/src/debug/watchUnitErrEvent.ts +20 -0
- package/src/debug/watchUnitEvent.ts +123 -0
- package/src/debug/watchUnitIO.ts +194 -0
- package/src/debug/watchUnitIOSpec.ts +34 -0
- package/src/debug/watchUnitSpecEvent.ts +31 -0
- package/src/docs/concept/README.md +35 -0
- package/src/docs/input/README.md +66 -0
- package/src/docs/start/README.md +163 -0
- package/src/envoltory.ts +23 -0
- package/src/events/DataEvent.ts +3 -0
- package/src/events/ErrorEvent.ts +3 -0
- package/src/exception/APINotImplementedError.ts +5 -0
- package/src/exception/ChildOutOfBoundError.ts +5 -0
- package/src/exception/DisplayMediaAPINotSupported.ts +7 -0
- package/src/exception/DuplicatedInputFoundError.ts +5 -0
- package/src/exception/DuplicatedOutputFoundError.ts +5 -0
- package/src/exception/InputNotFoundError.ts +5 -0
- package/src/exception/InvalidArgumentType.ts +1 -0
- package/src/exception/InvalidStateError.ts +5 -0
- package/src/exception/ListenerNotFoundError.ts +5 -0
- package/src/exception/MediaDeviceAPINotSupported.ts +7 -0
- package/src/exception/MergeNotFoundError.ts +5 -0
- package/src/exception/MethodNotImplementedError.ts +5 -0
- package/src/exception/OutputNotFoundError.ts +5 -0
- package/src/exception/ShouldNeverHappenError.ts +5 -0
- package/src/exception/UnitNotFoundError.ts +5 -0
- package/src/global.ts +30 -0
- package/src/graphFromPort.ts +568 -0
- package/src/handleElementInputEvent.ts +13 -0
- package/src/host/none.ts +261 -0
- package/src/index.ts +6 -0
- package/src/interface.ts +33 -0
- package/src/isFrameRelative.ts +3 -0
- package/src/isParentRelative.ts +3 -0
- package/src/path.ts +32 -0
- package/src/process/share/local/index.ts +112 -0
- package/src/process/share/local/uuidNotInLocalStorage.ts +11 -0
- package/src/process/share/tab/index.ts +0 -0
- package/src/proxyWrap.ts +65 -0
- package/src/script/build/client.ts +15 -0
- package/src/script/build/ext.ts +19 -0
- package/src/script/build/meta/client.ts +24 -0
- package/src/script/build/sw.ts +15 -0
- package/src/script/build/system.ts +4 -0
- package/src/script/build/worker/system.ts +15 -0
- package/src/script/build.ts +9 -0
- package/src/script/complexity.ts +129 -0
- package/src/script/render.ts +26 -0
- package/src/script/sync.ts +126 -0
- package/src/script/type.ts +29 -0
- package/src/script/util.ts +30 -0
- package/src/script/v.ts +5 -0
- package/src/script/watch/client.ts +16 -0
- package/src/script/watch/sw.ts +16 -0
- package/src/script/watch/worker/system.ts +16 -0
- package/src/server/env.ts +4 -0
- package/src/server/index.ts +95 -0
- package/src/server/port.ts +1 -0
- package/src/sleep.ts +5 -0
- package/src/spec/Lazy.ts +924 -0
- package/src/spec/SpecNotFoundError.ts +5 -0
- package/src/spec/actions/component.ts +70 -0
- package/src/spec/actions/data.ts +43 -0
- package/src/spec/actions/index.ts +2 -0
- package/src/spec/actions/spec.ts +535 -0
- package/src/spec/actions/specs.ts +3 -0
- package/src/spec/bundleClass.ts +29 -0
- package/src/spec/cloneBundle.ts +10 -0
- package/src/spec/cloneUnit.ts +27 -0
- package/src/spec/compatibility.ts +50 -0
- package/src/spec/complexity.ts +119 -0
- package/src/spec/emptyBundleSpec.ts +14 -0
- package/src/spec/emptyIO.ts +6 -0
- package/src/spec/emptySpec.ts +20 -0
- package/src/spec/evaluate.ts +66 -0
- package/src/spec/extract.ts +288 -0
- package/src/spec/fromBundle.ts +22 -0
- package/src/spec/fromId.ts +49 -0
- package/src/spec/fromSpec.ts +125 -0
- package/src/spec/index.ts +1 -0
- package/src/spec/mergeSort.ts +26 -0
- package/src/spec/parser.ts +1905 -0
- package/src/spec/primitive.ts +34 -0
- package/src/spec/reducers/component.ts +149 -0
- package/src/spec/reducers/data.ts +50 -0
- package/src/spec/reducers/index.ts +4 -0
- package/src/spec/reducers/spec.ts +886 -0
- package/src/spec/reducers/spec_.ts +720 -0
- package/src/spec/reducers/specs.ts +37 -0
- package/src/spec/regex/ARITHMETIC_LITERAL.ts +2 -0
- package/src/spec/regex/BOOLEAN_LITERAL.ts +1 -0
- package/src/spec/regex/IDENTIFIER.ts +4 -0
- package/src/spec/regex/NUMBER_LITERAL.ts +5 -0
- package/src/spec/regex/STRING_LITERAL.ts +1 -0
- package/src/spec/staticfy.ts +9 -0
- package/src/spec/stringify.ts +65 -0
- package/src/spec/stringifySpec.ts +30 -0
- package/src/spec/type.ts +707 -0
- package/src/spec/unitFromSpec.ts +62 -0
- package/src/spec/util.ts +187 -0
- package/src/start.ts +20 -0
- package/src/system/_classes.ts +545 -0
- package/src/system/_components.ts +129 -0
- package/src/system/_ids.ts +733 -0
- package/src/system/_specs.ts +1 -0
- package/src/system/core/Empty/spec.json +18 -0
- package/src/system/core/arithmetic/Add3/spec.json +76 -0
- package/src/system/core/array/AddLength/spec.json +83 -0
- package/src/system/core/array/AppendIf/spec.json +122 -0
- package/src/system/core/array/ArrayBuilder/spec.json +76 -0
- package/src/system/core/array/ArrayBuilderFrom/spec.json +111 -0
- package/src/system/core/array/AtOrDefault/spec.json +156 -0
- package/src/system/core/array/AtPath/spec.json +169 -0
- package/src/system/core/array/Chop3/spec.json +107 -0
- package/src/system/core/array/Concat3/spec.json +77 -0
- package/src/system/core/array/DropFirst/f.ts +10 -0
- package/src/system/core/array/DropFirst/spec.json +64 -0
- package/src/system/core/array/DropLast/f.ts +14 -0
- package/src/system/core/array/DropLast/spec.json +117 -0
- package/src/system/core/array/EmptyArray/spec.json +49 -0
- package/src/system/core/array/FillBothEnd/spec.json +107 -0
- package/src/system/core/array/FillEnd/spec.json +118 -0
- package/src/system/core/array/Filter/spec.json +198 -0
- package/src/system/core/array/FilterPropEqual/spec.json +161 -0
- package/src/system/core/array/FindIndex/spec.json +205 -0
- package/src/system/core/array/FindLastIndex/spec.json +112 -0
- package/src/system/core/array/FindLastIndexFrom/spec.json +122 -0
- package/src/system/core/array/FindLastIndexFromOrDefault/spec.json +205 -0
- package/src/system/core/array/First/spec.json +53 -0
- package/src/system/core/array/First3/spec.json +102 -0
- package/src/system/core/array/ForEach/spec.json +90 -0
- package/src/system/core/array/ForEachFrom/spec.json +156 -0
- package/src/system/core/array/HeadOrDefault/spec.json +122 -0
- package/src/system/core/array/Includes/spec.json +516 -0
- package/src/system/core/array/Init/spec.json +81 -0
- package/src/system/core/array/IsNotEmpty/spec.json +62 -0
- package/src/system/core/array/Level/spec.json +119 -0
- package/src/system/core/array/Map/spec.json +125 -0
- package/src/system/core/array/Map2/spec.json +161 -0
- package/src/system/core/array/Map2From/spec.json +126 -0
- package/src/system/core/array/Multiply/spec.json +94 -0
- package/src/system/core/array/Pair/spec.json +83 -0
- package/src/system/core/array/PrependIf/spec.json +91 -0
- package/src/system/core/array/PrependIfNot/spec.json +80 -0
- package/src/system/core/array/RangeArray/spec.json +87 -0
- package/src/system/core/array/Reduce/spec.json +118 -0
- package/src/system/core/array/RemoveIndex/f.ts +12 -0
- package/src/system/core/array/RemoveIndex/spec.json +95 -0
- package/src/system/core/array/Reverse/spec.json +85 -0
- package/src/system/core/array/Shuffle/spec.json +70 -0
- package/src/system/core/array/ShuffleRangeArray/spec.json +59 -0
- package/src/system/core/array/ShuffleToRec/spec.json +186 -0
- package/src/system/core/array/Single/spec.json +49 -0
- package/src/system/core/array/SplitAt/f.ts +18 -0
- package/src/system/core/array/SplitAt/spec.json +114 -0
- package/src/system/core/array/SplitInHalf/spec.json +113 -0
- package/src/system/core/array/SumAll/spec.json +95 -0
- package/src/system/core/array/Swap/f.ts +7 -0
- package/src/system/core/array/Swap/spec.json +175 -0
- package/src/system/core/array/Triplet/spec.json +92 -0
- package/src/system/core/assert/Assert/spec.json +80 -0
- package/src/system/core/assert/AssertEqual/spec.json +82 -0
- package/src/system/core/assert/Validate/spec.json +94 -0
- package/src/system/core/common/Alphabet/spec.json +39 -0
- package/src/system/core/common/ArrayBitwiseAnd/spec.json +155 -0
- package/src/system/core/common/ArrayIntersection/spec.json +186 -0
- package/src/system/core/common/CompareLT/spec.json +89 -0
- package/src/system/core/common/CompareLTE/spec.json +87 -0
- package/src/system/core/common/ConstantOne/spec.json +42 -0
- package/src/system/core/common/ConstantTrueFalse/spec.json +45 -0
- package/src/system/core/common/Decrement/spec.json +50 -0
- package/src/system/core/common/Duplicate/spec.json +49 -0
- package/src/system/core/common/FizzBuzz/spec.json +201 -0
- package/src/system/core/common/ForEachReverse/spec.json +148 -0
- package/src/system/core/common/GreaterThan0/spec.json +49 -0
- package/src/system/core/common/Half/spec.json +47 -0
- package/src/system/core/common/HasLength/spec.json +88 -0
- package/src/system/core/common/HasLengthLessThan/spec.json +88 -0
- package/src/system/core/common/HasntLength/spec.json +94 -0
- package/src/system/core/common/If50Chance/spec.json +70 -0
- package/src/system/core/common/IfElseIsFirst/spec.json +105 -0
- package/src/system/core/common/IfElseLessThanEqual/spec.json +129 -0
- package/src/system/core/common/IfFalse/spec.json +85 -0
- package/src/system/core/common/IfTrue/spec.json +85 -0
- package/src/system/core/common/Increment/spec.json +50 -0
- package/src/system/core/common/IntegerHalf/spec.json +59 -0
- package/src/system/core/common/IsEmpty/spec.json +49 -0
- package/src/system/core/common/KeysEquals/spec.json +68 -0
- package/src/system/core/common/LastIndex/spec.json +59 -0
- package/src/system/core/common/LengthEquals/spec.json +68 -0
- package/src/system/core/common/LengthGreaterThan/spec.json +68 -0
- package/src/system/core/common/LengthLessThan/spec.json +68 -0
- package/src/system/core/common/LengthLessThanOr/spec.json +77 -0
- package/src/system/core/common/LessThanLength/spec.json +68 -0
- package/src/system/core/common/LessThanOr/spec.json +87 -0
- package/src/system/core/common/Lever/Class.ts +58 -0
- package/src/system/core/common/Lever/spec.json +102 -0
- package/src/system/core/common/LoopAdd/spec.json +120 -0
- package/src/system/core/common/LoopDecrement/spec.json +102 -0
- package/src/system/core/common/LoopDrag/spec.json +188 -0
- package/src/system/core/common/LoopForever/spec.json +66 -0
- package/src/system/core/common/LoopIncrement/spec.json +103 -0
- package/src/system/core/common/LoopIndexDesc/spec.json +105 -0
- package/src/system/core/common/LoopRepeat/spec.json +109 -0
- package/src/system/core/common/LoopSubtract/spec.json +121 -0
- package/src/system/core/common/LoremIpsum/spec.json +39 -0
- package/src/system/core/common/MaxLength/spec.json +83 -0
- package/src/system/core/common/MergeSort/spec.json +186 -0
- package/src/system/core/common/MultipleOf/spec.json +74 -0
- package/src/system/core/common/NArrayBuilder/Class.ts +84 -0
- package/src/system/core/common/NArrayBuilder/spec.json +59 -0
- package/src/system/core/common/NArrayBuilderFrom/spec.json +121 -0
- package/src/system/core/common/NArrayBuilderFrom/spec0.json +138 -0
- package/src/system/core/common/NStep/spec.json +270 -0
- package/src/system/core/common/Nor/spec.json +68 -0
- package/src/system/core/common/NotAnd/spec.json +68 -0
- package/src/system/core/common/One/spec.json +53 -0
- package/src/system/core/common/Pick50Chance/spec.json +105 -0
- package/src/system/core/common/PickAssoc/spec.json +111 -0
- package/src/system/core/common/PickBranch/spec.json +98 -0
- package/src/system/core/common/PriorityForEach/spec.json +201 -0
- package/src/system/core/common/PriorityHead/spec.json +316 -0
- package/src/system/core/common/PriorityMerge/spec.json +58 -0
- package/src/system/core/common/PriorityMergeFrom/spec.json +100 -0
- package/src/system/core/common/RandomBit/spec.json +72 -0
- package/src/system/core/common/RandomBitArray/spec.json +108 -0
- package/src/system/core/common/RandomBitMatrix/spec.json +105 -0
- package/src/system/core/common/RandomInArray/spec.json +70 -0
- package/src/system/core/common/RandomIndexInArray/spec.json +59 -0
- package/src/system/core/common/RandomNatural/spec.json +85 -0
- package/src/system/core/common/RandomNaturalBetween/spec.json +96 -0
- package/src/system/core/common/RandomNaturalLTE/spec.json +59 -0
- package/src/system/core/common/RangeArray6/spec.json +42 -0
- package/src/system/core/common/RecPriorityMerge/spec.json +60 -0
- package/src/system/core/common/RecPriorityMergeFrom/spec.json +252 -0
- package/src/system/core/common/RepeatN/spec.json +103 -0
- package/src/system/core/common/SumN/spec.json +58 -0
- package/src/system/core/common/SumNFrom/spec.json +154 -0
- package/src/system/core/common/TrueFalse/spec.json +96 -0
- package/src/system/core/common/TrueOrFalse/spec.json +84 -0
- package/src/system/core/common/Two/spec.json +53 -0
- package/src/system/core/common/Zero/spec.json +53 -0
- package/src/system/core/control/If3/spec.json +111 -0
- package/src/system/core/control/If4/spec.json +137 -0
- package/src/system/core/control/IfElse/spec.json +89 -0
- package/src/system/core/control/IfNot/spec.json +68 -0
- package/src/system/core/control/Invert/spec.json +104 -0
- package/src/system/core/control/IsFalse/spec.json +49 -0
- package/src/system/core/control/IsTrue/spec.json +49 -0
- package/src/system/core/control/Pick/spec.json +90 -0
- package/src/system/core/control/PickLesser/spec.json +100 -0
- package/src/system/core/control/Plan3/spec.json +77 -0
- package/src/system/core/control/SwitchAB/spec.json +88 -0
- package/src/system/core/control/Wait2/spec.json +77 -0
- package/src/system/core/control/WaitAll2/spec.json +87 -0
- package/src/system/core/graph/SetUnitInputData/spec.json +136 -0
- package/src/system/core/graph/SetUnitOutputData/spec.json +136 -0
- package/src/system/core/iterate/IterateCount/spec.json +53 -0
- package/src/system/core/iterate/IterateCountFrom/spec.json +116 -0
- package/src/system/core/iterate/IterateSumFrom/spec.json +88 -0
- package/src/system/core/iterate/IterateToggle/spec.json +103 -0
- package/src/system/core/iterate/IterateWait/spec.json +102 -0
- package/src/system/core/logic/2BitCondition/spec.json +133 -0
- package/src/system/core/logic/50Chance/spec.json +72 -0
- package/src/system/core/logic/AndNot/spec.json +68 -0
- package/src/system/core/logic/isBetween/spec.json +133 -0
- package/src/system/core/loop/Count/spec.json +49 -0
- package/src/system/core/loop/CountFrom/spec.json +87 -0
- package/src/system/core/loop/IsFirst/spec.json +96 -0
- package/src/system/core/loop/Loop2/spec.json +207 -0
- package/src/system/core/loop/Range/Class.ts +54 -0
- package/src/system/core/loop/Range/spec.json +136 -0
- package/src/system/core/loop/RangeBounce/spec.json +105 -0
- package/src/system/core/loop/RangeBounceTowards/spec.json +145 -0
- package/src/system/core/loop/RangeGrid/spec.json +208 -0
- package/src/system/core/loop/RangeRec/spec.json +166 -0
- package/src/system/core/loop/RangeReverse/spec.json +171 -0
- package/src/system/core/loop/RangeTowards/spec.json +295 -0
- package/src/system/core/math/Negate/spec.json +50 -0
- package/src/system/core/meta/RandomClass/spec.json +83 -0
- package/src/system/core/meta/RandonSpecId/spec.json +83 -0
- package/src/system/core/meta/SpecIds/spec.json +83 -0
- package/src/system/core/method/array/Includes/spec.json +113 -0
- package/src/system/core/number/StringToDecimal/spec.json +53 -0
- package/src/system/core/object/AssocPath/f.ts +21 -0
- package/src/system/core/object/AssocPath/spec.json +245 -0
- package/src/system/core/object/DeepGet/f.ts +8 -0
- package/src/system/core/object/DeepGet/spec.json +159 -0
- package/src/system/core/object/DissocAll/f.ts +11 -0
- package/src/system/core/object/DissocAll/spec.json +139 -0
- package/src/system/core/object/DissocPath/f.ts +26 -0
- package/src/system/core/object/DissocPath/spec.json +346 -0
- package/src/system/core/object/EmptyObject/spec.json +49 -0
- package/src/system/core/object/ForEachKeyValue/f.ts +10 -0
- package/src/system/core/object/ForEachKeyValue/spec.json +139 -0
- package/src/system/core/object/GetIfHasKey/spec.json +135 -0
- package/src/system/core/object/HasKeys/spec.json +146 -0
- package/src/system/core/object/KeyCount/f.ts +16 -0
- package/src/system/core/object/KeyCount/spec.json +71 -0
- package/src/system/core/object/Merge3/spec.json +77 -0
- package/src/system/core/object/Merge4/spec.json +90 -0
- package/src/system/core/object/MergeDefault/spec.json +155 -0
- package/src/system/core/object/Partition/spec.json +233 -0
- package/src/system/core/object/PropOrDefault/spec.json +142 -0
- package/src/system/core/object/SetIf/spec.json +106 -0
- package/src/system/core/object/SetIfOrDefault/spec.json +124 -0
- package/src/system/core/object/Tag/spec.json +58 -0
- package/src/system/core/relation/Clamp/f.ts +16 -0
- package/src/system/core/relation/Clamp/spec.json +77 -0
- package/src/system/core/relation/PropEqual/spec.json +87 -0
- package/src/system/core/relation/PropEqualOrDefault/spec.json +168 -0
- package/src/system/core/string/Concat3/spec.json +77 -0
- package/src/system/core/string/Cut/spec.json +113 -0
- package/src/system/core/string/DropLast/f.ts +10 -0
- package/src/system/core/string/EmptyString/spec.json +59 -0
- package/src/system/core/string/IsEmpty/spec.json +65 -0
- package/src/system/core/string/IsNotEmpty/spec.json +59 -0
- package/src/system/core/string/NStringBuilderFrom/spec.json +167 -0
- package/src/system/core/string/NumberToDecimal/spec.json +53 -0
- package/src/system/core/string/NumberToHex/spec.json +53 -0
- package/src/system/core/string/RemoveWhitespace/spec.json +53 -0
- package/src/system/core/string/Tail/spec.json +48 -0
- package/src/system/core/time/Debounce/spec.json +88 -0
- package/src/system/core/time/Delay/spec.json +76 -0
- package/src/system/core/time/DelayPush/spec.json +91 -0
- package/src/system/core/time/Interval/spec.json +49 -0
- package/src/system/core/time/PushDelay/spec.json +81 -0
- package/src/system/core/time/Throttle/spec.json +98 -0
- package/src/system/core/util/MergeAB/spec.json +95 -0
- package/src/system/core/util/SplitAB/spec.json +79 -0
- package/src/system/core/value/False/spec.json +49 -0
- package/src/system/core/value/True/spec.json +49 -0
- package/src/system/f/JSON/Parse/index.ts +35 -0
- package/src/system/f/JSON/Parse/spec.json +26 -0
- package/src/system/f/JSON/Stringify/index.ts +29 -0
- package/src/system/f/JSON/Stringify/spec.json +26 -0
- package/src/system/f/arithmetic/Add/index.ts +31 -0
- package/src/system/f/arithmetic/Add/spec.json +29 -0
- package/src/system/f/arithmetic/Divide/index.ts +35 -0
- package/src/system/f/arithmetic/Divide/spec.json +29 -0
- package/src/system/f/arithmetic/Multiply/index.ts +30 -0
- package/src/system/f/arithmetic/Multiply/spec.json +29 -0
- package/src/system/f/arithmetic/Remainder/index.ts +34 -0
- package/src/system/f/arithmetic/Remainder/spec.json +29 -0
- package/src/system/f/arithmetic/Subtract/f.ts +7 -0
- package/src/system/f/arithmetic/Subtract/index.ts +32 -0
- package/src/system/f/arithmetic/Subtract/spec.json +29 -0
- package/src/system/f/array/Append/index.ts +31 -0
- package/src/system/f/array/Append/spec.json +29 -0
- package/src/system/f/array/At/index.ts +35 -0
- package/src/system/f/array/At/spec.json +36 -0
- package/src/system/f/array/Behead/index.ts +40 -0
- package/src/system/f/array/Behead/spec.json +29 -0
- package/src/system/f/array/Concat/index.ts +30 -0
- package/src/system/f/array/Concat/spec.json +29 -0
- package/src/system/f/array/Fill/index.ts +33 -0
- package/src/system/f/array/Fill/spec.json +35 -0
- package/src/system/f/array/IndexOf/f.ts +5 -0
- package/src/system/f/array/IndexOf/index.ts +33 -0
- package/src/system/f/array/IndexOf/spec.json +29 -0
- package/src/system/f/array/Init/index.ts +31 -0
- package/src/system/f/array/Init/spec.json +29 -0
- package/src/system/f/array/Insert/f.ts +5 -0
- package/src/system/f/array/Insert/index.ts +33 -0
- package/src/system/f/array/Insert/spec.json +32 -0
- package/src/system/f/array/Join/index.ts +31 -0
- package/src/system/f/array/Join/spec.json +29 -0
- package/src/system/f/array/Length/f.ts +7 -0
- package/src/system/f/array/Length/index.ts +31 -0
- package/src/system/f/array/Length/spec.json +26 -0
- package/src/system/f/array/Pop/index.ts +36 -0
- package/src/system/f/array/Pop/spec.json +29 -0
- package/src/system/f/array/Prepend/index.ts +30 -0
- package/src/system/f/array/Prepend/spec.json +29 -0
- package/src/system/f/array/Put/index.ts +38 -0
- package/src/system/f/array/Put/spec.json +32 -0
- package/src/system/f/array/Remove/f.ts +13 -0
- package/src/system/f/array/Remove/index.ts +33 -0
- package/src/system/f/array/Remove/spec.json +35 -0
- package/src/system/f/array/Slice/f.ts +11 -0
- package/src/system/f/array/Slice/index.ts +33 -0
- package/src/system/f/array/Slice/spec.json +32 -0
- package/src/system/f/bitwise/And/index.ts +30 -0
- package/src/system/f/bitwise/And/spec.json +29 -0
- package/src/system/f/bitwise/Not/index.ts +29 -0
- package/src/system/f/bitwise/Not/spec.json +26 -0
- package/src/system/f/bitwise/Or/index.ts +30 -0
- package/src/system/f/bitwise/Or/spec.json +29 -0
- package/src/system/f/bitwise/XOr/index.ts +30 -0
- package/src/system/f/bitwise/XOr/spec.json +29 -0
- package/src/system/f/comparisson/Equals/f.ts +45 -0
- package/src/system/f/comparisson/Equals/index.ts +33 -0
- package/src/system/f/comparisson/Equals/spec.json +29 -0
- package/src/system/f/comparisson/GreaterThan/index.ts +30 -0
- package/src/system/f/comparisson/GreaterThan/spec.json +29 -0
- package/src/system/f/comparisson/GreaterThanEqual/index.ts +30 -0
- package/src/system/f/comparisson/GreaterThanEqual/spec.json +29 -0
- package/src/system/f/comparisson/LessThan/index.ts +30 -0
- package/src/system/f/comparisson/LessThan/spec.json +29 -0
- package/src/system/f/comparisson/LessThanEqual/index.ts +30 -0
- package/src/system/f/comparisson/LessThanEqual/spec.json +29 -0
- package/src/system/f/comparisson/NotEqual/index.ts +33 -0
- package/src/system/f/comparisson/NotEqual/spec.json +29 -0
- package/src/system/f/control/Constant/index.ts +53 -0
- package/src/system/f/control/Constant/spec.json +26 -0
- package/src/system/f/control/Default/index.ts +93 -0
- package/src/system/f/control/Default/spec.json +29 -0
- package/src/system/f/control/Identity/f.ts +3 -0
- package/src/system/f/control/Identity/index.ts +29 -0
- package/src/system/f/control/Identity/spec.json +26 -0
- package/src/system/f/control/If/index.ts +35 -0
- package/src/system/f/control/If/spec.json +29 -0
- package/src/system/f/control/Iterate/index.ts +104 -0
- package/src/system/f/control/Iterate/spec.json +32 -0
- package/src/system/f/control/Loop/index.ts +208 -0
- package/src/system/f/control/Loop/spec.json +39 -0
- package/src/system/f/control/Memory/index.ts +48 -0
- package/src/system/f/control/Memory/spec.json +26 -0
- package/src/system/f/control/Plan/index.ts +112 -0
- package/src/system/f/control/Plan/spec.json +29 -0
- package/src/system/f/control/Throw/index.ts +25 -0
- package/src/system/f/control/Throw/spec.json +22 -0
- package/src/system/f/control/Void/index.ts +27 -0
- package/src/system/f/control/Void/spec.json +22 -0
- package/src/system/f/control/Wait/index.ts +30 -0
- package/src/system/f/control/Wait/spec.json +29 -0
- package/src/system/f/data/Parse/f.ts +1 -0
- package/src/system/f/data/Parse/index.ts +35 -0
- package/src/system/f/data/Parse/spec.json +26 -0
- package/src/system/f/data/Stringify/f.ts +1 -0
- package/src/system/f/data/Stringify/index.ts +33 -0
- package/src/system/f/data/Stringify/spec.json +26 -0
- package/src/system/f/data/TypeOf/index.ts +59 -0
- package/src/system/f/data/TypeOf/spec.json +26 -0
- package/src/system/f/date/Now/index.ts +29 -0
- package/src/system/f/date/Now/spec.json +26 -0
- package/src/system/f/graph/AddUnit/index.ts +93 -0
- package/src/system/f/graph/AddUnit/spec.json +29 -0
- package/src/system/f/graph/RemoveUnit/index.ts +50 -0
- package/src/system/f/graph/RemoveUnit/spec.json +26 -0
- package/src/system/f/graph/SetUnitInputData/index.ts +45 -0
- package/src/system/f/graph/SetUnitInputData/spec.json +35 -0
- package/src/system/f/id/UUID/index.ts +30 -0
- package/src/system/f/id/UUID/spec.json +26 -0
- package/src/system/f/logic/And/index.ts +30 -0
- package/src/system/f/logic/And/spec.json +29 -0
- package/src/system/f/logic/Not/index.ts +29 -0
- package/src/system/f/logic/Not/spec.json +26 -0
- package/src/system/f/logic/Or/index.ts +30 -0
- package/src/system/f/logic/Or/spec.json +29 -0
- package/src/system/f/math/Abs/index.ts +29 -0
- package/src/system/f/math/Abs/spec.json +26 -0
- package/src/system/f/math/Cos/index.ts +29 -0
- package/src/system/f/math/Cos/spec.json +26 -0
- package/src/system/f/math/Floor/index.ts +29 -0
- package/src/system/f/math/Floor/spec.json +26 -0
- package/src/system/f/math/Max/index.ts +30 -0
- package/src/system/f/math/Max/spec.json +29 -0
- package/src/system/f/math/Min/index.ts +30 -0
- package/src/system/f/math/Min/spec.json +29 -0
- package/src/system/f/math/PI/index.ts +29 -0
- package/src/system/f/math/PI/spec.json +26 -0
- package/src/system/f/math/Pow/index.ts +30 -0
- package/src/system/f/math/Pow/spec.json +29 -0
- package/src/system/f/math/Random/index.ts +29 -0
- package/src/system/f/math/Random/spec.json +26 -0
- package/src/system/f/math/SQRT/index.ts +33 -0
- package/src/system/f/math/SQRT/spec.json +26 -0
- package/src/system/f/math/Sign/index.ts +29 -0
- package/src/system/f/math/Sign/spec.json +26 -0
- package/src/system/f/math/Sin/index.ts +29 -0
- package/src/system/f/math/Sin/spec.json +26 -0
- package/src/system/f/meta/Call/index.ts +44 -0
- package/src/system/f/meta/Call/spec.json +33 -0
- package/src/system/f/meta/Catch/index.ts +72 -0
- package/src/system/f/meta/Catch/spec.json +27 -0
- package/src/system/f/meta/Class/index.ts +41 -0
- package/src/system/f/meta/Class/spec.json +30 -0
- package/src/system/f/meta/ClassToId/index.ts +35 -0
- package/src/system/f/meta/ClassToId/spec.json +26 -0
- package/src/system/f/meta/Exec/index.ts +49 -0
- package/src/system/f/meta/Exec/spec.json +34 -0
- package/src/system/f/meta/GraphBundle/index.ts +47 -0
- package/src/system/f/meta/GraphBundle/spec.json +35 -0
- package/src/system/f/meta/GraphSpec/index.ts +42 -0
- package/src/system/f/meta/GraphSpec/spec.json +30 -0
- package/src/system/f/meta/IdToClass/index.ts +33 -0
- package/src/system/f/meta/IdToClass/spec.json +31 -0
- package/src/system/f/meta/IdToSpec/index.ts +43 -0
- package/src/system/f/meta/IdToSpec/spec.json +26 -0
- package/src/system/f/meta/New/index.ts +37 -0
- package/src/system/f/meta/New/spec.json +27 -0
- package/src/system/f/meta/Ref/index.ts +88 -0
- package/src/system/f/meta/Ref/spec.json +34 -0
- package/src/system/f/meta/Spark/index.ts +39 -0
- package/src/system/f/meta/Spark/spec.json +26 -0
- package/src/system/f/meta/Specs/index.ts +33 -0
- package/src/system/f/meta/Specs/spec.json +26 -0
- package/src/system/f/meta/This/index.ts +42 -0
- package/src/system/f/meta/This/spec.json +23 -0
- package/src/system/f/meta/Unit/index.ts +13 -0
- package/src/system/f/meta/Unit/spec.json +18 -0
- package/src/system/f/number/NumberToString/index.ts +32 -0
- package/src/system/f/number/NumberToString/spec.json +33 -0
- package/src/system/f/number/StringToFloat/index.ts +36 -0
- package/src/system/f/number/StringToFloat/spec.json +26 -0
- package/src/system/f/number/StringToInt/index.ts +37 -0
- package/src/system/f/number/StringToInt/spec.json +33 -0
- package/src/system/f/object/DeepMerge/f.ts +26 -0
- package/src/system/f/object/DeepMerge/index.ts +32 -0
- package/src/system/f/object/DeepMerge/isObjNotNull.ts +3 -0
- package/src/system/f/object/DeepMerge/spec.json +29 -0
- package/src/system/f/object/Dissoc/f.ts +10 -0
- package/src/system/f/object/Dissoc/index.ts +33 -0
- package/src/system/f/object/Dissoc/spec.json +35 -0
- package/src/system/f/object/Get/index.ts +35 -0
- package/src/system/f/object/Get/spec.json +32 -0
- package/src/system/f/object/HasKey/index.ts +32 -0
- package/src/system/f/object/HasKey/spec.json +29 -0
- package/src/system/f/object/Keys/f.ts +9 -0
- package/src/system/f/object/Keys/index.ts +31 -0
- package/src/system/f/object/Keys/spec.json +26 -0
- package/src/system/f/object/Merge/f.ts +5 -0
- package/src/system/f/object/Merge/index.ts +33 -0
- package/src/system/f/object/Merge/spec.json +29 -0
- package/src/system/f/object/Set/f.ts +9 -0
- package/src/system/f/object/Set/index.ts +33 -0
- package/src/system/f/object/Set/spec.json +36 -0
- package/src/system/f/object/Values/index.ts +30 -0
- package/src/system/f/object/Values/spec.json +26 -0
- package/src/system/f/querystring/Parse/index.ts +45 -0
- package/src/system/f/querystring/Parse/spec.json +26 -0
- package/src/system/f/querystring/Stringify/index.ts +45 -0
- package/src/system/f/querystring/Stringify/spec.json +26 -0
- package/src/system/f/string/Behead/index.ts +33 -0
- package/src/system/f/string/Behead/spec.json +29 -0
- package/src/system/f/string/Concat/index.ts +30 -0
- package/src/system/f/string/Concat/spec.json +29 -0
- package/src/system/f/string/FromCharCode/index.ts +31 -0
- package/src/system/f/string/FromCharCode/spec.json +26 -0
- package/src/system/f/string/Length/index.ts +29 -0
- package/src/system/f/string/Length/spec.json +26 -0
- package/src/system/f/string/Match/index.ts +30 -0
- package/src/system/f/string/Match/spec.json +29 -0
- package/src/system/f/string/Replace/index.ts +31 -0
- package/src/system/f/string/Replace/spec.json +32 -0
- package/src/system/f/string/Slice/f.ts +11 -0
- package/src/system/f/string/Slice/index.ts +32 -0
- package/src/system/f/string/Slice/spec.json +32 -0
- package/src/system/f/string/Split/f.ts +3 -0
- package/src/system/f/string/Split/index.ts +32 -0
- package/src/system/f/string/Split/spec.json +29 -0
- package/src/system/f/string/Substr/index.ts +31 -0
- package/src/system/f/string/Substr/spec.json +32 -0
- package/src/system/f/string/Test/index.ts +30 -0
- package/src/system/f/string/Test/spec.json +29 -0
- package/src/system/f/string/ToLowerCase/index.ts +29 -0
- package/src/system/f/string/ToLowerCase/spec.json +33 -0
- package/src/system/f/string/ToUpperCase/index.ts +29 -0
- package/src/system/f/string/ToUpperCase/spec.json +33 -0
- package/src/system/f/time/Timer/index.ts +46 -0
- package/src/system/f/time/Timer/spec.json +32 -0
- package/src/system/f/unit/SetInput/index.ts +55 -0
- package/src/system/f/unit/SetInput/spec.json +34 -0
- package/src/system/f/unit/UnsetPin/index.ts +60 -0
- package/src/system/f/unit/UnsetPin/spec.json +32 -0
- package/src/system/globalComponent.ts +32 -0
- package/src/system/platform/Boot/index.ts +59 -0
- package/src/system/platform/Boot/spec.json +41 -0
- package/src/system/platform/Client/Component.ts +36 -0
- package/src/system/platform/Client/index.ts +169 -0
- package/src/system/platform/Client/spec.json +43 -0
- package/src/system/platform/Context/index.ts +209 -0
- package/src/system/platform/Context/spec.json +22 -0
- package/src/system/platform/Props.ts +10 -0
- package/src/system/platform/State/index.ts +56 -0
- package/src/system/platform/State/spec.json +32 -0
- package/src/system/platform/System/index.ts +43 -0
- package/src/system/platform/System/spec.json +17 -0
- package/src/system/platform/api/Send/index.ts +42 -0
- package/src/system/platform/api/Send/spec.json +26 -0
- package/src/system/platform/api/Transfer/index.ts +46 -0
- package/src/system/platform/api/Transfer/spec.json +27 -0
- package/src/system/platform/api/URI/CreateBlobURL/index.ts +56 -0
- package/src/system/platform/api/URI/CreateBlobURL/spec.json +31 -0
- package/src/system/platform/api/URI/EncodeURI/index.ts +45 -0
- package/src/system/platform/api/URI/EncodeURI/spec.json +32 -0
- package/src/system/platform/api/alert/Alert/index.ts +32 -0
- package/src/system/platform/api/alert/Alert/spec.json +19 -0
- package/src/system/platform/api/alert/Prompt/index.ts +40 -0
- package/src/system/platform/api/alert/Prompt/spec.json +26 -0
- package/src/system/platform/api/base64/Decode/index.ts +40 -0
- package/src/system/platform/api/base64/Decode/spec.json +27 -0
- package/src/system/platform/api/base64/Encode/index.ts +41 -0
- package/src/system/platform/api/base64/Encode/spec.json +27 -0
- package/src/system/platform/api/bluetooth/BluetoothCharacteristic/index.ts +126 -0
- package/src/system/platform/api/bluetooth/BluetoothCharacteristic/spec.json +41 -0
- package/src/system/platform/api/bluetooth/BluetoothDevice/index.ts +57 -0
- package/src/system/platform/api/bluetooth/BluetoothDevice/spec.json +28 -0
- package/src/system/platform/api/bluetooth/BluetoothServer/index.ts +60 -0
- package/src/system/platform/api/bluetooth/BluetoothServer/spec.json +29 -0
- package/src/system/platform/api/bluetooth/BluetoothService/index.ts +56 -0
- package/src/system/platform/api/bluetooth/BluetoothService/spec.json +33 -0
- package/src/system/platform/api/canvas/AddArc/index.ts +43 -0
- package/src/system/platform/api/canvas/AddArc/spec.json +30 -0
- package/src/system/platform/api/canvas/AddLineTo/index.ts +34 -0
- package/src/system/platform/api/canvas/AddLineTo/spec.json +33 -0
- package/src/system/platform/api/canvas/AddRect/index.ts +38 -0
- package/src/system/platform/api/canvas/AddRect/spec.json +30 -0
- package/src/system/platform/api/canvas/BeginPath/index.ts +32 -0
- package/src/system/platform/api/canvas/BeginPath/spec.json +28 -0
- package/src/system/platform/api/canvas/Clear/index.ts +39 -0
- package/src/system/platform/api/canvas/Clear/spec.json +27 -0
- package/src/system/platform/api/canvas/ClosePath/index.ts +32 -0
- package/src/system/platform/api/canvas/ClosePath/spec.json +28 -0
- package/src/system/platform/api/canvas/Draw/index.ts +39 -0
- package/src/system/platform/api/canvas/Draw/spec.json +52 -0
- package/src/system/platform/api/canvas/DrawImage/index.ts +46 -0
- package/src/system/platform/api/canvas/DrawImage/spec.json +31 -0
- package/src/system/platform/api/canvas/Fill/index.ts +32 -0
- package/src/system/platform/api/canvas/Fill/spec.json +27 -0
- package/src/system/platform/api/canvas/FillPath/index.ts +38 -0
- package/src/system/platform/api/canvas/FillPath/spec.json +30 -0
- package/src/system/platform/api/canvas/FillStyle/index.ts +33 -0
- package/src/system/platform/api/canvas/FillStyle/spec.json +35 -0
- package/src/system/platform/api/canvas/MoveTo/index.ts +34 -0
- package/src/system/platform/api/canvas/MoveTo/spec.json +33 -0
- package/src/system/platform/api/canvas/Rotate/index.ts +33 -0
- package/src/system/platform/api/canvas/Rotate/spec.json +31 -0
- package/src/system/platform/api/canvas/Scale/index.ts +38 -0
- package/src/system/platform/api/canvas/Scale/spec.json +44 -0
- package/src/system/platform/api/canvas/Stroke/index.ts +32 -0
- package/src/system/platform/api/canvas/Stroke/spec.json +27 -0
- package/src/system/platform/api/canvas/StrokePath/index.ts +37 -0
- package/src/system/platform/api/canvas/StrokePath/spec.json +27 -0
- package/src/system/platform/api/canvas/StrokeStyle/index.ts +33 -0
- package/src/system/platform/api/canvas/StrokeStyle/spec.json +35 -0
- package/src/system/platform/api/canvas/ToBlob/index.ts +79 -0
- package/src/system/platform/api/canvas/ToBlob/spec.json +50 -0
- package/src/system/platform/api/canvas/Translate/index.ts +34 -0
- package/src/system/platform/api/canvas/Translate/spec.json +34 -0
- package/src/system/platform/api/clipboard/TextToClipboard/index.ts +42 -0
- package/src/system/platform/api/clipboard/TextToClipboard/spec.json +23 -0
- package/src/system/platform/api/component/AppendChild/index.ts +40 -0
- package/src/system/platform/api/component/AppendChild/spec.json +51 -0
- package/src/system/platform/api/component/HasChild/index.ts +40 -0
- package/src/system/platform/api/component/HasChild/spec.json +50 -0
- package/src/system/platform/api/component/InsertChildAt/index.ts +40 -0
- package/src/system/platform/api/component/InsertChildAt/spec.json +57 -0
- package/src/system/platform/api/component/RemoveChild/index.ts +53 -0
- package/src/system/platform/api/component/RemoveChild/spec.json +37 -0
- package/src/system/platform/api/console/Log/index.ts +30 -0
- package/src/system/platform/api/console/Log/spec.json +22 -0
- package/src/system/platform/api/event/Debug/index.ts +82 -0
- package/src/system/platform/api/event/Debug/spec.json +35 -0
- package/src/system/platform/api/event/Listen/index.ts +82 -0
- package/src/system/platform/api/event/Listen/spec.json +35 -0
- package/src/system/platform/api/gamepad/index.ts +156 -0
- package/src/system/platform/api/gamepad/spec.json +37 -0
- package/src/system/platform/api/geolocation/CurrentPosition/index.ts +47 -0
- package/src/system/platform/api/geolocation/CurrentPosition/spec.json +27 -0
- package/src/system/platform/api/http/HTTPServer/index.ts +83 -0
- package/src/system/platform/api/http/HTTPServer/spec.json +39 -0
- package/src/system/platform/api/local/LocalChannel/index.ts +107 -0
- package/src/system/platform/api/local/LocalChannel/spec.json +37 -0
- package/src/system/platform/api/media/CaptureStream/index.ts +72 -0
- package/src/system/platform/api/media/CaptureStream/spec.json +39 -0
- package/src/system/platform/api/media/DisplayMedia/index.ts +59 -0
- package/src/system/platform/api/media/DisplayMedia/spec.json +25 -0
- package/src/system/platform/api/media/EnumerateDevices/index.ts +43 -0
- package/src/system/platform/api/media/EnumerateDevices/spec.json +27 -0
- package/src/system/platform/api/media/MediaRecorder/index.ts +121 -0
- package/src/system/platform/api/media/MediaRecorder/spec.json +50 -0
- package/src/system/platform/api/media/RequestPictureInPicture/index.ts +108 -0
- package/src/system/platform/api/media/RequestPictureInPicture/spec.json +33 -0
- package/src/system/platform/api/media/UserMedia/index.ts +65 -0
- package/src/system/platform/api/media/UserMedia/spec.json +30 -0
- package/src/system/platform/api/media/audio/AudioSource/index.ts +62 -0
- package/src/system/platform/api/media/audio/AudioSource/spec.json +35 -0
- package/src/system/platform/api/media/audio/AudioTarget/index.ts +54 -0
- package/src/system/platform/api/media/audio/AudioTarget/spec.json +31 -0
- package/src/system/platform/api/media/download/DownloadText/index.ts +48 -0
- package/src/system/platform/api/media/download/DownloadText/spec.json +53 -0
- package/src/system/platform/api/media/download/DownloadURL/index.ts +43 -0
- package/src/system/platform/api/media/download/DownloadURL/spec.json +29 -0
- package/src/system/platform/api/media/image/BlobToBitmap/index.ts +80 -0
- package/src/system/platform/api/media/image/BlobToBitmap/spec.json +47 -0
- package/src/system/platform/api/network/Fetch/index.ts +67 -0
- package/src/system/platform/api/network/Fetch/spec.json +41 -0
- package/src/system/platform/api/network/WebSocket/index.ts +100 -0
- package/src/system/platform/api/network/WebSocket/spec.json +28 -0
- package/src/system/platform/api/notification/Close/spec.json +78 -0
- package/src/system/platform/api/notification/Notification/index.ts +85 -0
- package/src/system/platform/api/notification/Notification/spec.json +19 -0
- package/src/system/platform/api/notification/Show/spec.json +137 -0
- package/src/system/platform/api/observer/SizeObserver/index.ts +97 -0
- package/src/system/platform/api/observer/SizeObserver/spec.json +31 -0
- package/src/system/platform/api/peer/PeerDuplex/spec.json +333 -0
- package/src/system/platform/api/peer/PeerGraph/index.ts +205 -0
- package/src/system/platform/api/peer/PeerGraph/spec.json +44 -0
- package/src/system/platform/api/peer/PeerReceiver/index.ts +199 -0
- package/src/system/platform/api/peer/PeerReceiver/spec.json +34 -0
- package/src/system/platform/api/peer/PeerShareGraph/index.ts +163 -0
- package/src/system/platform/api/peer/PeerShareGraph/spec.json +43 -0
- package/src/system/platform/api/peer/PeerTransmitter/index.ts +291 -0
- package/src/system/platform/api/peer/PeerTransmitter/spec.json +46 -0
- package/src/system/platform/api/pointer/SetPointerCapture/index.ts +77 -0
- package/src/system/platform/api/pointer/SetPointerCapture/spec.json +30 -0
- package/src/system/platform/api/read/GetHost/spec.json +87 -0
- package/src/system/platform/api/read/GetHostname/spec.json +87 -0
- package/src/system/platform/api/read/GetOrigin/spec.json +87 -0
- package/src/system/platform/api/scroll/ScrollIntoView/index.ts +41 -0
- package/src/system/platform/api/scroll/ScrollIntoView/spec.json +26 -0
- package/src/system/platform/api/speech/SpeechRecognition/index.ts +32 -0
- package/src/system/platform/api/speech/SpeechRecognition/spec.json +28 -0
- package/src/system/platform/api/speech/SpeechToText/index.ts +60 -0
- package/src/system/platform/api/speech/SpeechToText/spec.json +40 -0
- package/src/system/platform/api/speech/TextToSpeech/index.ts +84 -0
- package/src/system/platform/api/speech/TextToSpeech/spec.json +37 -0
- package/src/system/platform/api/storage/LocalStorage/index.ts +111 -0
- package/src/system/platform/api/storage/LocalStorage/spec.json +22 -0
- package/src/system/platform/api/storage/SessionStorage/index.ts +107 -0
- package/src/system/platform/api/storage/SessionStorage/spec.json +22 -0
- package/src/system/platform/api/storage/Storage_.ts +81 -0
- package/src/system/platform/api/storage/TabStorage/index.ts +108 -0
- package/src/system/platform/api/storage/TabStorage/spec.json +22 -0
- package/src/system/platform/api/system/user/Decrypt/index.ts +30 -0
- package/src/system/platform/api/system/user/Decrypt/spec.json +30 -0
- package/src/system/platform/api/system/user/PublicKey/index.ts +30 -0
- package/src/system/platform/api/system/user/PublicKey/spec.json +30 -0
- package/src/system/platform/api/system/user/Sign/index.ts +30 -0
- package/src/system/platform/api/system/user/Sign/spec.json +30 -0
- package/src/system/platform/api/time/RequestAnimationFrame/index.ts +55 -0
- package/src/system/platform/api/time/RequestAnimationFrame/spec.json +27 -0
- package/src/system/platform/api/vibration/vibrate/index.ts +41 -0
- package/src/system/platform/api/vibration/vibrate/spec.json +23 -0
- package/src/system/platform/api/wakelock/WakeLock/index.ts +68 -0
- package/src/system/platform/api/wakelock/WakeLock/spec.json +27 -0
- package/src/system/platform/component/Anchor/Component.ts +99 -0
- package/src/system/platform/component/Anchor/index.ts +23 -0
- package/src/system/platform/component/Anchor/spec.json +41 -0
- package/src/system/platform/component/Button/Component.ts +83 -0
- package/src/system/platform/component/Button/index.ts +23 -0
- package/src/system/platform/component/Button/spec.json +33 -0
- package/src/system/platform/component/Constrain/Component.ts +99 -0
- package/src/system/platform/component/Constrain/index.ts +21 -0
- package/src/system/platform/component/Constrain/spec.json +33 -0
- package/src/system/platform/component/Datum/Component.ts +58 -0
- package/src/system/platform/component/Datum/index.ts +24 -0
- package/src/system/platform/component/Datum/spec.json +36 -0
- package/src/system/platform/component/Div/Component.ts +82 -0
- package/src/system/platform/component/Div/index.ts +23 -0
- package/src/system/platform/component/Div/spec.json +33 -0
- package/src/system/platform/component/Editable/Component.ts +59 -0
- package/src/system/platform/component/Editable/index.ts +24 -0
- package/src/system/platform/component/Editable/spec.json +28 -0
- package/src/system/platform/component/Frame/Component.ts +248 -0
- package/src/system/platform/component/Frame/index.ts +27 -0
- package/src/system/platform/component/Frame/spec.json +32 -0
- package/src/system/platform/component/Icon/Component.ts +108 -0
- package/src/system/platform/component/Icon/index.ts +29 -0
- package/src/system/platform/component/Icon/spec.json +40 -0
- package/src/system/platform/component/Iframe/Component.ts +139 -0
- package/src/system/platform/component/Iframe/index.ts +35 -0
- package/src/system/platform/component/Iframe/spec.json +37 -0
- package/src/system/platform/component/Inherit/Component.ts +149 -0
- package/src/system/platform/component/Inherit/index.ts +21 -0
- package/src/system/platform/component/Inherit/spec.json +33 -0
- package/src/system/platform/component/Parent/Component.ts +28 -0
- package/src/system/platform/component/Parent/index.ts +21 -0
- package/src/system/platform/component/Parent/spec.json +23 -0
- package/src/system/platform/component/Render/Component.ts +99 -0
- package/src/system/platform/component/Render/index.ts +32 -0
- package/src/system/platform/component/Render/spec.json +37 -0
- package/src/system/platform/component/Span/Component.ts +61 -0
- package/src/system/platform/component/Span/index.ts +23 -0
- package/src/system/platform/component/Span/spec.json +33 -0
- package/src/system/platform/component/Wrap/Component.ts +502 -0
- package/src/system/platform/component/Wrap/index.ts +159 -0
- package/src/system/platform/component/Wrap/spec.json +39 -0
- package/src/system/platform/component/Zoom/Component.ts +157 -0
- package/src/system/platform/component/Zoom/index.ts +29 -0
- package/src/system/platform/component/Zoom/spec.json +53 -0
- package/src/system/platform/component/app/Bot/Component.ts +1141 -0
- package/src/system/platform/component/app/Bot/index.ts +28 -0
- package/src/system/platform/component/app/Bot/spec.json +42 -0
- package/src/system/platform/component/app/Cabinet/Component.ts +520 -0
- package/src/system/platform/component/app/Class/Component.ts +323 -0
- package/src/system/platform/component/app/Class/index.ts +23 -0
- package/src/system/platform/component/app/Class/spec.json +28 -0
- package/src/system/platform/component/app/Class/test.ts +7 -0
- package/src/system/platform/component/app/DataTree/Component.ts +840 -0
- package/src/system/platform/component/app/DataTreeLeaf/Component.ts +170 -0
- package/src/system/platform/component/app/Datum/Component.ts +336 -0
- package/src/system/platform/component/app/Datum/index.ts +23 -0
- package/src/system/platform/component/app/Datum/spec.json +31 -0
- package/src/system/platform/component/app/Drawer/Component.ts +482 -0
- package/src/system/platform/component/app/Editor/Component.ts +45449 -0
- package/src/system/platform/component/app/Editor/index.ts +119 -0
- package/src/system/platform/component/app/Editor/spec.json +54 -0
- package/src/system/platform/component/app/GUI/Component.ts +675 -0
- package/src/system/platform/component/app/GUI/index.ts +24 -0
- package/src/system/platform/component/app/GUI/spec.json +31 -0
- package/src/system/platform/component/app/GUIControl/Component.ts +771 -0
- package/src/system/platform/component/app/GUIControl/index.ts +21 -0
- package/src/system/platform/component/app/GUIControl/spec.json +24 -0
- package/src/system/platform/component/app/GUIControlKeyboard/Component.ts +110 -0
- package/src/system/platform/component/app/GUIControlKeyboard/index.ts +21 -0
- package/src/system/platform/component/app/GUIControlKeyboard/spec.json +23 -0
- package/src/system/platform/component/app/GUIControlSave/Component.ts +68 -0
- package/src/system/platform/component/app/GUIControlSave/index.ts +21 -0
- package/src/system/platform/component/app/GUIControlSave/spec.json +23 -0
- package/src/system/platform/component/app/HSVColorPicker/Component.ts +268 -0
- package/src/system/platform/component/app/HSVColorPicker/index.ts +27 -0
- package/src/system/platform/component/app/HSVColorPicker/spec.json +45 -0
- package/src/system/platform/component/app/IconButton/Component.ts +139 -0
- package/src/system/platform/component/app/IconButton/spec.json +426 -0
- package/src/system/platform/component/app/Keyboard/Component.ts +291 -0
- package/src/system/platform/component/app/Keyboard/index.ts +24 -0
- package/src/system/platform/component/app/Keyboard/spec.json +28 -0
- package/src/system/platform/component/app/KeyboardKey/Component.ts +143 -0
- package/src/system/platform/component/app/KeyboardKey/index.ts +25 -0
- package/src/system/platform/component/app/KeyboardKey/spec.json +31 -0
- package/src/system/platform/component/app/MicrophoneButton/Component.ts +176 -0
- package/src/system/platform/component/app/MicrophoneButton/index.ts +26 -0
- package/src/system/platform/component/app/MicrophoneButton/spec.json +34 -0
- package/src/system/platform/component/app/Minigraph/Component.ts +313 -0
- package/src/system/platform/component/app/Minigraph/index.ts +28 -0
- package/src/system/platform/component/app/Minigraph/spec.json +31 -0
- package/src/system/platform/component/app/Minimal/Component.ts +210 -0
- package/src/system/platform/component/app/Minimal/index.ts +23 -0
- package/src/system/platform/component/app/Minimal/spec.json +31 -0
- package/src/system/platform/component/app/Minimap/Component.ts +258 -0
- package/src/system/platform/component/app/ModeIconButton/Component.ts +83 -0
- package/src/system/platform/component/app/Modes/Component.ts +291 -0
- package/src/system/platform/component/app/Modes/spec.json +226 -0
- package/src/system/platform/component/app/PhoneKeyboard/Component.ts +360 -0
- package/src/system/platform/component/app/PhoneKeyboard/index.ts +24 -0
- package/src/system/platform/component/app/PhoneKeyboard/spec.json +28 -0
- package/src/system/platform/component/app/PhoneKeyboardKey/Component.ts +229 -0
- package/src/system/platform/component/app/PhoneKeyboardKey/index.ts +25 -0
- package/src/system/platform/component/app/PhoneKeyboardKey/spec.json +34 -0
- package/src/system/platform/component/app/Resize/Component.ts +285 -0
- package/src/system/platform/component/app/Resize/index.ts +21 -0
- package/src/system/platform/component/app/Resize/spec.json +28 -0
- package/src/system/platform/component/app/SaveControl/Component.ts +882 -0
- package/src/system/platform/component/app/SaveControl/index.ts +24 -0
- package/src/system/platform/component/app/SaveControl/spec.json +29 -0
- package/src/system/platform/component/app/Search/Component.ts +950 -0
- package/src/system/platform/component/app/SearchInput/Component.ts +85 -0
- package/src/system/platform/component/app/Selection/Component.ts +182 -0
- package/src/system/platform/component/app/Transcend/Component.ts +339 -0
- package/src/system/platform/component/app/Transcend/index.ts +24 -0
- package/src/system/platform/component/app/Transcend/spec.json +28 -0
- package/src/system/platform/component/app/Tree/Component.ts +63 -0
- package/src/system/platform/component/app/Tree/index.ts +24 -0
- package/src/system/platform/component/app/Tree/spec.json +86 -0
- package/src/system/platform/component/canvas/Canvas/Component.ts +357 -0
- package/src/system/platform/component/canvas/Canvas/index.ts +119 -0
- package/src/system/platform/component/canvas/Canvas/spec.json +41 -0
- package/src/system/platform/component/media/Audio/Component.ts +78 -0
- package/src/system/platform/component/media/Audio/index.ts +38 -0
- package/src/system/platform/component/media/Audio/spec.json +49 -0
- package/src/system/platform/component/media/Image/Component.ts +61 -0
- package/src/system/platform/component/media/Image/index.ts +24 -0
- package/src/system/platform/component/media/Image/spec.json +36 -0
- package/src/system/platform/component/media/Video/Component.ts +125 -0
- package/src/system/platform/component/media/Video/index.ts +58 -0
- package/src/system/platform/component/media/Video/spec.json +49 -0
- package/src/system/platform/component/svg/Circle/Component.ts +62 -0
- package/src/system/platform/component/svg/Circle/index.ts +27 -0
- package/src/system/platform/component/svg/Circle/spec.json +41 -0
- package/src/system/platform/component/svg/Defs/Component.ts +38 -0
- package/src/system/platform/component/svg/Defs/index.ts +24 -0
- package/src/system/platform/component/svg/Defs/spec.json +29 -0
- package/src/system/platform/component/svg/ForeignObject/Component.ts +66 -0
- package/src/system/platform/component/svg/ForeignObject/index.ts +21 -0
- package/src/system/platform/component/svg/ForeignObject/spec.json +34 -0
- package/src/system/platform/component/svg/Group/Component.ts +37 -0
- package/src/system/platform/component/svg/Group/index.ts +21 -0
- package/src/system/platform/component/svg/Group/spec.json +34 -0
- package/src/system/platform/component/svg/Line/Component.ts +55 -0
- package/src/system/platform/component/svg/Line/index.ts +21 -0
- package/src/system/platform/component/svg/Line/spec.json +50 -0
- package/src/system/platform/component/svg/Marker/Component.ts +72 -0
- package/src/system/platform/component/svg/Marker/index.ts +25 -0
- package/src/system/platform/component/svg/Marker/spec.json +29 -0
- package/src/system/platform/component/svg/Path/Component.ts +109 -0
- package/src/system/platform/component/svg/Path/index.ts +30 -0
- package/src/system/platform/component/svg/Path/spec.json +45 -0
- package/src/system/platform/component/svg/Rect/Component.ts +78 -0
- package/src/system/platform/component/svg/Rect/index.ts +28 -0
- package/src/system/platform/component/svg/Rect/spec.json +72 -0
- package/src/system/platform/component/svg/SVG/Component.ts +122 -0
- package/src/system/platform/component/svg/SVG/index.ts +26 -0
- package/src/system/platform/component/svg/SVG/spec.json +34 -0
- package/src/system/platform/component/svg/SVGTextPath/Component.ts +67 -0
- package/src/system/platform/component/svg/SVGTextPath/index.ts +25 -0
- package/src/system/platform/component/svg/SVGTextPath/spec.json +29 -0
- package/src/system/platform/component/svg/Text/Component.ts +88 -0
- package/src/system/platform/component/svg/Text/index.ts +25 -0
- package/src/system/platform/component/svg/Text/spec.json +29 -0
- package/src/system/platform/component/svg/Use/Component.ts +52 -0
- package/src/system/platform/component/svg/Use/index.ts +26 -0
- package/src/system/platform/component/svg/Use/spec.json +39 -0
- package/src/system/platform/component/value/Checkbox/Component.ts +36 -0
- package/src/system/platform/component/value/Checkbox/index.ts +31 -0
- package/src/system/platform/component/value/Checkbox/spec.json +38 -0
- package/src/system/platform/component/value/Color/Component.ts +56 -0
- package/src/system/platform/component/value/Color/index.ts +27 -0
- package/src/system/platform/component/value/Color/spec.json +29 -0
- package/src/system/platform/component/value/NumberField/Component.ts +95 -0
- package/src/system/platform/component/value/NumberField/index.ts +28 -0
- package/src/system/platform/component/value/NumberField/spec.json +43 -0
- package/src/system/platform/component/value/PasswordField/Component.ts +58 -0
- package/src/system/platform/component/value/PasswordField/index.ts +28 -0
- package/src/system/platform/component/value/PasswordField/spec.json +36 -0
- package/src/system/platform/component/value/Slider/Component.ts +58 -0
- package/src/system/platform/component/value/Slider/index.ts +32 -0
- package/src/system/platform/component/value/Slider/spec.json +43 -0
- package/src/system/platform/component/value/Text/Component.ts +44 -0
- package/src/system/platform/component/value/Text/index.ts +27 -0
- package/src/system/platform/component/value/Text/spec.json +32 -0
- package/src/system/platform/component/value/TextArea/Component.ts +50 -0
- package/src/system/platform/component/value/TextArea/index.ts +28 -0
- package/src/system/platform/component/value/TextArea/spec.json +46 -0
- package/src/system/platform/component/value/TextField/Component.ts +61 -0
- package/src/system/platform/component/value/TextField/index.ts +29 -0
- package/src/system/platform/component/value/TextField/spec.json +41 -0
- package/src/system/platform/core/DelayPushRandomTagColor/spec.json +76 -0
- package/src/system/platform/core/DragAccumulate/spec.json +233 -0
- package/src/system/platform/core/IsValidEmail/spec.json +51 -0
- package/src/system/platform/core/MergeWidthHeight/spec.json +152 -0
- package/src/system/platform/core/OnClickToggle/spec.json +83 -0
- package/src/system/platform/core/OnEnterKeydown/spec.json +184 -0
- package/src/system/platform/core/RandomBGColorTag/spec.json +61 -0
- package/src/system/platform/core/RandomColorTag/spec.json +61 -0
- package/src/system/platform/core/RemoveAllChildren/spec.json +229 -0
- package/src/system/platform/core/SetColorDefault/spec.json +80 -0
- package/src/system/platform/core/SetDefault/spec.json +119 -0
- package/src/system/platform/core/SetFillDefault/spec.json +80 -0
- package/src/system/platform/core/SetHeight/spec.json +95 -0
- package/src/system/platform/core/SetIf/spec.json +101 -0
- package/src/system/platform/core/SetScale/spec.json +64 -0
- package/src/system/platform/core/SetScaleX/spec.json +95 -0
- package/src/system/platform/core/SetScaleY/spec.json +95 -0
- package/src/system/platform/core/SetValue/spec.json +95 -0
- package/src/system/platform/core/SetWidth/spec.json +95 -0
- package/src/system/platform/core/Transform/spec.json +112 -0
- package/src/system/platform/core/api/bluetooth/AnyDevice/spec.json +92 -0
- package/src/system/platform/core/api/children/ChildSet/spec.json +179 -0
- package/src/system/platform/core/api/children/ChildSetStyle/spec.json +122 -0
- package/src/system/platform/core/api/children/ChildSetValue/spec.json +140 -0
- package/src/system/platform/core/api/event/MergeEventData/spec.json +104 -0
- package/src/system/platform/core/api/event/OnAxisChange/spec.json +54 -0
- package/src/system/platform/core/api/event/OnButtonDown/spec.json +54 -0
- package/src/system/platform/core/api/event/OnButtonUp/spec.json +54 -0
- package/src/system/platform/core/api/event/OnChange/spec.json +54 -0
- package/src/system/platform/core/api/event/OnCharacteristicValueChanged/spec.json +54 -0
- package/src/system/platform/core/api/event/OnClick/spec.json +54 -0
- package/src/system/platform/core/api/event/OnClose/spec.json +54 -0
- package/src/system/platform/core/api/event/OnContextHeightValue/spec.json +210 -0
- package/src/system/platform/core/api/event/OnContextWidthValue/spec.json +210 -0
- package/src/system/platform/core/api/event/OnData/spec.json +54 -0
- package/src/system/platform/core/api/event/OnDataAvailable/spec.json +54 -0
- package/src/system/platform/core/api/event/OnDoubleClick/spec.json +54 -0
- package/src/system/platform/core/api/event/OnDrag/spec.json +299 -0
- package/src/system/platform/core/api/event/OnDragDelta/spec.json +365 -0
- package/src/system/platform/core/api/event/OnError/spec.json +53 -0
- package/src/system/platform/core/api/event/OnInput/spec.json +54 -0
- package/src/system/platform/core/api/event/OnKeydown/spec.json +54 -0
- package/src/system/platform/core/api/event/OnMessage/spec.json +54 -0
- package/src/system/platform/core/api/event/OnMount/spec.json +91 -0
- package/src/system/platform/core/api/event/OnPaste/spec.json +54 -0
- package/src/system/platform/core/api/event/OnPointerDown/spec.json +54 -0
- package/src/system/platform/core/api/event/OnPointerEnter/spec.json +54 -0
- package/src/system/platform/core/api/event/OnPointerLeave/spec.json +54 -0
- package/src/system/platform/core/api/event/OnPointerMove/spec.json +54 -0
- package/src/system/platform/core/api/event/OnPointerUp/spec.json +54 -0
- package/src/system/platform/core/api/event/OnResize/spec.json +91 -0
- package/src/system/platform/core/api/event/OnShow/spec.json +53 -0
- package/src/system/platform/core/api/event/OnValue/spec.json +54 -0
- package/src/system/platform/core/api/event/OnWheel/spec.json +54 -0
- package/src/system/platform/core/api/event/PropClientX/spec.json +55 -0
- package/src/system/platform/core/api/event/PropClientXClientY/spec.json +81 -0
- package/src/system/platform/core/api/event/PropClientY/spec.json +55 -0
- package/src/system/platform/core/api/event/PropHeight/spec.json +55 -0
- package/src/system/platform/core/api/event/PropId/spec.json +55 -0
- package/src/system/platform/core/api/event/PropKey/spec.json +55 -0
- package/src/system/platform/core/api/event/PropOffsetX/spec.json +55 -0
- package/src/system/platform/core/api/event/PropOffsetXOffsetY/spec.json +81 -0
- package/src/system/platform/core/api/event/PropOffsetY/spec.json +55 -0
- package/src/system/platform/core/api/event/PropUrl/spec.json +55 -0
- package/src/system/platform/core/api/event/PropWidth/spec.json +55 -0
- package/src/system/platform/core/api/event/TagData/spec.json +51 -0
- package/src/system/platform/core/api/event/TagEvent/spec.json +51 -0
- package/src/system/platform/core/api/event/WatchChange/spec.json +88 -0
- package/src/system/platform/core/api/event/WatchInput/spec.json +88 -0
- package/src/system/platform/core/api/event/onSet/spec.json +54 -0
- package/src/system/platform/core/api/frame/GetContextHeight/spec.json +125 -0
- package/src/system/platform/core/api/frame/GetContextSize/spec.json +121 -0
- package/src/system/platform/core/api/frame/GetContextWidth/spec.json +126 -0
- package/src/system/platform/core/api/get/GetHeight/spec.json +159 -0
- package/src/system/platform/core/api/get/GetSender/spec.json +159 -0
- package/src/system/platform/core/api/get/GetValue/spec.json +159 -0
- package/src/system/platform/core/api/get/GetWidth/spec.json +159 -0
- package/src/system/platform/core/api/media/GetDevicesOfKind/spec.json +80 -0
- package/src/system/platform/core/api/set/SetColor/spec.json +96 -0
- package/src/system/platform/core/canvas/AddCircle/spec.json +79 -0
- package/src/system/platform/core/canvas/AddLine/spec.json +150 -0
- package/src/system/platform/core/canvas/AddPie/spec.json +572 -0
- package/src/system/platform/core/canvas/Arc/spec.json +94 -0
- package/src/system/platform/core/canvas/DownloadCanvas/spec.json +171 -0
- package/src/system/platform/core/canvas/DrawD/spec.json +80 -0
- package/src/system/platform/core/canvas/MergeRect/spec.json +228 -0
- package/src/system/platform/core/canvas/MergeX0Y0X1Y1/spec.json +160 -0
- package/src/system/platform/core/canvas/MergeXY/spec.json +96 -0
- package/src/system/platform/core/canvas/MergeXYR/spec.json +113 -0
- package/src/system/platform/core/canvas/PropX0Y0X1Y1/spec.json +126 -0
- package/src/system/platform/core/canvas/PropXY/spec.json +80 -0
- package/src/system/platform/core/canvas/RotateAround/spec.json +168 -0
- package/src/system/platform/core/canvas/RotatingSpiral/spec.json +562 -0
- package/src/system/platform/core/canvas/Rotation/spec.json +140 -0
- package/src/system/platform/core/canvas/StrokeCircle/spec.json +113 -0
- package/src/system/platform/core/canvas/StrokeFillCircle/spec.json +106 -0
- package/src/system/platform/core/canvas/StrokeFillStyle/spec.json +94 -0
- package/src/system/platform/core/canvas/StrokeGoogleSpinner/spec.json +443 -0
- package/src/system/platform/core/canvas/StrokePie/spec.json +253 -0
- package/src/system/platform/core/canvas/StrokeSpiral/spec.json +353 -0
- package/src/system/platform/core/canvas/StrokeUnitCircle/spec.json +158 -0
- package/src/system/platform/core/canvas/StrokeUnitLogo/spec.json +268 -0
- package/src/system/platform/core/canvas/TagEnd/spec.json +50 -0
- package/src/system/platform/core/canvas/TagHeight/spec.json +50 -0
- package/src/system/platform/core/canvas/TagR/spec.json +50 -0
- package/src/system/platform/core/canvas/TagStart/spec.json +50 -0
- package/src/system/platform/core/canvas/TagTransform/spec.json +50 -0
- package/src/system/platform/core/canvas/TagTransformTranslatePX/spec.json +183 -0
- package/src/system/platform/core/canvas/TagValue/spec.json +50 -0
- package/src/system/platform/core/canvas/TagWidth/spec.json +50 -0
- package/src/system/platform/core/canvas/TagX/spec.json +50 -0
- package/src/system/platform/core/canvas/TagY/spec.json +50 -0
- package/src/system/platform/core/color/GammaCorrection/spec.json +174 -0
- package/src/system/platform/core/color/HexToRGB/spec.json +241 -0
- package/src/system/platform/core/color/HexToXY/spec.json +60 -0
- package/src/system/platform/core/color/NameToColor/spec.json +50 -0
- package/src/system/platform/core/color/RGBToHex/spec.json +227 -0
- package/src/system/platform/core/color/RGBToXY/spec.json +60 -0
- package/src/system/platform/core/color/RGBToXYZ/spec.json +170 -0
- package/src/system/platform/core/color/RandomCIEXYColor/spec.json +65 -0
- package/src/system/platform/core/color/RandomHexColor/spec.json +119 -0
- package/src/system/platform/core/color/XYZtoXY/spec.json +154 -0
- package/src/system/platform/core/component/AbsoluteDiv/spec.json +94 -0
- package/src/system/platform/core/component/AlanKayPicture/spec.json +153 -0
- package/src/system/platform/core/component/App/spec.json +324 -0
- package/src/system/platform/core/component/Box/spec.json +86 -0
- package/src/system/platform/core/component/Chalkboard/spec.json +551 -0
- package/src/system/platform/core/component/Charcode/spec.json +117 -0
- package/src/system/platform/core/component/DefaultVideo/spec.json +130 -0
- package/src/system/platform/core/component/FitContent/spec.json +86 -0
- package/src/system/platform/core/component/FlexColumn/spec.json +86 -0
- package/src/system/platform/core/component/FlexColumnCenter/spec.json +86 -0
- package/src/system/platform/core/component/FlexColumnGrid/spec.json +86 -0
- package/src/system/platform/core/component/FlexRow/spec.json +86 -0
- package/src/system/platform/core/component/FlexRowCenter/spec.json +86 -0
- package/src/system/platform/core/component/FlexRowGrid/spec.json +86 -0
- package/src/system/platform/core/component/FullChalkboard/spec.json +111 -0
- package/src/system/platform/core/component/HelloWorld/spec.json +100 -0
- package/src/system/platform/core/component/HorizontalScrollBox/spec.json +103 -0
- package/src/system/platform/core/component/HoveredOrNot/spec.json +217 -0
- package/src/system/platform/core/component/IO/spec.json +626 -0
- package/src/system/platform/core/component/InheritDisplayInlineBlock/spec.json +87 -0
- package/src/system/platform/core/component/InheritScrollSnapAlignStart/spec.json +87 -0
- package/src/system/platform/core/component/InheritScrollSnapX/spec.json +87 -0
- package/src/system/platform/core/component/InheritScrollSnapY/spec.json +87 -0
- package/src/system/platform/core/component/InheritTransparent/spec.json +164 -0
- package/src/system/platform/core/component/InlineBlockDiv/spec.json +94 -0
- package/src/system/platform/core/component/LightSign/spec.json +341 -0
- package/src/system/platform/core/component/LightbulbButton/spec.json +162 -0
- package/src/system/platform/core/component/LocalRoot/spec.json +257 -0
- package/src/system/platform/core/component/Logo/spec.json +200 -0
- package/src/system/platform/core/component/MinMaxSlider/spec.json +654 -0
- package/src/system/platform/core/component/Mirror/spec.json +112 -0
- package/src/system/platform/core/component/RandomColorDiv/spec.json +162 -0
- package/src/system/platform/core/component/RandomColorDiv100px/spec.json +88 -0
- package/src/system/platform/core/component/Root/spec.json +225 -0
- package/src/system/platform/core/component/RotatingDiv/spec.json +478 -0
- package/src/system/platform/core/component/RoundSwitch/spec.json +68 -0
- package/src/system/platform/core/component/ScrollSnapAlignStart/spec.json +109 -0
- package/src/system/platform/core/component/ScrollSnapYDiv/spec.json +102 -0
- package/src/system/platform/core/component/Slider360RadValue/spec.json +108 -0
- package/src/system/platform/core/component/Slider360Value/spec.json +133 -0
- package/src/system/platform/core/component/SliderValue/spec.json +215 -0
- package/src/system/platform/core/component/StackBox/spec.json +78 -0
- package/src/system/platform/core/component/Switch/spec.json +597 -0
- package/src/system/platform/core/component/TextAreaToSpeech/spec.json +270 -0
- package/src/system/platform/core/component/TextBox/Component.ts +88 -0
- package/src/system/platform/core/component/TextBox/spec.json +98 -0
- package/src/system/platform/core/component/TextFit/spec.json +98 -0
- package/src/system/platform/core/component/TextSpan/spec.json +82 -0
- package/src/system/platform/core/component/ToggleValue/spec.json +105 -0
- package/src/system/platform/core/component/TranslatingDiv/spec.json +266 -0
- package/src/system/platform/core/component/UTF16Char/spec.json +82 -0
- package/src/system/platform/core/component/UndoRedo/spec.json +100 -0
- package/src/system/platform/core/component/VerticalSplit/spec.json +546 -0
- package/src/system/platform/core/component/WhiteSpaceNoWrap/spec.json +86 -0
- package/src/system/platform/core/component/canvas/CanvasArc/spec.json +111 -0
- package/src/system/platform/core/component/canvas/CanvasFillCircle/spec.json +113 -0
- package/src/system/platform/core/component/canvas/CanvasGoogleSpinner/spec.json +158 -0
- package/src/system/platform/core/component/canvas/CanvasLine/spec.json +172 -0
- package/src/system/platform/core/component/canvas/CanvasRotatingSpiral/spec.json +203 -0
- package/src/system/platform/core/component/canvas/CanvasSpiral/spec.json +101 -0
- package/src/system/platform/core/component/canvas/CanvasUnitCircle/spec.json +235 -0
- package/src/system/platform/core/component/canvas/CanvasUnitLogo/spec.json +104 -0
- package/src/system/platform/core/computer/AlanKayPictureSrc/spec.json +41 -0
- package/src/system/platform/core/computer/BusyBeaver3/spec.json +40 -0
- package/src/system/platform/core/computer/BusyBeaverGame/spec.json +134 -0
- package/src/system/platform/core/computer/ReadTable/spec.json +292 -0
- package/src/system/platform/core/computer/TuringMachine/spec.json +419 -0
- package/src/system/platform/core/control/Swallow/spec.json +44 -0
- package/src/system/platform/core/download/DownloadGraph/spec.json +112 -0
- package/src/system/platform/core/event/DispatchEvent/spec.json +87 -0
- package/src/system/platform/core/graph/AddRandomUnit/spec.json +95 -0
- package/src/system/platform/core/graph/AddUnit/spec.json +137 -0
- package/src/system/platform/core/graph/GraphDiv/spec.json +139 -0
- package/src/system/platform/core/graph/GraphGraph/spec.json +314 -0
- package/src/system/platform/core/graph/GraphSpecToClipboard/spec.json +114 -0
- package/src/system/platform/core/graph/RemoveUnit/spec.json +83 -0
- package/src/system/platform/core/health/BMI/spec.json +76 -0
- package/src/system/platform/core/math/geometry/trigonometry/DegToRad/spec.json +109 -0
- package/src/system/platform/core/math/geometry/trigonometry/Hypotenuse/spec.json +131 -0
- package/src/system/platform/core/math/geometry/trigonometry/PointInCircle/spec.json +207 -0
- package/src/system/platform/core/math/power/Pow2/spec.json +49 -0
- package/src/system/platform/core/math/series/fibonacci/FibonacciSeries/spec.json +323 -0
- package/src/system/platform/core/math/series/fibonacci/FibonacciSpiralPoints/spec.json +679 -0
- package/src/system/platform/core/math/series/harmonic/HarmonicArray/spec.json +80 -0
- package/src/system/platform/core/math/series/harmonic/HarmonicSeries/spec.json +130 -0
- package/src/system/platform/core/math/series/harmonic/SumNextN/spec.json +153 -0
- package/src/system/platform/core/media/DefaultAudioMedia/spec.json +42 -0
- package/src/system/platform/core/media/DefaultVideoMedia/spec.json +90 -0
- package/src/system/platform/core/rest/FetchBody/spec.json +75 -0
- package/src/system/platform/core/rest/FetchJSONBody/spec.json +131 -0
- package/src/system/platform/core/rest/GetBody/spec.json +50 -0
- package/src/system/platform/core/rest/HTTPBasicAuth/spec.json +111 -0
- package/src/system/platform/core/rest/HTTPTokenAuth/spec.json +50 -0
- package/src/system/platform/core/rest/HTTPTokenAuthOpt/spec.json +87 -0
- package/src/system/platform/core/rest/POSTJSON/spec.json +173 -0
- package/src/system/platform/core/rest/POSTUrlEncoded/spec.json +256 -0
- package/src/system/platform/core/rest/PUTJSON/spec.json +129 -0
- package/src/system/platform/core/rest/ParseJSONBody/spec.json +66 -0
- package/src/system/platform/core/rest/Post/spec.json +97 -0
- package/src/system/platform/core/rest/PostJSONBody/spec.json +103 -0
- package/src/system/platform/core/speech/SpeechToSpeech/spec.json +52 -0
- package/src/system/platform/core/style/AssocBackgroundColor/spec.json +64 -0
- package/src/system/platform/core/style/AssocData/spec.json +64 -0
- package/src/system/platform/core/style/AssocFrom/spec.json +64 -0
- package/src/system/platform/core/style/AssocTo/spec.json +64 -0
- package/src/system/platform/core/style/AssocValue/spec.json +64 -0
- package/src/system/platform/core/style/PX/spec.json +80 -0
- package/src/system/platform/core/style/StyleCenter/spec.json +43 -0
- package/src/system/platform/core/style/TagBackgroundColor/spec.json +50 -0
- package/src/system/platform/core/style/TagColor/spec.json +50 -0
- package/src/system/platform/core/style/TagFilter/spec.json +50 -0
- package/src/system/platform/core/style/TagFontSize/spec.json +50 -0
- package/src/system/platform/core/style/TagFontSizePX/spec.json +126 -0
- package/src/system/platform/core/style/TagFrom/spec.json +50 -0
- package/src/system/platform/core/style/TagLeft/spec.json +50 -0
- package/src/system/platform/core/style/TagOpacity/spec.json +50 -0
- package/src/system/platform/core/style/TagTo/spec.json +50 -0
- package/src/system/platform/core/style/TagTop/spec.json +50 -0
- package/src/system/platform/core/style/percent/spec.json +54 -0
- package/src/system/platform/core/tag/TagEmail/spec.json +50 -0
- package/src/system/platform/core/tag/TagPassword/spec.json +50 -0
- package/src/system/platform/core/unit/SetInput/spec.json +106 -0
- package/src/system/platform/extension/history/DeleteVisit/index.ts +31 -0
- package/src/system/platform/extension/history/DeleteVisit/spec.json +23 -0
- package/src/system/platform/extension/history/GetVisits/index.ts +52 -0
- package/src/system/platform/extension/history/GetVisits/spec.json +27 -0
- package/src/system/platform/extension/history/SearchDeleteVisits/spec.json +140 -0
- package/src/system/platform/extension/history/SearchVisits/index.ts +34 -0
- package/src/system/platform/extension/history/SearchVisits/spec.json +32 -0
- package/src/system/platform/meta/Child/index.ts +87 -0
- package/src/system/platform/meta/Child/spec.json +35 -0
- package/src/system/platform/meta/ParentChild/index.ts +87 -0
- package/src/system/platform/meta/ParentChild/spec.json +35 -0
- package/src/system/platform/method/array/Append/index.ts +37 -0
- package/src/system/platform/method/array/Append/spec.json +27 -0
- package/src/system/platform/method/array/At/index.ts +44 -0
- package/src/system/platform/method/array/At/spec.json +31 -0
- package/src/system/platform/method/array/IndexOf/index.ts +41 -0
- package/src/system/platform/method/array/IndexOf/spec.json +31 -0
- package/src/system/platform/method/object/Delete/index.ts +43 -0
- package/src/system/platform/method/object/Delete/spec.json +33 -0
- package/src/system/platform/method/object/Get/index.ts +44 -0
- package/src/system/platform/method/object/Get/spec.json +33 -0
- package/src/system/platform/method/object/HasKey/index.ts +43 -0
- package/src/system/platform/method/object/HasKey/spec.json +32 -0
- package/src/system/platform/method/object/Keys/index.ts +43 -0
- package/src/system/platform/method/object/Keys/spec.json +31 -0
- package/src/system/platform/method/object/Set/index.ts +44 -0
- package/src/system/platform/method/object/Set/spec.json +36 -0
- package/src/system/platform/method/process/NewGraph/index.ts +50 -0
- package/src/system/platform/method/process/NewGraph/spec.json +34 -0
- package/src/system/platform/method/process/NewSystem/index.ts +56 -0
- package/src/system/platform/method/process/NewSystem/spec.json +34 -0
- package/src/system/platform/method/process/Start/index.ts +55 -0
- package/src/system/platform/method/process/Start/spec.json +43 -0
- package/src/system/platform/method/process/Worker/index.ts +87 -0
- package/src/system/platform/method/process/Worker/spec.json +34 -0
- package/src/system/platform/method/process/share/local/LocalGraph/index.ts +142 -0
- package/src/system/platform/method/process/share/local/LocalGraph/spec.json +31 -0
- package/src/system/platform/method/process/share/local/LocalShareGraph/index.ts +87 -0
- package/src/system/platform/method/process/share/local/LocalShareGraph/spec.json +38 -0
- package/src/system/platform/method/value/Read/index.ts +43 -0
- package/src/system/platform/method/value/Read/spec.json +31 -0
- package/src/system/platform/method/value/Write/index.ts +43 -0
- package/src/system/platform/method/value/Write/spec.json +32 -0
- package/src/system/platform/ref/unit/Input/index.ts +58 -0
- package/src/system/platform/ref/unit/Input/spec.json +36 -0
- package/src/system/platform/ref/unit/Output/index.ts +58 -0
- package/src/system/platform/ref/unit/Output/spec.json +36 -0
- package/src/system.ts +328 -0
- package/src/test/Graph/add.ts +91 -0
- package/src/test/Graph/catch.ts +99 -0
- package/src/test/Graph/cloneUnit.ts +46 -0
- package/src/test/Graph/decompose.ts +117 -0
- package/src/test/Graph/exposed.ts +92 -0
- package/src/test/Graph/identity.ts +52 -0
- package/src/test/Graph/index.ts +11 -0
- package/src/test/Graph/merge.ts +233 -0
- package/src/test/Graph/moveLinkPinInto.ts +49 -0
- package/src/test/Graph/moveMergeInto.ts +77 -0
- package/src/test/Graph/moveSubgraphInto.ts +840 -0
- package/src/test/Graph/moveUnitInto.ts +65 -0
- package/src/test/Graph/specs.ts +19 -0
- package/src/test/Graph/throw.ts +123 -0
- package/src/test/Heap.ts +369 -0
- package/src/test/Merge.ts +166 -0
- package/src/test/Object_.ts +47 -0
- package/src/test/Pin.ts +17 -0
- package/src/test/Primitive.ts +12 -0
- package/src/test/Serial.ts +53 -0
- package/src/test/SharedObject.ts +55 -0
- package/src/test/Unit.ts +13 -0
- package/src/test/check.ts +2 -0
- package/src/test/client/component.ts +31 -0
- package/src/test/client/index.ts +5 -0
- package/src/test/client/parseLayoutValue.ts +9 -0
- package/src/test/client/reflectChildrenTrait.ts +2126 -0
- package/src/test/client/system/index.ts +1 -0
- package/src/test/client/system/platform/component/app/Graph.ts +9 -0
- package/src/test/client/system/platform/component/app/index.ts +1 -0
- package/src/test/client/system/platform/component/index.ts +1 -0
- package/src/test/client/system/platform/index.ts +1 -0
- package/src/test/client/util/data/index.ts +1 -0
- package/src/test/client/util/data/keyboard/index.ts +1 -0
- package/src/test/client/util/data/keyboard/keyUpdateTree.ts +234 -0
- package/src/test/client/util/geometry.ts +35 -0
- package/src/test/client/util/index.ts +2 -0
- package/src/test/client/util/text/getDivTextSize.ts +23 -0
- package/src/test/client/util/text/index.ts +1 -0
- package/src/test/debug.ts +54 -0
- package/src/test/getBundleSpec.ts +28 -0
- package/src/test/index.ts +11 -0
- package/src/test/parseLayoutValue.ts +5 -0
- package/src/test/perf.ts +54 -0
- package/src/test/spec/Lazy.ts +34 -0
- package/src/test/spec/cloneBundle.ts +23 -0
- package/src/test/spec/cloneUnit.ts +89 -0
- package/src/test/spec/compatibility.ts +19 -0
- package/src/test/spec/complexity.ts +19 -0
- package/src/test/spec/createClass.ts +36 -0
- package/src/test/spec/extract.ts +554 -0
- package/src/test/spec/id.ts +36 -0
- package/src/test/spec/index.ts +8 -0
- package/src/test/spec/parser.ts +613 -0
- package/src/test/spec/reducers/component.ts +160 -0
- package/src/test/spec/reducers/data.ts +18 -0
- package/src/test/spec/reducers/index.ts +3 -0
- package/src/test/spec/reducers/spec.ts +1305 -0
- package/src/test/spec/stringify.ts +84 -0
- package/src/test/spec/type.ts +537 -0
- package/src/test/spec/util.ts +0 -0
- package/src/test/system/core/AppendIf.ts +119 -0
- package/src/test/system/core/ArrayBuilder.ts +17 -0
- package/src/test/system/core/ArrayMultiply.ts +49 -0
- package/src/test/system/core/CompareLTE.ts +33 -0
- package/src/test/system/core/Empty.ts +11 -0
- package/src/test/system/core/FilterPropEqual.ts +89 -0
- package/src/test/system/core/ForEach.ts +93 -0
- package/src/test/system/core/HasLength.ts +32 -0
- package/src/test/system/core/HasntLength.ts +36 -0
- package/src/test/system/core/HeadOrDefault.ts +28 -0
- package/src/test/system/core/IfElse.ts +110 -0
- package/src/test/system/core/IfNot.ts +39 -0
- package/src/test/system/core/Increment.ts +25 -0
- package/src/test/system/core/KeysEquals.ts +32 -0
- package/src/test/system/core/LengthEquals.ts +49 -0
- package/src/test/system/core/LengthLessThanOr.ts +36 -0
- package/src/test/system/core/Lever.ts +42 -0
- package/src/test/system/core/LoopForever.ts +41 -0
- package/src/test/system/core/LoopIncrement.ts +27 -0
- package/src/test/system/core/LoopRepeat.ts +38 -0
- package/src/test/system/core/MergeSort.ts +218 -0
- package/src/test/system/core/NArrayBuilder.ts +192 -0
- package/src/test/system/core/NStringBuilderFrom.ts +51 -0
- package/src/test/system/core/PathGet.ts +7 -0
- package/src/test/system/core/Pick.ts +62 -0
- package/src/test/system/core/PrependIf.ts +101 -0
- package/src/test/system/core/PriorityHead.ts +56 -0
- package/src/test/system/core/PriorityMerge.ts +81 -0
- package/src/test/system/core/PropEqual.ts +21 -0
- package/src/test/system/core/RandomBit.ts +28 -0
- package/src/test/system/core/RandomHEXColor.ts +85 -0
- package/src/test/system/core/Range.ts +213 -0
- package/src/test/system/core/RangeArray.ts +55 -0
- package/src/test/system/core/RangeArray6.ts +18 -0
- package/src/test/system/core/RangeBounce.ts +44 -0
- package/src/test/system/core/RangeRec.ts +212 -0
- package/src/test/system/core/RangeReverse.ts +165 -0
- package/src/test/system/core/SplitAt.ts +4 -0
- package/src/test/system/core/SumAll.ts +46 -0
- package/src/test/system/core/SumN.ts +25 -0
- package/src/test/system/core/SumNextN.ts +170 -0
- package/src/test/system/core/TrueOrFalse.ts +32 -0
- package/src/test/system/core/index.ts +40 -0
- package/src/test/system/f/arithmetic/Add.ts +40 -0
- package/src/test/system/f/arithmetic/Divide.ts +40 -0
- package/src/test/system/f/arithmetic/Subtract.ts +13 -0
- package/src/test/system/f/arithmetic/index.ts +3 -0
- package/src/test/system/f/array/Append.ts +15 -0
- package/src/test/system/f/array/At.ts +26 -0
- package/src/test/system/f/array/Length.ts +17 -0
- package/src/test/system/f/array/index.ts +3 -0
- package/src/test/system/f/bitwise/And.ts +20 -0
- package/src/test/system/f/bitwise/XOr.ts +16 -0
- package/src/test/system/f/bitwise/index.ts +2 -0
- package/src/test/system/f/comparisson/Equals.ts +47 -0
- package/src/test/system/f/comparisson/index.ts +1 -0
- package/src/test/system/f/control/Constant.ts +23 -0
- package/src/test/system/f/control/Default.ts +33 -0
- package/src/test/system/f/control/Identity.ts +96 -0
- package/src/test/system/f/control/If.ts +22 -0
- package/src/test/system/f/control/Iterate.ts +42 -0
- package/src/test/system/f/control/Loop.ts +278 -0
- package/src/test/system/f/control/Memory.ts +24 -0
- package/src/test/system/f/control/Plan.ts +46 -0
- package/src/test/system/f/control/Throw.ts +17 -0
- package/src/test/system/f/control/Void.ts +16 -0
- package/src/test/system/f/control/Wait.ts +24 -0
- package/src/test/system/f/control/index.ts +7 -0
- package/src/test/system/f/data/Parse.ts +15 -0
- package/src/test/system/f/data/TypeOf.ts +17 -0
- package/src/test/system/f/data/index.ts +2 -0
- package/src/test/system/f/index.ts +11 -0
- package/src/test/system/f/math/index.ts +0 -0
- package/src/test/system/f/meta/Catch.ts +56 -0
- package/src/test/system/f/meta/Exec.ts +27 -0
- package/src/test/system/f/meta/index.ts +2 -0
- package/src/test/system/f/number/NumberToString.ts +22 -0
- package/src/test/system/f/number/index.ts +1 -0
- package/src/test/system/f/object/Assoc.ts +15 -0
- package/src/test/system/f/object/DeepMerge.ts +43 -0
- package/src/test/system/f/object/HasKey.ts +22 -0
- package/src/test/system/f/object/Keys.ts +16 -0
- package/src/test/system/f/object/Values.ts +16 -0
- package/src/test/system/f/object/index.ts +5 -0
- package/src/test/system/f/string/Concat.ts +22 -0
- package/src/test/system/f/string/Length.ts +18 -0
- package/src/test/system/f/string/Substr.ts +20 -0
- package/src/test/system/f/string/index.ts +3 -0
- package/src/test/system/index.ts +2 -0
- package/src/test/util/array.ts +4 -0
- package/src/test/util/index.ts +3 -0
- package/src/test/util/object.ts +12 -0
- package/src/test/util/system.ts +3 -0
- package/src/test/util.ts +68 -0
- package/src/types/BundleSpec.ts +6 -0
- package/src/types/Callback.ts +1 -0
- package/src/types/Dict.ts +3 -0
- package/src/types/GlobalRefSpec.ts +4 -0
- package/src/types/GraphClass.ts +12 -0
- package/src/types/GraphState.ts +4 -0
- package/src/types/IO.ts +1 -0
- package/src/types/IOOf.ts +54 -0
- package/src/types/Listener.ts +1 -0
- package/src/types/None.ts +1 -0
- package/src/types/TagData.ts +4 -0
- package/src/types/UnitBundle.ts +10 -0
- package/src/types/UnitBundleSpec.ts +6 -0
- package/src/types/UnitClass.ts +6 -0
- package/src/types/Unlisten.ts +1 -0
- package/src/types/global/IBluetoothCharacteristic.ts +12 -0
- package/src/types/global/IBluetoothDevice.ts +15 -0
- package/src/types/global/IBluetoothServer.ts +7 -0
- package/src/types/global/IBluetoothService.ts +7 -0
- package/src/types/global/IChannel.ts +12 -0
- package/src/types/global/IDeviceInfo.ts +6 -0
- package/src/types/global/IDisplayMedia.ts +1 -0
- package/src/types/global/IDownloadData.ts +6 -0
- package/src/types/global/IDownloadURL.ts +4 -0
- package/src/types/global/IFileHandler.ts +4 -0
- package/src/types/global/IGamepad.ts +1 -0
- package/src/types/global/IGeoPosition.ts +4 -0
- package/src/types/global/IHTTPServer.ts +20 -0
- package/src/types/global/IHost.ts +0 -0
- package/src/types/global/IKeyboard.ts +4 -0
- package/src/types/global/IMedia.ts +6 -0
- package/src/types/global/IMutationObserver.ts +8 -0
- package/src/types/global/IPointer.ts +5 -0
- package/src/types/global/IPort.ts +9 -0
- package/src/types/global/IPositionObserver.ts +26 -0
- package/src/types/global/IResizeObserver.ts +8 -0
- package/src/types/global/ISpeechGrammarList.ts +5 -0
- package/src/types/global/ISpeechRecognition.ts +22 -0
- package/src/types/global/ISpeechSynthesis.ts +9 -0
- package/src/types/global/ISpeechSynthesisUtterance.ts +8 -0
- package/src/types/global/ISpeechSynthesisVoice.ts +9 -0
- package/src/types/global/IStorage.ts +6 -0
- package/src/types/global/IUserMedia.ts +1 -0
- package/src/types/global/IVibrateOpt.ts +1 -0
- package/src/types/global/IWakeLock.ts +9 -0
- package/src/types/global/dom/index.ts +2 -0
- package/src/types/index.ts +286 -0
- package/src/types/interface/$_.ts +9 -0
- package/src/types/interface/A.ts +7 -0
- package/src/types/interface/B.ts +3 -0
- package/src/types/interface/BC.ts +3 -0
- package/src/types/interface/BD.ts +5 -0
- package/src/types/interface/BS.ts +5 -0
- package/src/types/interface/BSE.ts +5 -0
- package/src/types/interface/C.ts +39 -0
- package/src/types/interface/CA.ts +9 -0
- package/src/types/interface/CH.ts +3 -0
- package/src/types/interface/CS.ts +5 -0
- package/src/types/interface/C_U.ts +4 -0
- package/src/types/interface/Component.ts +9 -0
- package/src/types/interface/E.ts +6 -0
- package/src/types/interface/EE.ts +29 -0
- package/src/types/interface/G.ts +359 -0
- package/src/types/interface/IB.ts +3 -0
- package/src/types/interface/J.ts +26 -0
- package/src/types/interface/M.ts +1 -0
- package/src/types/interface/P.ts +13 -0
- package/src/types/interface/PS.ts +5 -0
- package/src/types/interface/RE.ts +1 -0
- package/src/types/interface/S.ts +9 -0
- package/src/types/interface/ST.ts +6 -0
- package/src/types/interface/U.ts +112 -0
- package/src/types/interface/UCG.ts +5 -0
- package/src/types/interface/V.ts +4 -0
- package/src/types/interface/W.ts +7 -0
- package/src/types/interface/async/$$.ts +0 -0
- package/src/types/interface/async/$C.ts +35 -0
- package/src/types/interface/async/$CS.ts +11 -0
- package/src/types/interface/async/$Component.ts +5 -0
- package/src/types/interface/async/$E.ts +7 -0
- package/src/types/interface/async/$EE.ts +27 -0
- package/src/types/interface/async/$Element.ts +8 -0
- package/src/types/interface/async/$G.ts +334 -0
- package/src/types/interface/async/$Graph.ts +26 -0
- package/src/types/interface/async/$J.ts +19 -0
- package/src/types/interface/async/$PS.ts +9 -0
- package/src/types/interface/async/$ST.ts +16 -0
- package/src/types/interface/async/$U.ts +55 -0
- package/src/types/interface/async/$V.ts +18 -0
- package/src/types/interface/async/$W.ts +13 -0
- package/src/types/interface/async/$Wrap.ts +4 -0
- package/src/types/interface/async/Async.ts +24 -0
- package/src/types/interface/async/AsyncC.ts +72 -0
- package/src/types/interface/async/AsyncComponent.ts +16 -0
- package/src/types/interface/async/AsyncE.ts +22 -0
- package/src/types/interface/async/AsyncEE.ts +42 -0
- package/src/types/interface/async/AsyncElement.ts +22 -0
- package/src/types/interface/async/AsyncG.ts +879 -0
- package/src/types/interface/async/AsyncGraph.ts +14 -0
- package/src/types/interface/async/AsyncJ.ts +50 -0
- package/src/types/interface/async/AsyncST.ts +26 -0
- package/src/types/interface/async/AsyncU.ts +128 -0
- package/src/types/interface/async/AsyncUnit.ts +9 -0
- package/src/types/interface/async/AsyncV.ts +43 -0
- package/src/types/interface/async/AsyncW.ts +53 -0
- package/src/types/interface/async/AsyncWrap.ts +25 -0
- package/src/types/isNone.ts +3 -0
- package/src/types/parser/randomValue.ts +277 -0
- package/src/types/stringifyPinData.ts +29 -0
- package/src/types/weakMerge.ts +44 -0
- package/src/util/array/index.ts +154 -0
- package/src/util/array/test.ts +93 -0
- package/src/util/assert.ts +27 -0
- package/src/util/call/callAll.ts +7 -0
- package/src/util/call/callAllDict.ts +11 -0
- package/src/util/control.ts +5 -0
- package/src/util/element.ts +44 -0
- package/src/util/graph/index.ts +16 -0
- package/src/util/hashCode.ts +12 -0
- package/src/util/id.ts +48 -0
- package/src/util/identity.ts +3 -0
- package/src/util/keyUpdateTree.ts +488 -0
- package/src/util/object.ts +363 -0
- package/src/util/promise.ts +27 -0
- package/src/util/removeLastSegment.ts +7 -0
- package/src/util/stream/stopMediaStream.ts +3 -0
- package/src/util/string.ts +7 -0
- package/src/util/svg/index.ts +18 -0
- package/src/util/text/getDivTextSize.ts +50 -0
- package/src/util/text/getPlainTextHeight.ts +9 -0
- package/src/util/text/getPlainTextSize.ts +13 -0
- package/src/util/text/getPlainTextWidth.ts +10 -0
- package/src/util/text/getTextAreaSize.ts +30 -0
- package/src/v.ts +1 -0
- package/src/version.ts +7 -0
- package/src/worker/system.ts +33 -0
- package/src/wrap/MediaStream.ts +20 -0
- package/src/wrap/System.ts +34 -0
- package/src/wrap/Value.ts +17 -0
- package/tsconfig.json +27 -0
|
@@ -0,0 +1,1905 @@
|
|
|
1
|
+
import { idFromUnitValue } from '../client/idFromUnitValue'
|
|
2
|
+
import { INHERITANCE } from '../interface'
|
|
3
|
+
import { keys } from '../system/f/object/Keys/f'
|
|
4
|
+
import _specs from '../system/_specs'
|
|
5
|
+
import { PinsSpecBase, Specs } from '../types'
|
|
6
|
+
import { matchAllExc } from '../util/array'
|
|
7
|
+
import { clone } from '../util/object'
|
|
8
|
+
import { removeWhiteSpace } from '../util/string'
|
|
9
|
+
import { BOOLEAN_LITERAL_REGEX } from './regex/BOOLEAN_LITERAL'
|
|
10
|
+
import { IDENTIFIER_REGEX } from './regex/IDENTIFIER'
|
|
11
|
+
import { NUMBER_LITERAL_REGEX } from './regex/NUMBER_LITERAL'
|
|
12
|
+
import { STRING_LITERAL_REGEX } from './regex/STRING_LITERAL'
|
|
13
|
+
|
|
14
|
+
export enum TreeNodeType {
|
|
15
|
+
// 0
|
|
16
|
+
Invalid,
|
|
17
|
+
// 1
|
|
18
|
+
Null,
|
|
19
|
+
// 2
|
|
20
|
+
Generic,
|
|
21
|
+
// 3
|
|
22
|
+
Identifier,
|
|
23
|
+
// 4
|
|
24
|
+
Expression,
|
|
25
|
+
// 5
|
|
26
|
+
ArrayExpression,
|
|
27
|
+
// 6
|
|
28
|
+
ObjectExpression,
|
|
29
|
+
// 7
|
|
30
|
+
Or,
|
|
31
|
+
// 8
|
|
32
|
+
And,
|
|
33
|
+
// 9
|
|
34
|
+
Object,
|
|
35
|
+
// 10
|
|
36
|
+
String,
|
|
37
|
+
// 11
|
|
38
|
+
Number,
|
|
39
|
+
// 12
|
|
40
|
+
Boolean,
|
|
41
|
+
// 13
|
|
42
|
+
Class,
|
|
43
|
+
// 14
|
|
44
|
+
StringLiteral,
|
|
45
|
+
// 15
|
|
46
|
+
BooleanLiteral,
|
|
47
|
+
// 16
|
|
48
|
+
NumberLiteral,
|
|
49
|
+
// 17
|
|
50
|
+
ObjectLiteral,
|
|
51
|
+
// 18
|
|
52
|
+
ArrayLiteral,
|
|
53
|
+
// 19
|
|
54
|
+
ClassLiteral,
|
|
55
|
+
// 20
|
|
56
|
+
KeyValue,
|
|
57
|
+
// 21
|
|
58
|
+
Regex,
|
|
59
|
+
// 22
|
|
60
|
+
RegexLiteral,
|
|
61
|
+
// 23
|
|
62
|
+
Date,
|
|
63
|
+
// 24
|
|
64
|
+
DateLiteral,
|
|
65
|
+
// 25
|
|
66
|
+
Time,
|
|
67
|
+
// 26
|
|
68
|
+
Unit,
|
|
69
|
+
// 27
|
|
70
|
+
Any,
|
|
71
|
+
// 28
|
|
72
|
+
PropExpression,
|
|
73
|
+
// 29
|
|
74
|
+
ArithmeticExpression,
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type TreeNode = {
|
|
78
|
+
value: string
|
|
79
|
+
type: TreeNodeType
|
|
80
|
+
children: TreeNode[]
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export const COMMA = ','
|
|
84
|
+
|
|
85
|
+
export const DOUBLE_QUOTE = '"'
|
|
86
|
+
export const SINGLE_QUOTE = "'"
|
|
87
|
+
|
|
88
|
+
export const OBJECT_OPEN = '{'
|
|
89
|
+
export const OBJECT_CLOSE = '}'
|
|
90
|
+
|
|
91
|
+
export const ARRAY_OPEN = '['
|
|
92
|
+
export const ARRAY_CLOSE = ']'
|
|
93
|
+
|
|
94
|
+
function trimSides(str: string): string {
|
|
95
|
+
return str.substring(1, str.length - 1)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function _traverse(
|
|
99
|
+
root: TreeNode,
|
|
100
|
+
callback: (node: TreeNode, path: number[]) => void,
|
|
101
|
+
path: number[] = []
|
|
102
|
+
): void {
|
|
103
|
+
callback(root, path)
|
|
104
|
+
root.children.forEach((child: TreeNode, index: number) =>
|
|
105
|
+
_traverse(child, callback, [...path, index])
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function _printTree(tree: TreeNode): void {
|
|
110
|
+
// console.log(JSON.stringify(tree, null, 2))
|
|
111
|
+
_traverse(tree, (node: TreeNode, path: number[]) =>
|
|
112
|
+
console.log(path, node.value)
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function printTree(data: string): void {
|
|
117
|
+
const tree = getTree(data)
|
|
118
|
+
_printTree(tree)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function isCompositeType(type: TreeNodeType): boolean {
|
|
122
|
+
return (
|
|
123
|
+
[
|
|
124
|
+
TreeNodeType.ArrayExpression,
|
|
125
|
+
TreeNodeType.Expression,
|
|
126
|
+
TreeNodeType.ObjectLiteral,
|
|
127
|
+
TreeNodeType.ArrayLiteral,
|
|
128
|
+
TreeNodeType.KeyValue,
|
|
129
|
+
TreeNodeType.Class,
|
|
130
|
+
].indexOf(type) > -1
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function isGeneric(type: string): boolean {
|
|
135
|
+
return hasGeneric(type)
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function hasGeneric(type: string): boolean {
|
|
139
|
+
const tree = getTree(type)
|
|
140
|
+
return _hasGeneric(tree)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function _isGeneric(tree: TreeNode): boolean {
|
|
144
|
+
return _hasGeneric(tree)
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function _hasGeneric(tree: TreeNode): boolean {
|
|
148
|
+
return (
|
|
149
|
+
tree.type === TreeNodeType.Generic ||
|
|
150
|
+
(isCompositeType(tree.type) && tree.children.some(_hasGeneric))
|
|
151
|
+
)
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function getObjLiteralKeyValueMap(tree: TreeNode): { [key: string]: TreeNode } {
|
|
155
|
+
const keyValueMap = {}
|
|
156
|
+
for (const keyValue of tree.children) {
|
|
157
|
+
if (keyValue.type === TreeNodeType.KeyValue) {
|
|
158
|
+
const keyTree = keyValue.children[0]
|
|
159
|
+
let key: string
|
|
160
|
+
const { value, type } = keyTree
|
|
161
|
+
if (type === TreeNodeType.Identifier) {
|
|
162
|
+
key = value
|
|
163
|
+
} else {
|
|
164
|
+
key = value.substr(1, value.length - 2)
|
|
165
|
+
}
|
|
166
|
+
keyValueMap[key] = keyValue.children[1]
|
|
167
|
+
} else {
|
|
168
|
+
keyValueMap[keyValue.value] = keyValue.value
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
return keyValueMap
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export function _isValueOfType(value: TreeNode, type: TreeNode): boolean {
|
|
175
|
+
switch (type.type) {
|
|
176
|
+
case TreeNodeType.Generic:
|
|
177
|
+
return _isValidValue(value)
|
|
178
|
+
case TreeNodeType.Identifier:
|
|
179
|
+
case TreeNodeType.StringLiteral:
|
|
180
|
+
case TreeNodeType.BooleanLiteral:
|
|
181
|
+
case TreeNodeType.NumberLiteral:
|
|
182
|
+
return value.type === type.type && value.value === type.value
|
|
183
|
+
case TreeNodeType.ObjectLiteral: {
|
|
184
|
+
const typeKeyValueMap = getObjLiteralKeyValueMap(type)
|
|
185
|
+
const valueKeyValueMap = getObjLiteralKeyValueMap(value)
|
|
186
|
+
|
|
187
|
+
for (const key in typeKeyValueMap) {
|
|
188
|
+
if (
|
|
189
|
+
!valueKeyValueMap[key] ||
|
|
190
|
+
!_isValueOfType(valueKeyValueMap[key], typeKeyValueMap[key])
|
|
191
|
+
) {
|
|
192
|
+
return false
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
return value.type === TreeNodeType.ObjectLiteral
|
|
197
|
+
}
|
|
198
|
+
case TreeNodeType.ArrayLiteral:
|
|
199
|
+
return (
|
|
200
|
+
value.type === TreeNodeType.ArrayLiteral &&
|
|
201
|
+
!value.children.some(
|
|
202
|
+
(child, index) => !_isValueOfType(child, type.children[index])
|
|
203
|
+
)
|
|
204
|
+
)
|
|
205
|
+
case TreeNodeType.Object:
|
|
206
|
+
return value.type === TreeNodeType.ObjectLiteral
|
|
207
|
+
case TreeNodeType.String:
|
|
208
|
+
return value.type === TreeNodeType.StringLiteral
|
|
209
|
+
case TreeNodeType.Number:
|
|
210
|
+
return value.type === TreeNodeType.NumberLiteral
|
|
211
|
+
case TreeNodeType.Boolean:
|
|
212
|
+
return value.type === TreeNodeType.BooleanLiteral
|
|
213
|
+
|
|
214
|
+
case TreeNodeType.Or:
|
|
215
|
+
return type.children.some((child) => _isValueOfType(value, child))
|
|
216
|
+
case TreeNodeType.And:
|
|
217
|
+
return !type.children.some((child) => !_isValueOfType(value, child))
|
|
218
|
+
case TreeNodeType.ArrayExpression:
|
|
219
|
+
return (
|
|
220
|
+
value.type === TreeNodeType.ArrayLiteral &&
|
|
221
|
+
!value.children.some(
|
|
222
|
+
(child) => !_isValueOfType(child, type.children[0])
|
|
223
|
+
)
|
|
224
|
+
)
|
|
225
|
+
case TreeNodeType.ObjectExpression:
|
|
226
|
+
return (
|
|
227
|
+
value.type === TreeNodeType.ObjectLiteral &&
|
|
228
|
+
!value.children.some(
|
|
229
|
+
(child) => !_isValueOfType(child, type.children[0])
|
|
230
|
+
)
|
|
231
|
+
)
|
|
232
|
+
case TreeNodeType.Expression:
|
|
233
|
+
return _isValueOfType(value, type.children[0])
|
|
234
|
+
case TreeNodeType.KeyValue:
|
|
235
|
+
return (
|
|
236
|
+
_isValueOfType(value.children[0], type.children[0]) &&
|
|
237
|
+
_isValueOfType(value.children[1], type.children[1])
|
|
238
|
+
)
|
|
239
|
+
default:
|
|
240
|
+
throw new Error('not a valid TreeNodeType')
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export function isValueOfType(value: string, type: string) {
|
|
245
|
+
const valueTree = getTree(value)
|
|
246
|
+
const typeTree = getTree(type)
|
|
247
|
+
|
|
248
|
+
if (!_isValidValue(valueTree)) {
|
|
249
|
+
return false
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
if (!_isValidType(typeTree)) {
|
|
253
|
+
return false
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
return _isValueOfType(valueTree, typeTree)
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export function isValidType(type: string): boolean {
|
|
260
|
+
const tree = getTree(type)
|
|
261
|
+
return _isValidType(tree)
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export function getTreeNodeType(value: string): TreeNodeType {
|
|
265
|
+
const tree = getTree(value)
|
|
266
|
+
return tree.type
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export function isLiteralType(type: TreeNodeType): boolean {
|
|
270
|
+
return !!LITERAL_TO_TYPE[type]
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const LITERAL_TO_TYPE: { [type: number]: TreeNodeType } = {
|
|
274
|
+
[TreeNodeType.NumberLiteral]: TreeNodeType.Number,
|
|
275
|
+
[TreeNodeType.StringLiteral]: TreeNodeType.String,
|
|
276
|
+
[TreeNodeType.BooleanLiteral]: TreeNodeType.Boolean,
|
|
277
|
+
[TreeNodeType.RegexLiteral]: TreeNodeType.Regex,
|
|
278
|
+
[TreeNodeType.DateLiteral]: TreeNodeType.Date,
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
const TYPE_TO_LITERAL: { [type: number]: TreeNodeType } = {
|
|
282
|
+
[TreeNodeType.Number]: TreeNodeType.NumberLiteral,
|
|
283
|
+
[TreeNodeType.String]: TreeNodeType.StringLiteral,
|
|
284
|
+
[TreeNodeType.Boolean]: TreeNodeType.BooleanLiteral,
|
|
285
|
+
[TreeNodeType.Object]: TreeNodeType.ObjectLiteral,
|
|
286
|
+
[TreeNodeType.ArrayExpression]: TreeNodeType.ArrayLiteral,
|
|
287
|
+
[TreeNodeType.Regex]: TreeNodeType.RegexLiteral,
|
|
288
|
+
[TreeNodeType.Date]: TreeNodeType.DateLiteral,
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export function getLiteralType(type: TreeNodeType): TreeNodeType {
|
|
292
|
+
return TYPE_TO_LITERAL[type]
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export function _isTypeMatch(
|
|
296
|
+
source: TreeNode,
|
|
297
|
+
target: TreeNode,
|
|
298
|
+
specs: Specs
|
|
299
|
+
): boolean {
|
|
300
|
+
if (source.type === TreeNodeType.Invalid) {
|
|
301
|
+
return false
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (source.type === TreeNodeType.Identifier) {
|
|
305
|
+
return false
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
if (source.type === TreeNodeType.Any) {
|
|
309
|
+
return true
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
if (source.type === TreeNodeType.Generic) {
|
|
313
|
+
return true
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (source.type === TreeNodeType.Or) {
|
|
317
|
+
return !source.children.some((sourceChild) => {
|
|
318
|
+
return !_isTypeMatch(sourceChild, target, specs)
|
|
319
|
+
})
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
if (source.type === TreeNodeType.And) {
|
|
323
|
+
if (target.type === TreeNodeType.And) {
|
|
324
|
+
return target.children.every((targetChild) => {
|
|
325
|
+
return source.children.some((sourceChild) => {
|
|
326
|
+
const typeMatch = _isTypeMatch(sourceChild, targetChild, specs)
|
|
327
|
+
|
|
328
|
+
return typeMatch
|
|
329
|
+
})
|
|
330
|
+
})
|
|
331
|
+
} else {
|
|
332
|
+
return source.children.some((sourceChild) => {
|
|
333
|
+
return _isTypeMatch(sourceChild, target, specs)
|
|
334
|
+
})
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
if (source.type === TreeNodeType.Expression) {
|
|
339
|
+
return _isTypeMatch(source.children[0], target, specs)
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
switch (target.type) {
|
|
343
|
+
case TreeNodeType.Invalid:
|
|
344
|
+
return false
|
|
345
|
+
case TreeNodeType.Identifier:
|
|
346
|
+
return false
|
|
347
|
+
case TreeNodeType.Any:
|
|
348
|
+
return true
|
|
349
|
+
case TreeNodeType.Generic:
|
|
350
|
+
return true
|
|
351
|
+
case TreeNodeType.String:
|
|
352
|
+
return (
|
|
353
|
+
source.type === TreeNodeType.String ||
|
|
354
|
+
source.type === TreeNodeType.StringLiteral
|
|
355
|
+
)
|
|
356
|
+
case TreeNodeType.Number:
|
|
357
|
+
return (
|
|
358
|
+
source.type === TreeNodeType.Number ||
|
|
359
|
+
source.type === TreeNodeType.NumberLiteral
|
|
360
|
+
)
|
|
361
|
+
case TreeNodeType.Boolean:
|
|
362
|
+
return (
|
|
363
|
+
source.type === TreeNodeType.Boolean ||
|
|
364
|
+
source.type === TreeNodeType.BooleanLiteral
|
|
365
|
+
)
|
|
366
|
+
case TreeNodeType.Object:
|
|
367
|
+
return (
|
|
368
|
+
source.type === TreeNodeType.Object ||
|
|
369
|
+
(source.type === TreeNodeType.ObjectLiteral && _isValidTree(source))
|
|
370
|
+
)
|
|
371
|
+
case TreeNodeType.Regex:
|
|
372
|
+
return (
|
|
373
|
+
source.type === TreeNodeType.Regex ||
|
|
374
|
+
source.type === TreeNodeType.RegexLiteral
|
|
375
|
+
)
|
|
376
|
+
case TreeNodeType.Class:
|
|
377
|
+
if (source.type === TreeNodeType.Class) {
|
|
378
|
+
let current = source.value
|
|
379
|
+
|
|
380
|
+
const checkMatch = (p) => {
|
|
381
|
+
if (p === target.value) {
|
|
382
|
+
return true
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
const pps = INHERITANCE[p]
|
|
386
|
+
|
|
387
|
+
if (pps) {
|
|
388
|
+
return pps.some(checkMatch)
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
return false
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
const match = checkMatch(current)
|
|
395
|
+
|
|
396
|
+
return match
|
|
397
|
+
} else if (source.type === TreeNodeType.Unit) {
|
|
398
|
+
const specId = idFromUnitValue(source.value)
|
|
399
|
+
const spec = specs[specId]
|
|
400
|
+
const { type } = spec
|
|
401
|
+
const typeTree = getTree(type)
|
|
402
|
+
|
|
403
|
+
return _isTypeMatch(typeTree, target, specs)
|
|
404
|
+
} else {
|
|
405
|
+
return false
|
|
406
|
+
}
|
|
407
|
+
case TreeNodeType.Null:
|
|
408
|
+
return source.type === TreeNodeType.Null
|
|
409
|
+
case TreeNodeType.Unit:
|
|
410
|
+
return source.type === TreeNodeType.Unit
|
|
411
|
+
case TreeNodeType.ArithmeticExpression:
|
|
412
|
+
return source.type === TreeNodeType.ArithmeticExpression
|
|
413
|
+
case TreeNodeType.BooleanLiteral:
|
|
414
|
+
case TreeNodeType.NumberLiteral:
|
|
415
|
+
case TreeNodeType.StringLiteral:
|
|
416
|
+
return (
|
|
417
|
+
source.type === target.type &&
|
|
418
|
+
source.value.substr(1, source.value.length - 2) ===
|
|
419
|
+
target.value.substr(1, target.value.length - 2)
|
|
420
|
+
)
|
|
421
|
+
case TreeNodeType.ObjectLiteral:
|
|
422
|
+
if (source.type === TreeNodeType.Object) {
|
|
423
|
+
return true
|
|
424
|
+
} else if (source.type === TreeNodeType.ObjectLiteral) {
|
|
425
|
+
const sourceDict = getObjLiteralKeyValueMap(source)
|
|
426
|
+
const targetDict = getObjLiteralKeyValueMap(target)
|
|
427
|
+
for (const targetKey in targetDict) {
|
|
428
|
+
const sourceValue = sourceDict[targetKey]
|
|
429
|
+
const targetValue = targetDict[targetKey]
|
|
430
|
+
if (targetKey.endsWith('?')) {
|
|
431
|
+
if (
|
|
432
|
+
sourceValue !== undefined &&
|
|
433
|
+
!_isTypeMatch(sourceValue, targetValue, specs)
|
|
434
|
+
) {
|
|
435
|
+
return false
|
|
436
|
+
}
|
|
437
|
+
} else if (
|
|
438
|
+
sourceValue === undefined ||
|
|
439
|
+
!_isTypeMatch(sourceValue, targetValue, specs)
|
|
440
|
+
) {
|
|
441
|
+
return false
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
return true
|
|
445
|
+
} else {
|
|
446
|
+
return false
|
|
447
|
+
}
|
|
448
|
+
case TreeNodeType.ArrayLiteral:
|
|
449
|
+
if (source.type !== TreeNodeType.ArrayLiteral) {
|
|
450
|
+
return false
|
|
451
|
+
}
|
|
452
|
+
for (let i = 0; i < target.children.length; i++) {
|
|
453
|
+
const targetChild = target.children[i]
|
|
454
|
+
const sourceChild = source.children[i]
|
|
455
|
+
if (!sourceChild || !_isTypeMatch(sourceChild, targetChild, specs)) {
|
|
456
|
+
return false
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
return true
|
|
460
|
+
case TreeNodeType.Or:
|
|
461
|
+
return target.children.some((targetChild) =>
|
|
462
|
+
_isTypeMatch(source, targetChild, specs)
|
|
463
|
+
)
|
|
464
|
+
case TreeNodeType.And:
|
|
465
|
+
return source.value === target.value
|
|
466
|
+
case TreeNodeType.Expression:
|
|
467
|
+
return _isTypeMatch(source, target.children[0], specs)
|
|
468
|
+
case TreeNodeType.ArrayExpression:
|
|
469
|
+
return (
|
|
470
|
+
(source.type === TreeNodeType.ArrayExpression &&
|
|
471
|
+
_isTypeMatch(source.children[0], target.children[0], specs)) ||
|
|
472
|
+
(source.type === TreeNodeType.ArrayLiteral &&
|
|
473
|
+
(source.children.length === 0 ||
|
|
474
|
+
!source.children.some(
|
|
475
|
+
(c) => !_isTypeMatch(c, target.children[0], specs)
|
|
476
|
+
)))
|
|
477
|
+
)
|
|
478
|
+
case TreeNodeType.ObjectExpression:
|
|
479
|
+
return (
|
|
480
|
+
(source.type === TreeNodeType.ObjectExpression &&
|
|
481
|
+
_isTypeMatch(source.children[0], target.children[0], specs)) ||
|
|
482
|
+
(source.type === TreeNodeType.ObjectLiteral &&
|
|
483
|
+
(source.children.length === 0 ||
|
|
484
|
+
!source.children.some(
|
|
485
|
+
(keyValue) =>
|
|
486
|
+
!_isTypeMatch(keyValue.children[1], target.children[0], specs)
|
|
487
|
+
)))
|
|
488
|
+
)
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
return false
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export function isTypeMatch(
|
|
495
|
+
source: string,
|
|
496
|
+
target: string,
|
|
497
|
+
specs: Specs = _specs
|
|
498
|
+
): boolean {
|
|
499
|
+
const sourceTree = getTree(source)
|
|
500
|
+
const targetTree = getTree(target)
|
|
501
|
+
|
|
502
|
+
return _isTypeMatch(sourceTree, targetTree, specs)
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export function _isValidTree(value: TreeNode): boolean {
|
|
506
|
+
return _isValidType(value) || _isValidValue(value)
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export function isValidTree(value: string): boolean {
|
|
510
|
+
const tree = getTree(value)
|
|
511
|
+
|
|
512
|
+
return _isValidType(tree) || _isValidValue(tree)
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export function _isValidValue(tree: TreeNode): boolean {
|
|
516
|
+
switch (tree.type) {
|
|
517
|
+
case TreeNodeType.Invalid:
|
|
518
|
+
case TreeNodeType.Generic:
|
|
519
|
+
case TreeNodeType.Identifier:
|
|
520
|
+
case TreeNodeType.String:
|
|
521
|
+
case TreeNodeType.Number:
|
|
522
|
+
case TreeNodeType.Boolean:
|
|
523
|
+
case TreeNodeType.Object:
|
|
524
|
+
case TreeNodeType.Or:
|
|
525
|
+
case TreeNodeType.And:
|
|
526
|
+
case TreeNodeType.ArrayExpression:
|
|
527
|
+
case TreeNodeType.ObjectExpression:
|
|
528
|
+
case TreeNodeType.Expression:
|
|
529
|
+
case TreeNodeType.KeyValue:
|
|
530
|
+
return false
|
|
531
|
+
case TreeNodeType.Null:
|
|
532
|
+
case TreeNodeType.Unit:
|
|
533
|
+
case TreeNodeType.StringLiteral:
|
|
534
|
+
case TreeNodeType.BooleanLiteral:
|
|
535
|
+
case TreeNodeType.NumberLiteral:
|
|
536
|
+
case TreeNodeType.RegexLiteral:
|
|
537
|
+
case TreeNodeType.DateLiteral:
|
|
538
|
+
case TreeNodeType.ClassLiteral:
|
|
539
|
+
case TreeNodeType.ArithmeticExpression:
|
|
540
|
+
return true
|
|
541
|
+
case TreeNodeType.ObjectLiteral:
|
|
542
|
+
return !tree.children.some((element, index) => {
|
|
543
|
+
if (element.type === TreeNodeType.KeyValue) {
|
|
544
|
+
const {
|
|
545
|
+
children: [key_tree, value_tree],
|
|
546
|
+
} = element
|
|
547
|
+
|
|
548
|
+
if (!key_tree) {
|
|
549
|
+
return true
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
if (key_tree.value === '') {
|
|
553
|
+
return true
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
if (!_isValidObjKeyType(key_tree)) {
|
|
557
|
+
return true
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
if (value_tree.value !== '' && !_isValidValue(value_tree)) {
|
|
561
|
+
return true
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
return false
|
|
565
|
+
} else if (_isValidObjKeyType(element)) {
|
|
566
|
+
return false
|
|
567
|
+
} else if (element.value === '' && index === tree.children.length - 1) {
|
|
568
|
+
return false
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
return true
|
|
572
|
+
})
|
|
573
|
+
case TreeNodeType.ArrayLiteral:
|
|
574
|
+
return !tree.children.some((element, index) => {
|
|
575
|
+
if (
|
|
576
|
+
!_isValidValue(element) &&
|
|
577
|
+
(element.value !== '' || index !== tree.children.length - 1)
|
|
578
|
+
) {
|
|
579
|
+
return true
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
return false
|
|
583
|
+
})
|
|
584
|
+
default:
|
|
585
|
+
return false
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export function _isValidType(tree: TreeNode): boolean {
|
|
590
|
+
switch (tree.type) {
|
|
591
|
+
case TreeNodeType.Invalid:
|
|
592
|
+
case TreeNodeType.Identifier:
|
|
593
|
+
case TreeNodeType.KeyValue:
|
|
594
|
+
return false
|
|
595
|
+
case TreeNodeType.Generic:
|
|
596
|
+
case TreeNodeType.String:
|
|
597
|
+
case TreeNodeType.Number:
|
|
598
|
+
case TreeNodeType.Regex:
|
|
599
|
+
case TreeNodeType.Date:
|
|
600
|
+
case TreeNodeType.Boolean:
|
|
601
|
+
case TreeNodeType.Object:
|
|
602
|
+
case TreeNodeType.Null:
|
|
603
|
+
case TreeNodeType.Class:
|
|
604
|
+
case TreeNodeType.Any:
|
|
605
|
+
case TreeNodeType.Unit:
|
|
606
|
+
case TreeNodeType.StringLiteral:
|
|
607
|
+
case TreeNodeType.BooleanLiteral:
|
|
608
|
+
case TreeNodeType.NumberLiteral:
|
|
609
|
+
case TreeNodeType.RegexLiteral:
|
|
610
|
+
case TreeNodeType.DateLiteral:
|
|
611
|
+
case TreeNodeType.ClassLiteral:
|
|
612
|
+
case TreeNodeType.ArithmeticExpression:
|
|
613
|
+
return true
|
|
614
|
+
case TreeNodeType.ArrayExpression:
|
|
615
|
+
case TreeNodeType.ObjectExpression:
|
|
616
|
+
case TreeNodeType.PropExpression:
|
|
617
|
+
case TreeNodeType.Expression:
|
|
618
|
+
case TreeNodeType.Or:
|
|
619
|
+
case TreeNodeType.And:
|
|
620
|
+
return !tree.children.some((child) => !_isValidType(child))
|
|
621
|
+
case TreeNodeType.ObjectLiteral:
|
|
622
|
+
return !tree.children.some((element, index) => {
|
|
623
|
+
if (element.type === TreeNodeType.KeyValue) {
|
|
624
|
+
const {
|
|
625
|
+
children: [key, value],
|
|
626
|
+
} = element
|
|
627
|
+
|
|
628
|
+
if (key.value === '') {
|
|
629
|
+
return true
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
return (
|
|
633
|
+
(!key ||
|
|
634
|
+
!_isValidObjKeyType(key) ||
|
|
635
|
+
!value ||
|
|
636
|
+
!_isValidType(value)) &&
|
|
637
|
+
(element.value !== '' || index !== tree.children.length - 1)
|
|
638
|
+
)
|
|
639
|
+
} else if (_isValidObjKeyType(element) || element.value === '') {
|
|
640
|
+
return false
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
return true
|
|
644
|
+
})
|
|
645
|
+
case TreeNodeType.ArrayLiteral:
|
|
646
|
+
return !tree.children.some(
|
|
647
|
+
(element, index) =>
|
|
648
|
+
!_isValidType(element) &&
|
|
649
|
+
(element.value !== '' || index !== tree.children.length - 1)
|
|
650
|
+
)
|
|
651
|
+
default:
|
|
652
|
+
return false
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export function isValidValue(value: string): boolean {
|
|
657
|
+
const tree = getTree(value)
|
|
658
|
+
return _isValidValue(tree)
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
function _isValidObjValueType(type: TreeNodeType): boolean {
|
|
662
|
+
return type !== TreeNodeType.Identifier
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export function isValidObjValue(type: string): boolean {
|
|
666
|
+
const tree = getTree(type)
|
|
667
|
+
return _isValidObjValueType(tree.type)
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export function _isValidObjKeyType(tree: TreeNode): boolean {
|
|
671
|
+
return (
|
|
672
|
+
tree.type === TreeNodeType.Generic ||
|
|
673
|
+
tree.type === TreeNodeType.Identifier ||
|
|
674
|
+
tree.type === TreeNodeType.StringLiteral ||
|
|
675
|
+
tree.type === TreeNodeType.BooleanLiteral ||
|
|
676
|
+
tree.type === TreeNodeType.NumberLiteral
|
|
677
|
+
)
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export function isValidObjKey(key: string): boolean {
|
|
681
|
+
const tree = getTree(key)
|
|
682
|
+
|
|
683
|
+
return _isValidObjKeyType(tree)
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export function _isKey(root: TreeNode, path: number[]): boolean {
|
|
687
|
+
const parent = _getParent(root, path)
|
|
688
|
+
|
|
689
|
+
return !!(
|
|
690
|
+
parent &&
|
|
691
|
+
parent.type === TreeNodeType.KeyValue &&
|
|
692
|
+
path[path.length - 1] === 0
|
|
693
|
+
)
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export function isKey(root: string, path: number[]): boolean {
|
|
697
|
+
const tree = getTree(root)
|
|
698
|
+
return _isKey(tree, path)
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
export function isValidBooleanStr(str: string) {
|
|
702
|
+
return BOOLEAN_LITERAL_REGEX.test(str)
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export function isValidNumberStr(str: string) {
|
|
706
|
+
return NUMBER_LITERAL_REGEX.test(str)
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
export function isValidStringStr(str: string) {
|
|
710
|
+
return STRING_LITERAL_REGEX.test(str)
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export function isValidIdentifierStr(str: string) {
|
|
714
|
+
return IDENTIFIER_REGEX.test(str)
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export function isValidKeyStr(str: string) {
|
|
718
|
+
return (
|
|
719
|
+
isValidBooleanStr(str) ||
|
|
720
|
+
isValidNumberStr(str) ||
|
|
721
|
+
isValidStringStr(str) ||
|
|
722
|
+
isValidIdentifierStr(str)
|
|
723
|
+
)
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export function getTree(
|
|
727
|
+
value: string,
|
|
728
|
+
keyValue: boolean = false,
|
|
729
|
+
ignoreKeyword: boolean = false
|
|
730
|
+
): TreeNode {
|
|
731
|
+
// value = value.trim()
|
|
732
|
+
return (
|
|
733
|
+
_getValueTree(value, keyValue, ignoreKeyword, getTree) ||
|
|
734
|
+
_getTypeTree(value, keyValue, ignoreKeyword) || {
|
|
735
|
+
value,
|
|
736
|
+
type: TreeNodeType.Invalid,
|
|
737
|
+
children: [],
|
|
738
|
+
}
|
|
739
|
+
)
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export function _getTypeTree(
|
|
743
|
+
value: string,
|
|
744
|
+
keyValue: boolean = false,
|
|
745
|
+
ignoreKeyword: boolean = false
|
|
746
|
+
): TreeNode | undefined {
|
|
747
|
+
// value = value.trim()
|
|
748
|
+
|
|
749
|
+
if (!ignoreKeyword) {
|
|
750
|
+
const classLiteralTest = /^\((.*)\)=>\((.*)\)$/.exec(value)
|
|
751
|
+
if (classLiteralTest) {
|
|
752
|
+
return {
|
|
753
|
+
value,
|
|
754
|
+
type: TreeNodeType.ClassLiteral,
|
|
755
|
+
children: [],
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
const expressionTest = /^\((.+)\)$/.exec(value)
|
|
761
|
+
if (expressionTest) {
|
|
762
|
+
const children = [getTree(expressionTest[1])]
|
|
763
|
+
return {
|
|
764
|
+
value,
|
|
765
|
+
type: TreeNodeType.Expression,
|
|
766
|
+
children,
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
const genericTest = /^<[^]*>$/.exec(value)
|
|
771
|
+
if (genericTest) {
|
|
772
|
+
return {
|
|
773
|
+
value,
|
|
774
|
+
type: TreeNodeType.Generic,
|
|
775
|
+
children: [],
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
if (!ignoreKeyword) {
|
|
780
|
+
const regexTest = /^regex$/.exec(value)
|
|
781
|
+
if (regexTest) {
|
|
782
|
+
return REGEX_TREE
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
const stringTest = /^string$/.exec(value)
|
|
786
|
+
|
|
787
|
+
if (stringTest) {
|
|
788
|
+
return STRING_TREE
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
const numberTest = /^number$/.exec(value)
|
|
792
|
+
if (numberTest) {
|
|
793
|
+
return NUMBER_TREE
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
const booleanTest = /^boolean$/.exec(value)
|
|
797
|
+
if (booleanTest) {
|
|
798
|
+
return BOOLEAN_TREE
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
const objectTest = /^object$/.exec(value)
|
|
802
|
+
if (objectTest) {
|
|
803
|
+
return OBJECT_TREE
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
const anyTest = /^any$/.exec(value)
|
|
807
|
+
if (anyTest) {
|
|
808
|
+
return ANY_TREE
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
const propExpressionTest = /^([^ [\]]+)(\[[^ [\]]+\]+)$/.exec(value)
|
|
813
|
+
if (propExpressionTest) {
|
|
814
|
+
const _ = getTree(propExpressionTest[1])
|
|
815
|
+
const __ = getTree(propExpressionTest[2])
|
|
816
|
+
const children = [_, __]
|
|
817
|
+
return {
|
|
818
|
+
value,
|
|
819
|
+
type: TreeNodeType.PropExpression,
|
|
820
|
+
children,
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
const arrayExpressionTest = /^([^ ]+)\[\]$/.exec(value)
|
|
825
|
+
if (arrayExpressionTest) {
|
|
826
|
+
const child = getTree(arrayExpressionTest[1])
|
|
827
|
+
|
|
828
|
+
if (child.type !== TreeNodeType.Invalid) {
|
|
829
|
+
const children = [child]
|
|
830
|
+
return {
|
|
831
|
+
value,
|
|
832
|
+
type: TreeNodeType.ArrayExpression,
|
|
833
|
+
children,
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
const objectExpressionTest = /^([^|]+)\{\}$/.exec(value)
|
|
839
|
+
if (objectExpressionTest) {
|
|
840
|
+
const children = [getTree(objectExpressionTest[1])]
|
|
841
|
+
return {
|
|
842
|
+
value,
|
|
843
|
+
type: TreeNodeType.ObjectExpression,
|
|
844
|
+
children,
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
const orTest = /^.+(\|.+)+$/.exec(value)
|
|
849
|
+
if (orTest) {
|
|
850
|
+
const children = _getDelimiterSeparated(value, false, false, '|', getTree)
|
|
851
|
+
return {
|
|
852
|
+
value,
|
|
853
|
+
type: TreeNodeType.Or,
|
|
854
|
+
children,
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
const andTest = /^(.+)&(.+)$/.exec(value)
|
|
859
|
+
if (andTest) {
|
|
860
|
+
const children = _getDelimiterSeparated(value, false, false, '&', getTree)
|
|
861
|
+
return {
|
|
862
|
+
value,
|
|
863
|
+
type: TreeNodeType.And,
|
|
864
|
+
children,
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
const classTest = /^`([A-Z]+)(.*)?`$/i.exec(value)
|
|
869
|
+
if (classTest) {
|
|
870
|
+
const childStr = classTest[2]
|
|
871
|
+
return {
|
|
872
|
+
value,
|
|
873
|
+
type: TreeNodeType.Class,
|
|
874
|
+
children: childStr ? [getTree(childStr)] : [],
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
return undefined
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
export function getValueTree(
|
|
882
|
+
value: string,
|
|
883
|
+
keyValue: boolean = false,
|
|
884
|
+
ignoreKeyword: boolean = false,
|
|
885
|
+
_getTree: (
|
|
886
|
+
value: string,
|
|
887
|
+
keyValue?: boolean,
|
|
888
|
+
ignoreKeyword?: boolean
|
|
889
|
+
) => TreeNode = _getValueTree
|
|
890
|
+
): TreeNode {
|
|
891
|
+
return (
|
|
892
|
+
_getValueTree(value, keyValue, ignoreKeyword, _getTree) || {
|
|
893
|
+
value,
|
|
894
|
+
type: TreeNodeType.Invalid,
|
|
895
|
+
children: [],
|
|
896
|
+
}
|
|
897
|
+
)
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
function execComposed(
|
|
901
|
+
str: string,
|
|
902
|
+
open_delimiter: string,
|
|
903
|
+
close_delimiter: string
|
|
904
|
+
): [any, string] | null {
|
|
905
|
+
const l = str.length
|
|
906
|
+
if (str[0] === open_delimiter && str[l - 1] === close_delimiter) {
|
|
907
|
+
let sq_open = false
|
|
908
|
+
let dq_open = false
|
|
909
|
+
let open = 0
|
|
910
|
+
for (let i = 1; i < l - 1; i++) {
|
|
911
|
+
const c = str[i]
|
|
912
|
+
if (c === "'") {
|
|
913
|
+
if (!dq_open) {
|
|
914
|
+
sq_open = !sq_open
|
|
915
|
+
}
|
|
916
|
+
} else if (c === '"') {
|
|
917
|
+
if (!sq_open) {
|
|
918
|
+
dq_open = !dq_open
|
|
919
|
+
}
|
|
920
|
+
} else {
|
|
921
|
+
if (!sq_open && !dq_open) {
|
|
922
|
+
if (c === open_delimiter) {
|
|
923
|
+
open++
|
|
924
|
+
} else if (c === close_delimiter) {
|
|
925
|
+
open--
|
|
926
|
+
if (open === -1) {
|
|
927
|
+
return null
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
if (open > 0) {
|
|
934
|
+
return null
|
|
935
|
+
}
|
|
936
|
+
return [str, str.substr(1, l - 2)]
|
|
937
|
+
} else {
|
|
938
|
+
return null
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
function execObject(str: string): [any, string] | null {
|
|
943
|
+
return execComposed(str, OBJECT_OPEN, OBJECT_CLOSE)
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
function execArray(str: string): [any, string] | null {
|
|
947
|
+
return execComposed(str, ARRAY_OPEN, ARRAY_CLOSE)
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
function _getValueTree(
|
|
951
|
+
value: string,
|
|
952
|
+
keyValue: boolean = false,
|
|
953
|
+
ignoreKeyword: boolean = false,
|
|
954
|
+
_getTree: (
|
|
955
|
+
value: string,
|
|
956
|
+
keyValue?: boolean,
|
|
957
|
+
ignoreKeyword?: boolean
|
|
958
|
+
) => TreeNode = _getValueTree
|
|
959
|
+
): TreeNode | undefined {
|
|
960
|
+
if (!ignoreKeyword) {
|
|
961
|
+
const nullTest = /^null$/.exec(value)
|
|
962
|
+
if (nullTest) {
|
|
963
|
+
return NULL_TREE
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
const infinityTest = /^[+-]?Infinity$/.exec(value)
|
|
967
|
+
if (infinityTest) {
|
|
968
|
+
return {
|
|
969
|
+
value,
|
|
970
|
+
type: TreeNodeType.NumberLiteral,
|
|
971
|
+
children: [],
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
const booleanLiteralTest = BOOLEAN_LITERAL_REGEX.exec(value)
|
|
977
|
+
if (booleanLiteralTest) {
|
|
978
|
+
return {
|
|
979
|
+
value,
|
|
980
|
+
type: TreeNodeType.BooleanLiteral,
|
|
981
|
+
children: [],
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
const stringLiteralTest = STRING_LITERAL_REGEX.exec(value)
|
|
986
|
+
if (stringLiteralTest) {
|
|
987
|
+
return {
|
|
988
|
+
value,
|
|
989
|
+
type: TreeNodeType.StringLiteral,
|
|
990
|
+
children: [],
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
const numberLiteralTest = NUMBER_LITERAL_REGEX.exec(value)
|
|
995
|
+
if (numberLiteralTest) {
|
|
996
|
+
return {
|
|
997
|
+
value,
|
|
998
|
+
type: TreeNodeType.NumberLiteral,
|
|
999
|
+
children: [],
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
const arithmeticExpressionTest =
|
|
1004
|
+
/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?(?:[\s]*[+\-*/][\s]*-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)+$/g.exec(
|
|
1005
|
+
value
|
|
1006
|
+
)
|
|
1007
|
+
if (arithmeticExpressionTest) {
|
|
1008
|
+
return {
|
|
1009
|
+
value,
|
|
1010
|
+
type: TreeNodeType.ArithmeticExpression,
|
|
1011
|
+
children: [],
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
const unitTest = /^\$\{(.*)\}$/i.exec(value)
|
|
1016
|
+
if (unitTest) {
|
|
1017
|
+
return {
|
|
1018
|
+
value,
|
|
1019
|
+
type: TreeNodeType.Unit,
|
|
1020
|
+
children: [],
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
const regexLiteralTest = /^\/.+\/$/.exec(value)
|
|
1025
|
+
if (regexLiteralTest) {
|
|
1026
|
+
return {
|
|
1027
|
+
value,
|
|
1028
|
+
type: TreeNodeType.RegexLiteral,
|
|
1029
|
+
children: [],
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
// this check must come after keywords (null, string, etc.)
|
|
1034
|
+
if (ignoreKeyword) {
|
|
1035
|
+
const identifierTest = IDENTIFIER_REGEX.test(value)
|
|
1036
|
+
if (identifierTest) {
|
|
1037
|
+
return {
|
|
1038
|
+
value,
|
|
1039
|
+
type: TreeNodeType.Identifier,
|
|
1040
|
+
children: [],
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
if (keyValue) {
|
|
1046
|
+
const keyValueTest = /^("[^"]*"|'[^']*'|[^:{]*):([^]*)$/.exec(value)
|
|
1047
|
+
if (keyValueTest) {
|
|
1048
|
+
const k = _getTree(keyValueTest[1], false, true)
|
|
1049
|
+
const value_value = keyValueTest[2]
|
|
1050
|
+
const v = _getTree(value_value) || {
|
|
1051
|
+
value: value_value,
|
|
1052
|
+
type: TreeNodeType.Invalid,
|
|
1053
|
+
children: [],
|
|
1054
|
+
}
|
|
1055
|
+
const children = [k, v]
|
|
1056
|
+
return {
|
|
1057
|
+
value,
|
|
1058
|
+
type: TreeNodeType.KeyValue,
|
|
1059
|
+
children,
|
|
1060
|
+
}
|
|
1061
|
+
} else {
|
|
1062
|
+
return {
|
|
1063
|
+
value,
|
|
1064
|
+
type: TreeNodeType.Invalid,
|
|
1065
|
+
children: [],
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
const objectLiteralTest = execObject(value)
|
|
1071
|
+
if (objectLiteralTest) {
|
|
1072
|
+
const commaSeparated = objectLiteralTest[1]
|
|
1073
|
+
const children: TreeNode[] = _getCommaSeparated(
|
|
1074
|
+
commaSeparated,
|
|
1075
|
+
true,
|
|
1076
|
+
true,
|
|
1077
|
+
_getTree
|
|
1078
|
+
)
|
|
1079
|
+
return {
|
|
1080
|
+
value,
|
|
1081
|
+
type: TreeNodeType.ObjectLiteral,
|
|
1082
|
+
children,
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
const arrayLiteralTest = execArray(value)
|
|
1087
|
+
if (arrayLiteralTest) {
|
|
1088
|
+
const commaSeparated = arrayLiteralTest[1]
|
|
1089
|
+
const children: TreeNode[] = _getCommaSeparated(
|
|
1090
|
+
commaSeparated,
|
|
1091
|
+
false,
|
|
1092
|
+
false,
|
|
1093
|
+
_getTree
|
|
1094
|
+
)
|
|
1095
|
+
return {
|
|
1096
|
+
value,
|
|
1097
|
+
type: TreeNodeType.ArrayLiteral,
|
|
1098
|
+
children,
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
return undefined
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
export function _extractGenerics(
|
|
1106
|
+
specs: Specs,
|
|
1107
|
+
value: TreeNode,
|
|
1108
|
+
type: TreeNode
|
|
1109
|
+
): {
|
|
1110
|
+
[name: string]: string
|
|
1111
|
+
} {
|
|
1112
|
+
let generics: {
|
|
1113
|
+
[name: string]: string
|
|
1114
|
+
} = {}
|
|
1115
|
+
|
|
1116
|
+
switch (type.type) {
|
|
1117
|
+
case TreeNodeType.Generic: {
|
|
1118
|
+
const valueTypeTree = _getValueType(specs, value)
|
|
1119
|
+
const valueTypeTreeStr = _stringify(valueTypeTree)
|
|
1120
|
+
|
|
1121
|
+
return { [type.value]: valueTypeTreeStr }
|
|
1122
|
+
}
|
|
1123
|
+
case TreeNodeType.Identifier:
|
|
1124
|
+
case TreeNodeType.StringLiteral:
|
|
1125
|
+
case TreeNodeType.BooleanLiteral:
|
|
1126
|
+
case TreeNodeType.NumberLiteral:
|
|
1127
|
+
case TreeNodeType.Object:
|
|
1128
|
+
case TreeNodeType.String:
|
|
1129
|
+
case TreeNodeType.Number:
|
|
1130
|
+
case TreeNodeType.Boolean:
|
|
1131
|
+
case TreeNodeType.Any:
|
|
1132
|
+
case TreeNodeType.ArithmeticExpression:
|
|
1133
|
+
break
|
|
1134
|
+
case TreeNodeType.ArrayLiteral:
|
|
1135
|
+
case TreeNodeType.ObjectLiteral: {
|
|
1136
|
+
const typeKeyValueMap = getObjLiteralKeyValueMap(type)
|
|
1137
|
+
const valueKeyValueMap = getObjLiteralKeyValueMap(value)
|
|
1138
|
+
for (const key in typeKeyValueMap) {
|
|
1139
|
+
const childGenerics = _extractGenerics(
|
|
1140
|
+
specs,
|
|
1141
|
+
valueKeyValueMap[key],
|
|
1142
|
+
typeKeyValueMap[key]
|
|
1143
|
+
)
|
|
1144
|
+
for (const name in childGenerics) {
|
|
1145
|
+
const childGeneric = childGenerics[name]
|
|
1146
|
+
if (!generics[name]) {
|
|
1147
|
+
generics[name] = childGeneric
|
|
1148
|
+
} else if (generics[name] !== childGeneric) {
|
|
1149
|
+
throw `Found two possible types for generic ${name}: ${generics[name]} and ${childGeneric}`
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
break
|
|
1154
|
+
}
|
|
1155
|
+
case TreeNodeType.Or:
|
|
1156
|
+
case TreeNodeType.And:
|
|
1157
|
+
return _extractGenerics(specs, value.children[0], type.children[0])
|
|
1158
|
+
case TreeNodeType.ArrayExpression:
|
|
1159
|
+
case TreeNodeType.ObjectExpression:
|
|
1160
|
+
return _extractGenerics(
|
|
1161
|
+
specs,
|
|
1162
|
+
value.children[0] || ANY_TREE,
|
|
1163
|
+
type.children[0]
|
|
1164
|
+
)
|
|
1165
|
+
case TreeNodeType.Expression:
|
|
1166
|
+
// TODO
|
|
1167
|
+
break
|
|
1168
|
+
case TreeNodeType.KeyValue:
|
|
1169
|
+
return _extractGenerics(specs, value.children[1], type.children[1])
|
|
1170
|
+
case TreeNodeType.Class:
|
|
1171
|
+
if (
|
|
1172
|
+
value.type === TreeNodeType.Class ||
|
|
1173
|
+
value.type === TreeNodeType.ClassLiteral
|
|
1174
|
+
) {
|
|
1175
|
+
const valueChild = value.children[0]
|
|
1176
|
+
const _valueTree = valueChild
|
|
1177
|
+
? getTree(valueChild.value.substring(1, valueChild.value.length - 1))
|
|
1178
|
+
: ANY_TREE
|
|
1179
|
+
return _extractGenerics(specs, _valueTree, type.children[0] || ANY_TREE)
|
|
1180
|
+
} else {
|
|
1181
|
+
break
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
return generics
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export const NULL_TREE = {
|
|
1189
|
+
value: 'null',
|
|
1190
|
+
type: TreeNodeType.Null,
|
|
1191
|
+
children: [],
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
export const STRING_TREE = {
|
|
1195
|
+
value: 'string',
|
|
1196
|
+
type: TreeNodeType.String,
|
|
1197
|
+
children: [],
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export const BOOLEAN_TREE = {
|
|
1201
|
+
value: 'boolean',
|
|
1202
|
+
type: TreeNodeType.Boolean,
|
|
1203
|
+
children: [],
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
export const NUMBER_TREE = {
|
|
1207
|
+
value: 'number',
|
|
1208
|
+
type: TreeNodeType.Number,
|
|
1209
|
+
children: [],
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
export const ANY_TREE = {
|
|
1213
|
+
value: 'any',
|
|
1214
|
+
type: TreeNodeType.Any,
|
|
1215
|
+
children: [],
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export const REGEX_TREE = {
|
|
1219
|
+
value: 'regex',
|
|
1220
|
+
type: TreeNodeType.Regex,
|
|
1221
|
+
children: [],
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export const OBJECT_TREE = {
|
|
1225
|
+
value: 'object',
|
|
1226
|
+
type: TreeNodeType.Object,
|
|
1227
|
+
children: [],
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
function basePinsSpecToParams(pins: PinsSpecBase): string {
|
|
1231
|
+
return keys(pins)
|
|
1232
|
+
.map((pinId) => {
|
|
1233
|
+
const { type } = pins[pinId]
|
|
1234
|
+
return `${removeWhiteSpace(pinId)}:${type}`
|
|
1235
|
+
})
|
|
1236
|
+
.join(',')
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
export function _getValueType(specs: Specs, tree: TreeNode): TreeNode {
|
|
1240
|
+
let children: TreeNode[] = []
|
|
1241
|
+
switch (tree.type) {
|
|
1242
|
+
case TreeNodeType.Invalid:
|
|
1243
|
+
case TreeNodeType.Null:
|
|
1244
|
+
case TreeNodeType.Identifier:
|
|
1245
|
+
return tree
|
|
1246
|
+
case TreeNodeType.StringLiteral:
|
|
1247
|
+
return STRING_TREE
|
|
1248
|
+
case TreeNodeType.BooleanLiteral:
|
|
1249
|
+
return BOOLEAN_TREE
|
|
1250
|
+
case TreeNodeType.NumberLiteral:
|
|
1251
|
+
return NUMBER_TREE
|
|
1252
|
+
case TreeNodeType.RegexLiteral:
|
|
1253
|
+
return REGEX_TREE
|
|
1254
|
+
case TreeNodeType.ClassLiteral: {
|
|
1255
|
+
const spec = specs[tree.value]
|
|
1256
|
+
|
|
1257
|
+
return {
|
|
1258
|
+
value: `(${basePinsSpecToParams(spec.inputs)})=>(${basePinsSpecToParams(
|
|
1259
|
+
spec.outputs
|
|
1260
|
+
)})`,
|
|
1261
|
+
type: TreeNodeType.ClassLiteral,
|
|
1262
|
+
children: [],
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
case TreeNodeType.ArrayLiteral: {
|
|
1266
|
+
const type =
|
|
1267
|
+
tree.children.length > 0
|
|
1268
|
+
? _getValueType(specs, tree.children[0]) // AD HOC should consider all children
|
|
1269
|
+
: getTree('<T>')
|
|
1270
|
+
|
|
1271
|
+
// : getTree('any')
|
|
1272
|
+
return {
|
|
1273
|
+
value: `${type.value}[]`,
|
|
1274
|
+
type: TreeNodeType.ArrayExpression,
|
|
1275
|
+
children: [type],
|
|
1276
|
+
}
|
|
1277
|
+
}
|
|
1278
|
+
case TreeNodeType.ObjectLiteral:
|
|
1279
|
+
children = tree.children.map((c) => _getValueType(specs, c))
|
|
1280
|
+
|
|
1281
|
+
return {
|
|
1282
|
+
value: `{${children.map((c) => c.value).join(',')}}`,
|
|
1283
|
+
type: TreeNodeType.ObjectLiteral,
|
|
1284
|
+
children,
|
|
1285
|
+
}
|
|
1286
|
+
case TreeNodeType.KeyValue: {
|
|
1287
|
+
const key = tree.children[0]
|
|
1288
|
+
const value = _getValueType(specs, tree.children[1])
|
|
1289
|
+
|
|
1290
|
+
children = [key, value]
|
|
1291
|
+
|
|
1292
|
+
return {
|
|
1293
|
+
value: `${key.value}:${value.value}`,
|
|
1294
|
+
type: TreeNodeType.KeyValue,
|
|
1295
|
+
children,
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
case TreeNodeType.Unit: {
|
|
1299
|
+
const { value } = tree
|
|
1300
|
+
const specId = idFromUnitValue(value)
|
|
1301
|
+
const spec = specs[specId]
|
|
1302
|
+
const { type } = spec
|
|
1303
|
+
return getTree(type)
|
|
1304
|
+
}
|
|
1305
|
+
default:
|
|
1306
|
+
return tree
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export function getValueType(specs: Specs, value: string): string {
|
|
1311
|
+
const valueTree = getTree(value)
|
|
1312
|
+
const typeTree = _getValueType(specs, valueTree)
|
|
1313
|
+
return typeTree.value
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
export function _stringify(tree: TreeNode): string {
|
|
1317
|
+
switch (tree.type) {
|
|
1318
|
+
case TreeNodeType.Invalid:
|
|
1319
|
+
case TreeNodeType.Null:
|
|
1320
|
+
case TreeNodeType.Generic:
|
|
1321
|
+
case TreeNodeType.Identifier:
|
|
1322
|
+
case TreeNodeType.StringLiteral:
|
|
1323
|
+
case TreeNodeType.BooleanLiteral:
|
|
1324
|
+
case TreeNodeType.NumberLiteral:
|
|
1325
|
+
case TreeNodeType.Object:
|
|
1326
|
+
case TreeNodeType.String:
|
|
1327
|
+
case TreeNodeType.Number:
|
|
1328
|
+
case TreeNodeType.Any:
|
|
1329
|
+
case TreeNodeType.Boolean:
|
|
1330
|
+
return tree.value
|
|
1331
|
+
case TreeNodeType.ArrayLiteral: {
|
|
1332
|
+
const children = tree.children
|
|
1333
|
+
|
|
1334
|
+
return `[${children.map(_stringify).join(',')}]`
|
|
1335
|
+
}
|
|
1336
|
+
case TreeNodeType.ObjectLiteral:
|
|
1337
|
+
return `{${tree.children.map(_stringify).join(',')}}`
|
|
1338
|
+
case TreeNodeType.Or:
|
|
1339
|
+
case TreeNodeType.And:
|
|
1340
|
+
return tree.value
|
|
1341
|
+
case TreeNodeType.ArrayExpression:
|
|
1342
|
+
return `${tree.children[0].value}[]`
|
|
1343
|
+
case TreeNodeType.ObjectExpression:
|
|
1344
|
+
return `${tree.children[0].value}{}`
|
|
1345
|
+
case TreeNodeType.Expression:
|
|
1346
|
+
// TODO
|
|
1347
|
+
return ''
|
|
1348
|
+
case TreeNodeType.KeyValue:
|
|
1349
|
+
return `${_stringify(tree.children[0])}${
|
|
1350
|
+
(!!tree.children[1] && `:${_stringify(tree.children[1])}`) || ''
|
|
1351
|
+
}`
|
|
1352
|
+
default:
|
|
1353
|
+
return tree.value
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
export function findGenerics(value: string): Set<string> {
|
|
1358
|
+
const tree = getTree(value)
|
|
1359
|
+
return _findGenerics(tree)
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
export function _findGenerics(tree: TreeNode): Set<string> {
|
|
1363
|
+
if (tree.type === TreeNodeType.Generic) {
|
|
1364
|
+
return new Set([tree.value])
|
|
1365
|
+
} else {
|
|
1366
|
+
return tree.children.reduce(
|
|
1367
|
+
(acc, c) => new Set([...acc, ..._findGenerics(c)]),
|
|
1368
|
+
new Set([])
|
|
1369
|
+
)
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
export function extractGenerics(specs: Specs, value: string, type: string) {
|
|
1374
|
+
const valueTree = getTree(value)
|
|
1375
|
+
const typeTree = getTree(type)
|
|
1376
|
+
|
|
1377
|
+
return _extractGenerics(specs, valueTree, typeTree)
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
export function _applyGenerics(
|
|
1381
|
+
tree: TreeNode,
|
|
1382
|
+
map: { [name: string]: string }
|
|
1383
|
+
): TreeNode {
|
|
1384
|
+
switch (tree.type) {
|
|
1385
|
+
case TreeNodeType.Generic: {
|
|
1386
|
+
const replacement = map[tree.value]
|
|
1387
|
+
|
|
1388
|
+
if (replacement) {
|
|
1389
|
+
const replacementTree = getTree(replacement)
|
|
1390
|
+
return {
|
|
1391
|
+
value: replacement,
|
|
1392
|
+
type: replacementTree.type,
|
|
1393
|
+
children: replacementTree.children,
|
|
1394
|
+
}
|
|
1395
|
+
} else {
|
|
1396
|
+
return tree
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
case TreeNodeType.Invalid:
|
|
1400
|
+
case TreeNodeType.Identifier:
|
|
1401
|
+
case TreeNodeType.StringLiteral:
|
|
1402
|
+
case TreeNodeType.BooleanLiteral:
|
|
1403
|
+
case TreeNodeType.NumberLiteral:
|
|
1404
|
+
case TreeNodeType.Null:
|
|
1405
|
+
case TreeNodeType.Object:
|
|
1406
|
+
case TreeNodeType.Any:
|
|
1407
|
+
case TreeNodeType.String:
|
|
1408
|
+
case TreeNodeType.Unit:
|
|
1409
|
+
case TreeNodeType.Number:
|
|
1410
|
+
case TreeNodeType.Boolean:
|
|
1411
|
+
return tree
|
|
1412
|
+
case TreeNodeType.ObjectLiteral:
|
|
1413
|
+
case TreeNodeType.ArrayLiteral:
|
|
1414
|
+
case TreeNodeType.Or:
|
|
1415
|
+
case TreeNodeType.And:
|
|
1416
|
+
case TreeNodeType.ArrayExpression:
|
|
1417
|
+
case TreeNodeType.ObjectExpression:
|
|
1418
|
+
case TreeNodeType.Expression:
|
|
1419
|
+
case TreeNodeType.KeyValue:
|
|
1420
|
+
case TreeNodeType.ClassLiteral:
|
|
1421
|
+
case TreeNodeType.PropExpression: {
|
|
1422
|
+
const children = tree.children.map((child) => _applyGenerics(child, map))
|
|
1423
|
+
const value = tree.children.reduce((acc, child, i) => {
|
|
1424
|
+
return acc.replace(child.value, children[i].value)
|
|
1425
|
+
}, tree.value)
|
|
1426
|
+
return {
|
|
1427
|
+
...tree,
|
|
1428
|
+
value,
|
|
1429
|
+
children,
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
case TreeNodeType.Class: {
|
|
1433
|
+
const children = tree.children.map((child) => _applyGenerics(child, map))
|
|
1434
|
+
const value = tree.children.reduce((acc, child, i) => {
|
|
1435
|
+
const _child = children[i]
|
|
1436
|
+
return acc.replace(
|
|
1437
|
+
trimSides(child.value),
|
|
1438
|
+
_child.type === TreeNodeType.Generic
|
|
1439
|
+
? trimSides(_child.value)
|
|
1440
|
+
: _child.value
|
|
1441
|
+
)
|
|
1442
|
+
}, tree.value)
|
|
1443
|
+
return {
|
|
1444
|
+
...tree,
|
|
1445
|
+
value,
|
|
1446
|
+
children,
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
default:
|
|
1450
|
+
console.log(tree.type)
|
|
1451
|
+
throw new Error('TODO')
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
export function applyGenerics(
|
|
1456
|
+
type: string,
|
|
1457
|
+
map: { [name: string]: string }
|
|
1458
|
+
): string {
|
|
1459
|
+
const typeTree = getTree(type)
|
|
1460
|
+
const valueTree = _applyGenerics(typeTree, map)
|
|
1461
|
+
const { value } = valueTree
|
|
1462
|
+
return value
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
function _isEmtpyString(str: string): boolean {
|
|
1466
|
+
return !!/^ *$/.exec(str)
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
function _getDelimiterSeparated(
|
|
1470
|
+
value: string,
|
|
1471
|
+
keyValue: boolean = false,
|
|
1472
|
+
ignoreKeyword: boolean = false,
|
|
1473
|
+
delimiter: string,
|
|
1474
|
+
_getTree: (
|
|
1475
|
+
value: string,
|
|
1476
|
+
keyValue?: boolean,
|
|
1477
|
+
ignoreKeyword?: boolean
|
|
1478
|
+
) => TreeNode
|
|
1479
|
+
): TreeNode[] {
|
|
1480
|
+
let objectOpenCount = 0
|
|
1481
|
+
let arrayOpenCount = 0
|
|
1482
|
+
let singleQuoteOpen = false
|
|
1483
|
+
let doubleQuoteOpen = false
|
|
1484
|
+
let pos = 0
|
|
1485
|
+
let lastStop = 0
|
|
1486
|
+
let pushNext = false
|
|
1487
|
+
const children: TreeNode[] = []
|
|
1488
|
+
|
|
1489
|
+
let prevChar: string | undefined = undefined
|
|
1490
|
+
|
|
1491
|
+
while (pos < value.length) {
|
|
1492
|
+
const char = value[pos]
|
|
1493
|
+
|
|
1494
|
+
if (!doubleQuoteOpen && !singleQuoteOpen) {
|
|
1495
|
+
if (char === OBJECT_OPEN) {
|
|
1496
|
+
objectOpenCount++
|
|
1497
|
+
} else if (char === OBJECT_CLOSE) {
|
|
1498
|
+
objectOpenCount--
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
if (char === ARRAY_OPEN) {
|
|
1502
|
+
arrayOpenCount++
|
|
1503
|
+
} else if (char === ARRAY_CLOSE) {
|
|
1504
|
+
arrayOpenCount--
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
if (!singleQuoteOpen) {
|
|
1509
|
+
if (char === DOUBLE_QUOTE && prevChar !== '\\') {
|
|
1510
|
+
doubleQuoteOpen = !doubleQuoteOpen
|
|
1511
|
+
}
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
if (!doubleQuoteOpen) {
|
|
1515
|
+
if (char === SINGLE_QUOTE && prevChar !== '\\') {
|
|
1516
|
+
singleQuoteOpen = !singleQuoteOpen
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
if (
|
|
1521
|
+
char === delimiter &&
|
|
1522
|
+
objectOpenCount === 0 &&
|
|
1523
|
+
arrayOpenCount === 0 &&
|
|
1524
|
+
!singleQuoteOpen &&
|
|
1525
|
+
!doubleQuoteOpen
|
|
1526
|
+
) {
|
|
1527
|
+
const childString = value.substring(lastStop, pos)
|
|
1528
|
+
|
|
1529
|
+
if (_isEmtpyString(childString)) {
|
|
1530
|
+
break
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
children.push(_getTree(childString, keyValue, ignoreKeyword))
|
|
1534
|
+
lastStop = pos + 1
|
|
1535
|
+
pushNext = true
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
prevChar = char
|
|
1539
|
+
|
|
1540
|
+
pos++
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
// push last element
|
|
1544
|
+
const lastChildString = value.substring(lastStop, value.length)
|
|
1545
|
+
if (!_isEmtpyString(lastChildString) || pushNext) {
|
|
1546
|
+
children.push(_getTree(lastChildString, keyValue, ignoreKeyword))
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
return children
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
function _getCommaSeparated(
|
|
1553
|
+
value: string,
|
|
1554
|
+
keyValue: boolean = false,
|
|
1555
|
+
ignoreKeyword: boolean = false,
|
|
1556
|
+
_getTree: (
|
|
1557
|
+
value: string,
|
|
1558
|
+
keyValue?: boolean,
|
|
1559
|
+
ignoreKeyword?: boolean
|
|
1560
|
+
) => TreeNode
|
|
1561
|
+
): TreeNode[] {
|
|
1562
|
+
return _getDelimiterSeparated(value, keyValue, ignoreKeyword, COMMA, _getTree)
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
export function _getNodeAtPath(
|
|
1566
|
+
root: TreeNode,
|
|
1567
|
+
path: number[]
|
|
1568
|
+
): TreeNode | null {
|
|
1569
|
+
let cursor = root
|
|
1570
|
+
for (const key of path) {
|
|
1571
|
+
if (cursor) {
|
|
1572
|
+
cursor = cursor.children[key]
|
|
1573
|
+
} else {
|
|
1574
|
+
return null
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
return cursor
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
export function getNodeAtPath(data: string, path: number[]): string | null {
|
|
1581
|
+
const tree = getTree(data)
|
|
1582
|
+
const node = _getNodeAtPath(tree, path)
|
|
1583
|
+
return (node && node.value) || null
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
export function _getNextNode(
|
|
1587
|
+
node: TreeNode,
|
|
1588
|
+
path: number[],
|
|
1589
|
+
direction: 1 | -1
|
|
1590
|
+
): TreeNode | null {
|
|
1591
|
+
const nextNodePath = _getNextNodePath(node, path, direction)
|
|
1592
|
+
return nextNodePath && _getNodeAtPath(node, nextNodePath)
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
export function getNextNode(
|
|
1596
|
+
data: string,
|
|
1597
|
+
path: number[],
|
|
1598
|
+
direction: 1 | -1
|
|
1599
|
+
): string | null {
|
|
1600
|
+
const tree = getTree(data)
|
|
1601
|
+
const nextNode = _getNextNode(tree, path, direction)
|
|
1602
|
+
return nextNode && nextNode.value
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
function _getNodePaths(root: TreeNode): number[][] {
|
|
1606
|
+
const paths: number[][] = []
|
|
1607
|
+
_traverse(root, (node, path) => {
|
|
1608
|
+
paths.push(path)
|
|
1609
|
+
})
|
|
1610
|
+
return paths
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
function _getNodesAndPaths(root: TreeNode): {
|
|
1614
|
+
node: TreeNode
|
|
1615
|
+
path: number[]
|
|
1616
|
+
}[] {
|
|
1617
|
+
const paths: {
|
|
1618
|
+
node: TreeNode
|
|
1619
|
+
path: number[]
|
|
1620
|
+
}[] = []
|
|
1621
|
+
_traverse(root, (node, path) => {
|
|
1622
|
+
paths.push({ node, path })
|
|
1623
|
+
})
|
|
1624
|
+
return paths
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
function _pathEqual(a: number[], b: number[]): boolean {
|
|
1628
|
+
if (a.length !== b.length) {
|
|
1629
|
+
return false
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
for (let i = 0; i < a.length; i++) {
|
|
1633
|
+
if (a[i] !== b[i]) {
|
|
1634
|
+
return false
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
return true
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
// TODO
|
|
1642
|
+
// f([], []) === 0
|
|
1643
|
+
// f([], [0]) === 1
|
|
1644
|
+
// f([], [0]) === 1
|
|
1645
|
+
// f([], [1]) === 2
|
|
1646
|
+
// f([0], [1]) === 1
|
|
1647
|
+
// f([1], [1]) === 0
|
|
1648
|
+
// f([1], [1, 0]) === 1 (?)
|
|
1649
|
+
// f([1], [1, 0, 0]) === 1 (?)
|
|
1650
|
+
function pathDistance(a: number[], b: number[]): number {
|
|
1651
|
+
return 0
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
// Given a path and a direction, return the next path in preorder order traversal
|
|
1655
|
+
// f("[0, 1, 2]", [1], 1) === [2]
|
|
1656
|
+
// f("{ a: { b: "c" }, d: "f" }", [], 1) === [0]
|
|
1657
|
+
// f("{ a: { b: "c" }, d: "f" }", [0, 1, 0, 1], 1) === [1]
|
|
1658
|
+
export function _getNextNodePath(
|
|
1659
|
+
root: TreeNode,
|
|
1660
|
+
path: number[],
|
|
1661
|
+
direction: 1 | -1
|
|
1662
|
+
): number[] | null {
|
|
1663
|
+
const paths = _getNodePaths(root)
|
|
1664
|
+
for (let i = 0; i < paths.length; i++) {
|
|
1665
|
+
const p = paths[i]
|
|
1666
|
+
if (_pathEqual(path, p)) {
|
|
1667
|
+
return paths[i + direction]
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
return null
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export function getNextNodePath(
|
|
1674
|
+
data: string,
|
|
1675
|
+
path: number[],
|
|
1676
|
+
direction: 1 | -1
|
|
1677
|
+
): number[] | null {
|
|
1678
|
+
const tree = getTree(data)
|
|
1679
|
+
return _getNextNodePath(tree, path, direction)
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
export function _getNextLeafPath(
|
|
1683
|
+
root: TreeNode,
|
|
1684
|
+
path: number[],
|
|
1685
|
+
direction: 1 | -1
|
|
1686
|
+
): number[] | null {
|
|
1687
|
+
const nodesAndPaths = _getNodesAndPaths(root)
|
|
1688
|
+
for (let i = 0; i < nodesAndPaths.length; i++) {
|
|
1689
|
+
const { path: p } = nodesAndPaths[i]
|
|
1690
|
+
if (_pathEqual(path, p)) {
|
|
1691
|
+
for (
|
|
1692
|
+
let j = i + direction;
|
|
1693
|
+
j >= 0 && j < nodesAndPaths.length;
|
|
1694
|
+
j = j + direction
|
|
1695
|
+
) {
|
|
1696
|
+
const { node, path: p } = nodesAndPaths[j]
|
|
1697
|
+
if (node.children.length === 0) {
|
|
1698
|
+
return p
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
return null
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
export function getNextLeafPath(
|
|
1707
|
+
data: string,
|
|
1708
|
+
path: number[],
|
|
1709
|
+
direction: 1 | -1
|
|
1710
|
+
): number[] | null {
|
|
1711
|
+
const tree = getTree(data)
|
|
1712
|
+
return _getNextLeafPath(tree, path, direction)
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
// TODO
|
|
1716
|
+
export function _getNextSiblingPath(
|
|
1717
|
+
tree: TreeNode,
|
|
1718
|
+
path: number[],
|
|
1719
|
+
direction: 1 | -1
|
|
1720
|
+
): number[] {
|
|
1721
|
+
return _getNextLeafPath(tree, path, direction)
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
// Here is an idea for the mechanics:
|
|
1725
|
+
// 1) Arrow key right or left -> go right or left
|
|
1726
|
+
// 2) Arrow down -> go lower level
|
|
1727
|
+
// 3) Arrow up -> go uper level
|
|
1728
|
+
|
|
1729
|
+
export function getNextSiblingPath(
|
|
1730
|
+
value: string,
|
|
1731
|
+
path: number[],
|
|
1732
|
+
direction: 1 | -1
|
|
1733
|
+
): number[] | null {
|
|
1734
|
+
const tree = getTree(value)
|
|
1735
|
+
return _getNextLeafPath(tree, path, direction)
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
export function getParentPath(path: number[]): number[] | null {
|
|
1739
|
+
if (path.length === 0) {
|
|
1740
|
+
return null
|
|
1741
|
+
}
|
|
1742
|
+
return path.slice(0, path.length - 1)
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
export function getParent(root: string, path: number[]): string | null {
|
|
1746
|
+
const tree = getTree(root)
|
|
1747
|
+
const parent = _getParent(tree, path)
|
|
1748
|
+
if (!parent) {
|
|
1749
|
+
return null
|
|
1750
|
+
}
|
|
1751
|
+
return parent.value
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export function _getLastLeaf(root: TreeNode): TreeNode {
|
|
1755
|
+
let cursor = root
|
|
1756
|
+
while (cursor.children.length > 0) {
|
|
1757
|
+
const last_child = cursor.children[cursor.children.length - 1]
|
|
1758
|
+
cursor = last_child
|
|
1759
|
+
}
|
|
1760
|
+
return cursor
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
export function _getLastLeafPath(root: TreeNode): number[] {
|
|
1764
|
+
let path = []
|
|
1765
|
+
let cursor = root
|
|
1766
|
+
let l = cursor.children.length
|
|
1767
|
+
while (l > 0) {
|
|
1768
|
+
const last_child_index = l - 1
|
|
1769
|
+
path.push(last_child_index)
|
|
1770
|
+
const last_child = cursor.children[last_child_index]
|
|
1771
|
+
cursor = last_child
|
|
1772
|
+
l = cursor.children.length
|
|
1773
|
+
}
|
|
1774
|
+
return path
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
export function getLastLeafPath(root: string): number[] {
|
|
1778
|
+
const tree = getTree(root)
|
|
1779
|
+
const path = _getLastLeafPath(tree)
|
|
1780
|
+
return path
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
export function getLastLeaf(root: string): string {
|
|
1784
|
+
const tree = getTree(root)
|
|
1785
|
+
const last = _getLastLeaf(tree)
|
|
1786
|
+
const { value } = last
|
|
1787
|
+
return value
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
export function _getParent(root: TreeNode, path: number[]): TreeNode | null {
|
|
1791
|
+
const parentPath = getParentPath(path)
|
|
1792
|
+
if (!parentPath) {
|
|
1793
|
+
return null
|
|
1794
|
+
}
|
|
1795
|
+
return _getNodeAtPath(root, parentPath)
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
export function _insertNodeAt(
|
|
1799
|
+
root: TreeNode,
|
|
1800
|
+
path: number[],
|
|
1801
|
+
node: TreeNode
|
|
1802
|
+
): TreeNode {
|
|
1803
|
+
if (path.length === 0) {
|
|
1804
|
+
return node
|
|
1805
|
+
}
|
|
1806
|
+
root = clone(root)
|
|
1807
|
+
const parentPath = getParentPath(path)!
|
|
1808
|
+
const parentNode = _getNodeAtPath(root, parentPath)!
|
|
1809
|
+
const last = path[path.length - 1]
|
|
1810
|
+
parentNode.children.splice(last, 0, node)
|
|
1811
|
+
let i = 0
|
|
1812
|
+
let n = root
|
|
1813
|
+
do {
|
|
1814
|
+
n.value = _stringify(n)
|
|
1815
|
+
n = n.children[path[i]]
|
|
1816
|
+
i++
|
|
1817
|
+
} while (i < path.length - 1)
|
|
1818
|
+
return root
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
export function insertNodeAt(
|
|
1822
|
+
root: string,
|
|
1823
|
+
path: number[],
|
|
1824
|
+
node: string
|
|
1825
|
+
): string {
|
|
1826
|
+
const rootTree = getTree(root)
|
|
1827
|
+
const nodeTree = getTree(node)
|
|
1828
|
+
const updatedRoot = _insertNodeAt(rootTree, path, nodeTree)
|
|
1829
|
+
return updatedRoot.value
|
|
1830
|
+
}
|
|
1831
|
+
|
|
1832
|
+
export function _updateNodeAt(
|
|
1833
|
+
root: TreeNode,
|
|
1834
|
+
path: number[],
|
|
1835
|
+
update: TreeNode
|
|
1836
|
+
): TreeNode {
|
|
1837
|
+
if (path.length === 0) {
|
|
1838
|
+
return update
|
|
1839
|
+
}
|
|
1840
|
+
root = clone(root)
|
|
1841
|
+
const parentPath = getParentPath(path)!
|
|
1842
|
+
const parentNode = _getNodeAtPath(root, parentPath)!
|
|
1843
|
+
const last = path[path.length - 1]
|
|
1844
|
+
parentNode.children[last] = update
|
|
1845
|
+
let i = 0
|
|
1846
|
+
let n = root
|
|
1847
|
+
do {
|
|
1848
|
+
n.value = _stringify(n)
|
|
1849
|
+
n = n.children[path[i]]
|
|
1850
|
+
i++
|
|
1851
|
+
} while (i < path.length - 1)
|
|
1852
|
+
// TODO performance
|
|
1853
|
+
return getTree(root.value)
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
export function updateNodeAt(
|
|
1857
|
+
root: string,
|
|
1858
|
+
path: number[],
|
|
1859
|
+
update: string
|
|
1860
|
+
): string {
|
|
1861
|
+
const rootTree = getTree(root)
|
|
1862
|
+
const updateTree = getTree(update)
|
|
1863
|
+
const updatedRoot = _updateNodeAt(rootTree, path, updateTree)
|
|
1864
|
+
return updatedRoot.value
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
export const EMPTY_TREE = getTree('')
|
|
1868
|
+
|
|
1869
|
+
export function _removeNodeAt(root: TreeNode, path: number[]): TreeNode {
|
|
1870
|
+
if (path.length === 0) {
|
|
1871
|
+
return EMPTY_TREE
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
const parentPath = getParentPath(path)!
|
|
1875
|
+
const parentNode = _getNodeAtPath(root, parentPath)!
|
|
1876
|
+
const nodeIndex = path[path.length - 1]
|
|
1877
|
+
|
|
1878
|
+
const updatedParentNode = clone(parentNode)
|
|
1879
|
+
|
|
1880
|
+
updatedParentNode.children.splice(nodeIndex, 1)
|
|
1881
|
+
|
|
1882
|
+
return _updateNodeAt(root, parentPath, getTree(_stringify(updatedParentNode)))
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
export function removeNodeAt(root: string, path: number[]) {
|
|
1886
|
+
const rootTree = getTree(root)
|
|
1887
|
+
const updatedRoot = _removeNodeAt(rootTree, path)
|
|
1888
|
+
return updatedRoot.value
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
export function _matchAllExcTypes(
|
|
1892
|
+
a: TreeNode[],
|
|
1893
|
+
b: TreeNode[],
|
|
1894
|
+
specs: Specs = _specs
|
|
1895
|
+
): [number, number][][] {
|
|
1896
|
+
return matchAllExc(a, b, (a, b) => _isTypeMatch(a, b, specs))
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export function matchAllExcTypes(
|
|
1900
|
+
a: string[],
|
|
1901
|
+
b: string[],
|
|
1902
|
+
specs: Specs = _specs
|
|
1903
|
+
): [number, number][][] {
|
|
1904
|
+
return matchAllExc(a, b, (a, b) => isTypeMatch(a, b, specs))
|
|
1905
|
+
}
|