@soonspacejs/plugin-cps-scheme 2.13.9 → 2.13.11
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/dist/constants.d.ts +1 -1
- package/dist/index.d.ts +41 -41
- package/dist/index.esm.js +1 -1
- package/dist/types.d.ts +29 -29
- package/package.json +4 -4
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SCHEME_DATA_FILE_PATH = "/db/prediction_scheme.json";
|
|
1
|
+
export declare const SCHEME_DATA_FILE_PATH = "/db/prediction_scheme.json";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import SoonSpace from 'soonspacejs';
|
|
2
|
-
import CpsSoonmanagerPlugin from '@soonspacejs/plugin-cps-soonmanager';
|
|
3
|
-
import { Platter } from './controller/platter';
|
|
4
|
-
import { ISchemeData, TInitOptions } from './types';
|
|
5
|
-
declare class CpsSchemePlugin {
|
|
6
|
-
readonly ssp: SoonSpace;
|
|
7
|
-
cpsSoonmanagerPlugin: CpsSoonmanagerPlugin;
|
|
8
|
-
platter: Platter | null;
|
|
9
|
-
schemeData: ISchemeData[] | null;
|
|
10
|
-
platterDomElement: SVGElement | null;
|
|
11
|
-
/**
|
|
12
|
-
* 自动运行流程
|
|
13
|
-
*/
|
|
14
|
-
autoRunFlow: boolean;
|
|
15
|
-
private _platterListener;
|
|
16
|
-
private _platterState;
|
|
17
|
-
constructor(ssp: SoonSpace);
|
|
18
|
-
/**
|
|
19
|
-
* 初始化预案八卦盘
|
|
20
|
-
* @param options
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
init(options: TInitOptions): Promise<void>;
|
|
24
|
-
/**
|
|
25
|
-
* 设置按钮状态 ready
|
|
26
|
-
*/
|
|
27
|
-
setBtnReady(btnId: string, ready?: boolean): void;
|
|
28
|
-
/**
|
|
29
|
-
* 设置按钮状态 hover
|
|
30
|
-
*/
|
|
31
|
-
setBtnHover(btnId: string, hover?: boolean): void;
|
|
32
|
-
/**
|
|
33
|
-
* 清除预案八卦盘
|
|
34
|
-
* @returns
|
|
35
|
-
*/
|
|
36
|
-
dispose(): void;
|
|
37
|
-
private _resolvePath;
|
|
38
|
-
fetchContent(path: string): Promise<string>;
|
|
39
|
-
fetchSchemeData(): Promise<ISchemeData[]>;
|
|
40
|
-
}
|
|
41
|
-
export default CpsSchemePlugin;
|
|
1
|
+
import SoonSpace from 'soonspacejs';
|
|
2
|
+
import CpsSoonmanagerPlugin from '@soonspacejs/plugin-cps-soonmanager';
|
|
3
|
+
import { Platter } from './controller/platter';
|
|
4
|
+
import { ISchemeData, TInitOptions } from './types';
|
|
5
|
+
declare class CpsSchemePlugin {
|
|
6
|
+
readonly ssp: SoonSpace;
|
|
7
|
+
cpsSoonmanagerPlugin: CpsSoonmanagerPlugin;
|
|
8
|
+
platter: Platter | null;
|
|
9
|
+
schemeData: ISchemeData[] | null;
|
|
10
|
+
platterDomElement: SVGElement | null;
|
|
11
|
+
/**
|
|
12
|
+
* 自动运行流程
|
|
13
|
+
*/
|
|
14
|
+
autoRunFlow: boolean;
|
|
15
|
+
private _platterListener;
|
|
16
|
+
private _platterState;
|
|
17
|
+
constructor(ssp: SoonSpace);
|
|
18
|
+
/**
|
|
19
|
+
* 初始化预案八卦盘
|
|
20
|
+
* @param options
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
init(options: TInitOptions): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* 设置按钮状态 ready
|
|
26
|
+
*/
|
|
27
|
+
setBtnReady(btnId: string, ready?: boolean): void;
|
|
28
|
+
/**
|
|
29
|
+
* 设置按钮状态 hover
|
|
30
|
+
*/
|
|
31
|
+
setBtnHover(btnId: string, hover?: boolean): void;
|
|
32
|
+
/**
|
|
33
|
+
* 清除预案八卦盘
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
dispose(): void;
|
|
37
|
+
private _resolvePath;
|
|
38
|
+
fetchContent(path: string): Promise<string>;
|
|
39
|
+
fetchSchemeData(): Promise<ISchemeData[]>;
|
|
40
|
+
}
|
|
41
|
+
export default CpsSchemePlugin;
|