initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

6
node_modules/jibo-flow-core/LICENSE.txt generated vendored Normal file
View File

@@ -0,0 +1,6 @@
jibo-flow-core - Core library for the Flow functionality.
@version v1.0.1-alpha
Copyright (c) 2016, Jibo, Inc. All rights reserved.
All use of the Jibo SDK is subject to the Jibo SDK End User License Agreement (EULA)
distributed herewith. If you did not receive a copy of the EULA, you may view a
copy at https://developers.jibo.com/license.

2
node_modules/jibo-flow-core/README.md generated vendored Normal file
View File

@@ -0,0 +1,2 @@
# jibo-flow-core
Core library for the Flow functionality.

17
node_modules/jibo-flow-core/lib/dts/Activity.d.ts generated vendored Normal file
View File

@@ -0,0 +1,17 @@
import Procedure from './Procedure';
import Transition from './Transition';
declare class Activity {
class: string;
assetPack: string;
id: string;
name: string;
procedure: Procedure;
transitions: Transition[];
exceptions: Transition[];
options: any;
constructor(name: string, id: string, className: string, assetPack: string, options: any);
set_transitions(transitions: Transition[]): void;
set_exceptions(exceptions: Transition[]): void;
set_procedure(procedure: Procedure): void;
}
export default Activity;

19
node_modules/jibo-flow-core/lib/dts/FlowRoot.d.ts generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import Procedure from './Procedure';
declare class FlowRoot {
procedures: {
[key: string]: Procedure;
};
global_inits: {
[key: string]: string;
};
loader: any;
startProcedureOrName: string;
startUri: string;
constructor(loader: any);
setStartInfoFromUri(uri: any): void;
loadProcedure(currentUri: string, procedureObjectOrName: string): any;
getStartActivity(): any;
getStartProcedure(): any;
getStartProcedureOrName(): string;
}
export default FlowRoot;

View File

@@ -0,0 +1,5 @@
import FlowRoot from './FlowRoot';
declare class FlowRootFactory {
static create(uri: any, loader?: any): FlowRoot;
}
export default FlowRootFactory;

36
node_modules/jibo-flow-core/lib/dts/Procedure.d.ts generated vendored Normal file
View File

@@ -0,0 +1,36 @@
import Activity from './Activity';
import Transition from './Transition';
declare class Procedure {
name: string;
uri: string;
relativeUri: string;
activities: {
[key: string]: Activity;
};
local_inits: {
[key: string]: string;
};
param_inits: {
[key: string]: string;
};
transitions: {
[key: string]: Transition[];
};
exceptions: {
[key: string]: Transition[];
};
connections: Transition[];
procedureConstructor: any;
tree: any;
constructor(name?: string, uri?: string, local_inits?: {
[key: string]: string;
}, param_inits?: {
[key: string]: string;
});
loadPropertiesFromTreeFunction(tree: any): void;
add_transition(transition: Transition): void;
add_activity(activity: Activity): void;
getBeginActivity(): Activity;
getAsyncBeginActivities(): Array<Activity>;
}
export default Procedure;

7
node_modules/jibo-flow-core/lib/dts/Transition.d.ts generated vendored Normal file
View File

@@ -0,0 +1,7 @@
declare class Transition {
frm: string;
to: string;
value: string;
constructor(frm: string, to: string, value: string);
}
export default Transition;

7
node_modules/jibo-flow-core/lib/dts/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,7 @@
import Activity from './Activity';
import FlowRoot from './FlowRoot';
import FlowRootFactory from './FlowRootFactory';
import Procedure from './Procedure';
import Transition from './Transition';
import loaders from './loaders';
export { Activity, FlowRoot, FlowRootFactory, Procedure, Transition, loaders };

View File

@@ -0,0 +1,14 @@
import Procedure from '../Procedure';
declare class GojsLoader {
procedures: {
[key: string]: Procedure;
};
constructor();
getStartProcedureOrName(uri: string): string;
getUri(uri: string): string;
getBase(uri: string): string;
loadProcedureRelative(currentUri: string, name: string): Procedure;
loadProcedure(uri: string): Procedure;
readProcedure(name: string, uri: string): Procedure;
}
export default GojsLoader;

View File

@@ -0,0 +1,7 @@
import Procedure from '../Procedure';
declare class TreeLoader {
static getStartProcedureOrName(data: any): Procedure;
static getUri(data: any): string;
static loadProcedureRelative(uri: any, procedureObject: any): Procedure;
}
export default TreeLoader;

View File

@@ -0,0 +1,7 @@
import GojsLoader from './GojsLoader';
import TreeLoader from './TreeLoader';
declare var _default: {
GojsLoader: typeof GojsLoader;
TreeLoader: typeof TreeLoader;
};
export default _default;

9
node_modules/jibo-flow-core/lib/jibo-flow-core.js generated vendored Normal file

File diff suppressed because one or more lines are too long

12
node_modules/jibo-flow-core/package.json generated vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "jibo-flow-core",
"version": "1.0.1-alpha",
"description": "Core library for the Flow functionality.",
"main": "lib/jibo-flow-core.js",
"typings": "lib/dts/index.d.ts",
"author": "Jibo, Inc. <sdkearlyaccess@jibo.com>",
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"find-root": "^1.0.0"
}
}