@baklavajs/renderer-vue
Advanced tools
Comparing version 2.0.2-beta.5 to 2.1.1
import { AbstractNode } from "@baklavajs/core"; | ||
import { IBaklavaViewModel } from "../viewModel"; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
viewModel: { | ||
type: import("vue").PropType<IBaklavaViewModel>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
viewModel: { | ||
type: import("vue").PropType<IBaklavaViewModel>; | ||
required: true; | ||
}; | ||
}>>, {}, {}>, { | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{ | ||
viewModel: IBaklavaViewModel; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ | ||
viewModel: IBaklavaViewModel; | ||
}>>>, {}, {}>, { | ||
background?(_: {}): any; | ||
@@ -32,2 +26,11 @@ toolbar?(_: {}): any; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -34,0 +37,0 @@ new (): { |
@@ -1,17 +0,51 @@ | ||
import { NodeInstanceOf } from "@baklavajs/core"; | ||
import { INodeState, NodeInstanceOf, NodeInterface, Node } from "@baklavajs/core"; | ||
import { TextInputInterface } from "../nodeinterfaces"; | ||
export declare const SUBGRAPH_INPUT_NODE_TYPE = "__baklava_SubgraphInputNode"; | ||
export declare const SUBGRAPH_OUTPUT_NODE_TYPE = "__baklava_SubgraphOutputNode"; | ||
export interface ISubgraphInterfaceState<I, O> extends INodeState<I, O> { | ||
graphInterfaceId: string; | ||
} | ||
declare abstract class SubgraphInterfaceNode<I, O> extends Node<I, O> implements ISubgraphInterfaceNode { | ||
graphInterfaceId: string; | ||
constructor(); | ||
onPlaced(): void; | ||
save(): ISubgraphInterfaceState<I, O>; | ||
load(state: ISubgraphInterfaceState<I, O>): void; | ||
} | ||
export interface ISubgraphInterfaceNode { | ||
graphInterfaceId: string; | ||
} | ||
export declare const SubgraphInputNode: new () => import("@baklavajs/core").Node<{ | ||
interface SubgraphInputNodeInputs { | ||
name: string; | ||
}, { | ||
placeholder: undefined; | ||
}>; | ||
export declare const SubgraphOutputNode: new () => import("@baklavajs/core").Node<{ | ||
} | ||
interface SubgraphInputNodeOutputs { | ||
placeholder: string; | ||
} | ||
export declare class SubgraphInputNode extends SubgraphInterfaceNode<SubgraphInputNodeInputs, SubgraphInputNodeOutputs> implements ISubgraphInterfaceNode { | ||
readonly type = "__baklava_SubgraphInputNode"; | ||
_title: string; | ||
inputs: { | ||
name: TextInputInterface; | ||
}; | ||
outputs: { | ||
placeholder: NodeInterface<string>; | ||
}; | ||
} | ||
interface SubgraphOutputNodeInputs { | ||
name: string; | ||
placeholder: undefined; | ||
}, unknown>; | ||
placeholder: string; | ||
} | ||
interface SubgraphOutputNodeOutputs { | ||
} | ||
export declare class SubgraphOutputNode extends SubgraphInterfaceNode<SubgraphOutputNodeInputs, SubgraphOutputNodeOutputs> implements ISubgraphInterfaceNode { | ||
readonly type = "__baklava_SubgraphOutputNode"; | ||
_title: string; | ||
inputs: { | ||
name: TextInputInterface; | ||
placeholder: NodeInterface<string>; | ||
}; | ||
outputs: {}; | ||
} | ||
export type InputNode = NodeInstanceOf<typeof SubgraphInputNode> & ISubgraphInterfaceNode; | ||
export type OutputNode = NodeInstanceOf<typeof SubgraphOutputNode> & ISubgraphInterfaceNode; | ||
export {}; |
import { AbstractNode } from "@baklavajs/core"; | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{ | ||
node: { | ||
type: import("vue").PropType<AbstractNode>; | ||
required: true; | ||
}; | ||
selected: { | ||
type: import("vue").PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
node: AbstractNode; | ||
selected?: boolean | undefined; | ||
}>, { | ||
selected: boolean; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
select: () => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
node: { | ||
type: import("vue").PropType<AbstractNode>; | ||
required: true; | ||
}; | ||
selected: { | ||
type: import("vue").PropType<boolean>; | ||
default: boolean; | ||
}; | ||
}>> & { | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{ | ||
node: AbstractNode; | ||
selected?: boolean | undefined; | ||
}>, { | ||
selected: boolean; | ||
}>>> & { | ||
onSelect?: (() => any) | undefined; | ||
@@ -36,2 +28,19 @@ }, { | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; | ||
type __VLS_WithDefaults<P, D> = { | ||
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { | ||
default: D[K]; | ||
}> : P[K]; | ||
}; | ||
type __VLS_Prettify<T> = { | ||
[K in keyof T]: T[K]; | ||
} & {}; | ||
type __VLS_WithTemplateSlots<T, S> = T & { | ||
@@ -38,0 +47,0 @@ new (): { |
import { AbstractNode, NodeInterface } from "@baklavajs/core"; | ||
declare const _default: import("vue").DefineComponent<{ | ||
node: { | ||
type: import("vue").PropType<AbstractNode>; | ||
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{ | ||
node: AbstractNode; | ||
intf: NodeInterface; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ | ||
node: AbstractNode; | ||
intf: NodeInterface; | ||
}>>>, {}, {}>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
intf: { | ||
type: import("vue").PropType<NodeInterface<any>>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
node: { | ||
type: import("vue").PropType<AbstractNode>; | ||
required: true; | ||
}; | ||
intf: { | ||
type: import("vue").PropType<NodeInterface<any>>; | ||
required: true; | ||
}; | ||
}>>, {}, {}>; | ||
export default _default; | ||
}; |
import type { CheckboxInterface } from "./CheckboxInterface"; | ||
declare const _default: import("vue").DefineComponent<{ | ||
modelValue: { | ||
type: import("vue").PropType<boolean>; | ||
required: true; | ||
}; | ||
intf: { | ||
type: import("vue").PropType<CheckboxInterface>; | ||
required: true; | ||
}; | ||
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{ | ||
modelValue: boolean; | ||
intf: CheckboxInterface; | ||
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { | ||
"update:modelValue": (v: boolean) => void; | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ | ||
modelValue: { | ||
type: import("vue").PropType<boolean>; | ||
required: true; | ||
}; | ||
intf: { | ||
type: import("vue").PropType<CheckboxInterface>; | ||
required: true; | ||
}; | ||
}>> & { | ||
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ | ||
modelValue: boolean; | ||
intf: CheckboxInterface; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined; | ||
}, {}, {}>; | ||
export default _default; | ||
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; | ||
type __VLS_TypePropsToRuntimeProps<T> = { | ||
[K in keyof T]-?: {} extends Pick<T, K> ? { | ||
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>; | ||
} : { | ||
type: import('vue').PropType<T[K]>; | ||
required: true; | ||
}; | ||
}; |
{ | ||
"name": "@baklavajs/renderer-vue", | ||
"version": "2.0.2-beta.5", | ||
"version": "2.1.1", | ||
"description": "Vue frontend for BaklavaJS", | ||
@@ -33,19 +33,19 @@ "author": "newcat <freddy.wagner@web.de>", | ||
"dependencies": { | ||
"@baklavajs/core": "^2.0.2-beta.5", | ||
"@baklavajs/events": "^2.0.2-beta.5" | ||
"@baklavajs/core": "^2.1.1", | ||
"@baklavajs/events": "^2.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/resize-observer-browser": "^0.1.7", | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
"@vue/compiler-sfc": "^3.3.4", | ||
"@vueuse/core": "^10.2.1", | ||
"@types/resize-observer-browser": "^0.1.9", | ||
"@vitejs/plugin-vue": "^4.4.0", | ||
"@vue/compiler-sfc": "^3.3.7", | ||
"@vueuse/core": "^10.5.0", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-visualizer": "^5.9.2", | ||
"rollup-plugin-vue": "^6.0.0", | ||
"sass": "^1.64.1", | ||
"typescript": "^5.1.6", | ||
"vite": "^4.4.7", | ||
"vite-plugin-dts": "^3.3.1", | ||
"vue": "^3.3.4", | ||
"vue-tsc": "^1.8.6" | ||
"sass": "^1.69.5", | ||
"typescript": "^5.2.2", | ||
"vite": "^4.5.0", | ||
"vite-plugin-dts": "^3.6.3", | ||
"vue": "^3.3.7", | ||
"vue-tsc": "^1.8.22" | ||
}, | ||
@@ -55,3 +55,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "8d9b36d1ceb63499a400522b59d355aabcd2f31b" | ||
"gitHead": "58c15b98b78f9a9903127521966d1b50742a65c7" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
437064
11790
0
Updated@baklavajs/core@^2.1.1
Updated@baklavajs/events@^2.1.1