@shijiu/jsview-vue 2.2.128 → 2.2.201
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/bin/browser/BrowserApic.vue.mjs +2 -2
- package/bin/browser/BrowserApic2.vue.mjs +2 -2
- package/bin/browser/BrowserApicLib.mjs +8 -2
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +63 -0
- package/bin/jsview-vue.mjs +1604 -423
- package/bin/types/JsViewEngineWidget/JsvFocus/JsvFocusManager.d.ts +8 -6
- package/bin/types/JsViewEngineWidget/MetroWidget/Dispatcher.d.ts +10 -12
- package/bin/types/JsViewEngineWidget/MetroWidget/ListWidget.vue.d.ts +3 -3
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidget.vue.d.ts +3 -3
- package/bin/types/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.d.ts +2 -2
- package/bin/types/JsViewEngineWidget/MetroWidget/RenderItem.d.ts +3 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +1 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +1 -1
- package/bin/types/JsViewEngineWidget/index.d.ts +10 -1
- package/bin/types/JsViewVueTools/ConstSymbol.d.ts +2 -2
- package/bin/types/JsViewVueTools/JsvFederationTools.d.ts +16 -0
- package/bin/types/JsViewVueTools/JsvPerformance.d.ts +5 -0
- package/bin/types/JsViewVueTools/JsvPreDownloader.d.ts +33 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +45 -1
- package/bin/types/JsViewVueTools/index.d.ts +19 -11
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue.d.ts +1 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue.d.ts +1 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue.d.ts +1 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue.d.ts +1 -1
- package/bin/types/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.d.ts +2 -1
- package/bin/types/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue.d.ts +70 -0
- package/bin/types/JsViewVueWidget/JsvClipDiv/index.d.ts +1 -0
- package/bin/types/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue.d.ts +104 -0
- package/bin/types/JsViewVueWidget/JsvDriftScope/index.d.ts +1 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue.d.ts +13 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue.d.ts +13 -0
- package/bin/types/JsViewVueWidget/JsvFragShaderView/index.d.ts +2 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +43 -17
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +5 -5
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +4 -2
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +7 -7
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +18 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +2 -0
- package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +1 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +61 -1
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue.d.ts +153 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/ScrollSymbol.d.ts +9 -4
- package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +2 -0
- package/bin/types/JsViewVueWidget/index.d.ts +3 -0
- package/package.json +1 -1
- package/tools/config/rollup.config.mjs +1 -0
- package/utils/JsViewEngineWidget/JsvFocus/{JsvFocusManager.js → JsvFocusManager.ts} +12 -12
- package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.ts +20 -0
- package/utils/JsViewEngineWidget/MetroWidget/ListWidget.vue +27 -10
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidget.vue +42 -10
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +320 -203
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +11 -0
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +8 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +20 -10
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +18 -0
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +7 -0
- package/utils/JsViewEngineWidget/{index.js → index.ts} +1 -1
- package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +21 -2
- package/utils/JsViewVueTools/ConstSymbol.ts +2 -2
- package/utils/JsViewVueTools/JsvPreDownloader.ts +3 -3
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +1 -1
- package/utils/JsViewVueTools/index.js +19 -19
- package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +2 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +3 -3
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +2 -2
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +3 -3
- package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/Viewer.js +8 -3
- package/utils/JsViewVueWidget/JsvClipDiv/JsvClipDiv.vue +42 -0
- package/utils/JsViewVueWidget/JsvClipDiv/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvConnectLine/JsvConnectLine.vue +5 -1
- package/utils/JsViewVueWidget/JsvDriftScope/JsvDriftScope.vue +82 -0
- package/utils/JsViewVueWidget/JsvDriftScope/index.ts +1 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/BrowserJsvFragShaderView.vue +48 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/JsvFragShaderView.vue +145 -0
- package/utils/JsViewVueWidget/JsvFragShaderView/index.js +18 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +142 -63
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +15 -6
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +19 -7
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +15 -11
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts +120 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +5 -1
- package/utils/JsViewVueWidget/JsvNinePatch.vue +13 -1
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +257 -48
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +468 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.ts +9 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +13 -4
- package/utils/JsViewVueWidget/JsvScrollBox/index.ts +3 -0
- package/utils/JsViewVueWidget/index.js +3 -0
- package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.js +0 -19
- package/utils/JsViewVueWidget/JsvScrollBox/index.js +0 -2
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
declare const useFocusHub: (withNameSpace: any) => unknown;
|
|
2
|
+
export declare class JsvFocusManager {
|
|
3
|
+
private $_appMount;
|
|
4
|
+
private $_topFDiv;
|
|
5
|
+
constructor();
|
|
6
|
+
install(app: any, ...options: any): void;
|
|
3
7
|
getCurrentFocusStack(): any;
|
|
4
8
|
$_hookMount(app: any, rootNodeId: any): (rootContainer: any) => any;
|
|
5
|
-
$_topFDiv: undefined;
|
|
6
|
-
$_appMount: undefined;
|
|
7
9
|
$_doAppMount(rootContainer: any): any;
|
|
8
10
|
}
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
+
declare function jsvCreateFocusManager(): JsvFocusManager;
|
|
12
|
+
export { jsvCreateFocusManager, useFocusHub };
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export default Dispatcher;
|
|
1
|
+
import { BaseDispatcher } from "../WidgetCommon";
|
|
3
2
|
declare class Dispatcher extends BaseDispatcher {
|
|
3
|
+
static Type: {
|
|
4
|
+
setFocusId: symbol;
|
|
5
|
+
updateItem: symbol;
|
|
6
|
+
slideToItem: symbol;
|
|
7
|
+
setEnterFocusId: symbol;
|
|
8
|
+
setEnterFocusRect: symbol;
|
|
9
|
+
};
|
|
4
10
|
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const setFocusId: symbol;
|
|
8
|
-
const updateItem: symbol;
|
|
9
|
-
const slideToItem: symbol;
|
|
10
|
-
const setEnterFocusId: symbol;
|
|
11
|
-
const setEnterFocusRect: symbol;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import { BaseDispatcher } from "../WidgetCommon";
|
|
11
|
+
export { Dispatcher as SWidgetDispatcher };
|
|
12
|
+
export default Dispatcher;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
unlockSlide: () => void;
|
|
22
22
|
lock: (type: any) => () => void;
|
|
23
23
|
unlock: (type: any) => void;
|
|
24
|
-
refreshData: (
|
|
24
|
+
refreshData: (forceUpdate: any) => void;
|
|
25
25
|
moveFocus: (direction: any) => void;
|
|
26
26
|
slideTo: (position: any, doAnim: any) => void;
|
|
27
27
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -75,7 +75,7 @@ declare const _default: {
|
|
|
75
75
|
unlockSlide: () => void;
|
|
76
76
|
lock: (type: any) => () => void;
|
|
77
77
|
unlock: (type: any) => void;
|
|
78
|
-
refreshData: (
|
|
78
|
+
refreshData: (forceUpdate: any) => void;
|
|
79
79
|
moveFocus: (direction: any) => void;
|
|
80
80
|
slideTo: (position: any, doAnim: any) => void;
|
|
81
81
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -113,7 +113,7 @@ declare const _default: {
|
|
|
113
113
|
unlockSlide: () => void;
|
|
114
114
|
lock: (type: any) => () => void;
|
|
115
115
|
unlock: (type: any) => void;
|
|
116
|
-
refreshData: (
|
|
116
|
+
refreshData: (forceUpdate: any) => void;
|
|
117
117
|
moveFocus: (direction: any) => void;
|
|
118
118
|
slideTo: (position: any, doAnim: any) => void;
|
|
119
119
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
unlockSlide: () => void;
|
|
22
22
|
lock: (type: any) => () => void;
|
|
23
23
|
unlock: (type: any) => void;
|
|
24
|
-
refreshData: (
|
|
24
|
+
refreshData: (forceUpdate: any) => void;
|
|
25
25
|
moveFocus: (direction: any) => void;
|
|
26
26
|
slideTo: (position: any, doAnim: any) => void;
|
|
27
27
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -75,7 +75,7 @@ declare const _default: {
|
|
|
75
75
|
unlockSlide: () => void;
|
|
76
76
|
lock: (type: any) => () => void;
|
|
77
77
|
unlock: (type: any) => void;
|
|
78
|
-
refreshData: (
|
|
78
|
+
refreshData: (forceUpdate: any) => void;
|
|
79
79
|
moveFocus: (direction: any) => void;
|
|
80
80
|
slideTo: (position: any, doAnim: any) => void;
|
|
81
81
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -113,7 +113,7 @@ declare const _default: {
|
|
|
113
113
|
unlockSlide: () => void;
|
|
114
114
|
lock: (type: any) => () => void;
|
|
115
115
|
unlock: (type: any) => void;
|
|
116
|
-
refreshData: (
|
|
116
|
+
refreshData: (forceUpdate: any) => void;
|
|
117
117
|
moveFocus: (direction: any) => void;
|
|
118
118
|
slideTo: (position: any, doAnim: any) => void;
|
|
119
119
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -10,7 +10,7 @@ export function setup(props: any, itemRender: any, locateDiv: any, renderData: a
|
|
|
10
10
|
unlockSlide: () => void;
|
|
11
11
|
lock: (type: any) => () => void;
|
|
12
12
|
unlock: (type: any) => void;
|
|
13
|
-
refreshData: (
|
|
13
|
+
refreshData: (forceUpdate: any) => void;
|
|
14
14
|
moveFocus: (direction: any) => void;
|
|
15
15
|
slideTo: (position: any, doAnim: any) => void;
|
|
16
16
|
slideToItem: (index: any, doAnim: any) => void;
|
|
@@ -39,7 +39,7 @@ export function setup(props: any, itemRender: any, locateDiv: any, renderData: a
|
|
|
39
39
|
};
|
|
40
40
|
setZIndex: (index: any, normalZIndex: any, focusZIndex: any) => void;
|
|
41
41
|
onTouchDown: (data: any, customData: any, nexusCustomData: any) => void;
|
|
42
|
-
onTouchRelease: (() => void) | undefined;
|
|
42
|
+
onTouchRelease: ((touchCount: any) => void) | undefined;
|
|
43
43
|
currentFocusIndex: import("vue").Ref<number>;
|
|
44
44
|
modeForExport: import("vue").Ref<number>;
|
|
45
45
|
};
|
|
@@ -12,6 +12,7 @@ interface ItemConfig {
|
|
|
12
12
|
normalZIndex: number;
|
|
13
13
|
itemSlide: number;
|
|
14
14
|
permanent: boolean;
|
|
15
|
+
showSkeleton: boolean;
|
|
15
16
|
}
|
|
16
17
|
export declare class RenderItem {
|
|
17
18
|
private divMountedCallback;
|
|
@@ -23,6 +24,7 @@ export declare class RenderItem {
|
|
|
23
24
|
touchInit: boolean;
|
|
24
25
|
rootDiv: HTMLDivElement | null;
|
|
25
26
|
enableTap: boolean;
|
|
27
|
+
renderKey: Ref<number>;
|
|
26
28
|
private customerCallbackMap;
|
|
27
29
|
private onRef;
|
|
28
30
|
readonly registerObj: object;
|
|
@@ -30,6 +32,7 @@ export declare class RenderItem {
|
|
|
30
32
|
constructor(templateInfo: TemplateItem, customerData: object, renderStyle: RenderItemStyle, itemConfig: ItemConfig, onRef: () => void, query: object);
|
|
31
33
|
get id(): number;
|
|
32
34
|
get index(): number;
|
|
35
|
+
updateCustomData(newCustomData: object, newItemConfig: ItemConfig): void;
|
|
33
36
|
divRef: (ele: HTMLDivElement | null) => void;
|
|
34
37
|
slotRef: (ele: object | null) => void;
|
|
35
38
|
register(name: string, callback: Function): void;
|
|
@@ -7,6 +7,7 @@ declare class ListMetroTemplate extends MetroTemplate {
|
|
|
7
7
|
private _addTemplateItem;
|
|
8
8
|
getNextItem(baseId: number, vOffset: number, hOffset: number, moveType: number): TemplateItem | null;
|
|
9
9
|
getVisibleItemList(visibleStart: number, visibleEnd: number, baseId: number): [number, number];
|
|
10
|
+
private cleanResizeChangeItem;
|
|
10
11
|
updateItemSize(index: number, newSize: {
|
|
11
12
|
width: number;
|
|
12
13
|
height: number;
|
|
@@ -12,7 +12,7 @@ declare class TemplateItemAdder {
|
|
|
12
12
|
private _OnAddDone;
|
|
13
13
|
constructor(template_parser: MetroTemplate, data: Array<object>, measure_func: Function, page_range: number, side_effect: Function, id: number, onAddDone?: Function | null);
|
|
14
14
|
private addDataToTemplate;
|
|
15
|
-
tryAddItem(cur_item?: TemplateItem | null, page_num?: number): boolean;
|
|
15
|
+
tryAddItem(cur_item?: TemplateItem | null, page_num?: number): boolean | undefined;
|
|
16
16
|
tryAddItemByPosition(position: number): void;
|
|
17
17
|
tryAddItemByIndex(index: number): void;
|
|
18
18
|
tryAddItemById(id: number): void;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: ChenChanghua
|
|
3
|
+
* @Date: 2021-06-16 10:07:20
|
|
4
|
+
* @LastEditors: ChenChanghua
|
|
5
|
+
* @LastEditTime: 2022-11-07 14:50:02
|
|
6
|
+
* @Description: file content
|
|
7
|
+
*/
|
|
1
8
|
export * from "./WidgetCommon";
|
|
2
9
|
export * from "./MetroWidget/Dispatcher";
|
|
10
|
+
export { default as SimpleWidget } from "./MetroWidget/MetroWidget.vue";
|
|
11
|
+
export { default as MetroWidget } from "./MetroWidget/MetroWidget.vue";
|
|
3
12
|
export { default as ListWidget } from "./MetroWidget/ListWidget.vue";
|
|
13
|
+
export { METRO_WIDGET, METRO_WIDGET_CONST } from "./MetroWidget/Const";
|
|
4
14
|
export { default as JsvFocusBlock } from "./JsvFocus/JsvFocusBlock.vue";
|
|
5
|
-
export { default as SimpleWidget, default as MetroWidget } from "./MetroWidget/MetroWidget.vue";
|
|
6
15
|
export { jsvCreateFocusManager, useFocusHub } from "./JsvFocus/JsvFocusManager";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERTICAL:
|
|
2
|
-
export declare const HORIZONTAL:
|
|
1
|
+
export declare const VERTICAL: unique symbol;
|
|
2
|
+
export declare const HORIZONTAL: unique symbol;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* alterModuleUrl
|
|
3
|
+
*
|
|
4
|
+
* 配置federation remote模块的加载url
|
|
5
|
+
* 注意: 需要在模块进行加载前使用才能生效,否则不生效
|
|
6
|
+
*
|
|
7
|
+
* @param {string} moduleName
|
|
8
|
+
* 远程模块名,例如: RemoteEntry
|
|
9
|
+
* @param {string} newUrl
|
|
10
|
+
* 模块远程url, 此url对应remote build后dist部署的服务器位置,例如: "http://localhost:8088/dist/js/remoteEntry.js"
|
|
11
|
+
*/
|
|
12
|
+
declare function alterModuleUrl(moduleName: string, newUrl: string): void;
|
|
13
|
+
declare const JsvFederationTools: {
|
|
14
|
+
alterModuleUrl: typeof alterModuleUrl;
|
|
15
|
+
};
|
|
16
|
+
export { JsvFederationTools };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* JsvPreDownloader 通用下载器,可以在不同的环境中进行资源下载操作。
|
|
3
|
+
* JsvPreDownloader.download:实例方法,根据传入参数来下载资源。支持单个url或者url列表,返回Promise对象。
|
|
4
|
+
* 参数:
|
|
5
|
+
* url {string | Array}: (必填)图片url
|
|
6
|
+
* netSetting {string}: 网络设置
|
|
7
|
+
* isImage {boolean} : 是否为图片
|
|
8
|
+
*
|
|
9
|
+
* JsvPreDownloader.buildDownloadItem: 实例方法,创建预下载信息项。
|
|
10
|
+
* 参数:
|
|
11
|
+
* url {string}: (必填)图片url
|
|
12
|
+
* netSetting {string}: 网络设置
|
|
13
|
+
* isImage {boolean} : 是否为图片
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
interface DownloadListItem {
|
|
17
|
+
url: string;
|
|
18
|
+
netSetting?: string;
|
|
19
|
+
isImage?: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare abstract class JsvPreDownloaderBase {
|
|
22
|
+
download(url: string | Array<DownloadListItem>, netSetting?: string, isImage?: boolean): Promise<unknown>;
|
|
23
|
+
buildDownloadItem(url: string, netSetting?: string, isImage?: boolean): DownloadListItem;
|
|
24
|
+
protected abstract downloadInner(url: string, netSetting: string | undefined, isImage: boolean): Promise<Object>;
|
|
25
|
+
}
|
|
26
|
+
declare class JsvPreDownloaderInJsView extends JsvPreDownloaderBase {
|
|
27
|
+
protected downloadInner(url: string, netSetting?: string | undefined, isImage?: boolean): Promise<Object>;
|
|
28
|
+
}
|
|
29
|
+
declare class JsvPreDownloaderInBrowser extends JsvPreDownloaderBase {
|
|
30
|
+
protected downloadInner(url: string, netSetting?: string | undefined, isImage?: boolean): Promise<Object>;
|
|
31
|
+
}
|
|
32
|
+
declare const exportObj: typeof JsvPreDownloaderInJsView | typeof JsvPreDownloaderInBrowser;
|
|
33
|
+
export { exportObj as JsvPreDownloader };
|
|
@@ -14,11 +14,55 @@
|
|
|
14
14
|
* Path.fill() 或者 Path.stroke 调用前可以移动游标进行路径规划, 一旦fill或者stroke后就不能更改了。
|
|
15
15
|
* 非Path接口: 完成单一绘制动作,例如drawLine, drawColor
|
|
16
16
|
*/
|
|
17
|
+
import CanvasTexture from "./CanvasTexture/CanvasTexture";
|
|
18
|
+
import { CapturedTexture, CapturedCallback } from "./CapturedTexture/CapturedTexture";
|
|
17
19
|
declare let sJsvTextureConst: {
|
|
18
20
|
LEFT: number;
|
|
19
21
|
TOP: number;
|
|
20
22
|
RIGHT: number;
|
|
21
23
|
BOTTOM: number;
|
|
22
24
|
};
|
|
23
|
-
declare let sTextureStoreApi:
|
|
25
|
+
declare let sTextureStoreApi: {
|
|
26
|
+
/**
|
|
27
|
+
* canvasTexture
|
|
28
|
+
* 创建CanvasTexture句柄,执行commit()后, 获取访问名(访问名规则: 输入参数 baseName + 分配id)
|
|
29
|
+
* 可以在 img.src 或者 div.backgroundImage 通过 "texturestore://访问名" 来使用
|
|
30
|
+
*
|
|
31
|
+
* @param {int} width 此Canvas画布的宽度
|
|
32
|
+
* @param {int} height 此Canvas画布的高度
|
|
33
|
+
* @param {String|null} baseName 可选, 访问名的前缀信息
|
|
34
|
+
* @return {CanvasTexture}
|
|
35
|
+
*/
|
|
36
|
+
canvasTexture: (width: Number, height: Number, baseName: String | null) => CanvasTexture;
|
|
37
|
+
/**
|
|
38
|
+
* capture2Texture
|
|
39
|
+
* 对给定div做截图并生成一个Texture, 在回调函数中返回此Texture的访问名,
|
|
40
|
+
* 此访问名可以在 img.src 或者 div.backgroundImage 通过 "texturestore://访问名" 来使用
|
|
41
|
+
* 注意: PC模拟环境下,无法截取运动物体的中间状态,但盒子端可以正常截取
|
|
42
|
+
*
|
|
43
|
+
* 关于 autoRecycle:
|
|
44
|
+
* true(默认值): 收到callback的访问名后,请立即设置给使用的地方,若此宏任务结束(其触发的所有微任务全完成后)时,
|
|
45
|
+
* 若资源未被div和img使用,则会自动回收,回收后此访问名对应内容为黑屏
|
|
46
|
+
* false: 截图资源永久存在,可被反复使用,直到 JsvTextureStoreApi.deleteTexture(访问名) 进行清理
|
|
47
|
+
*
|
|
48
|
+
* @param {DivVueRef} captureDiv 要截图的div
|
|
49
|
+
* @param {CapturedCallback} callback 完成截屏后的回调, 函数参数:
|
|
50
|
+
* (textureAccessName: string, // 访问名
|
|
51
|
+
* autoRecycleSet: boolean, // 通知是否为自动删除(和入参时一致)
|
|
52
|
+
* width: number, // 截取div的宽
|
|
53
|
+
* height: number) => void // 截取div的高
|
|
54
|
+
* @param {boolean} autoRecycle 可选, 是否当无div/img引用时会自动释放
|
|
55
|
+
* 为true的场景在callback收到资源名后, 需要使用完毕后调用 deleteTexture 手动释放
|
|
56
|
+
* 在手动释放之前,可以赋给其他div/img来复用
|
|
57
|
+
* @return {CapturedTexture} 用于cancel的句柄,当cancel时,会清理对div和Callback的引用
|
|
58
|
+
*/
|
|
59
|
+
capture2Texture: (captureDiv: any, callback: CapturedCallback, autoRecycle?: boolean) => CapturedTexture;
|
|
60
|
+
/**
|
|
61
|
+
* deleteTexture
|
|
62
|
+
* 删除访问名对应的texture资源
|
|
63
|
+
*
|
|
64
|
+
* @param {String} accessName 此Texture的访问名,访问名来自: CanvasTexture.commit 或 capture2Texture 的回调
|
|
65
|
+
*/
|
|
66
|
+
deleteTexture: (accessName: String) => void;
|
|
67
|
+
};
|
|
24
68
|
export { sTextureStoreApi as JsvTextureStoreApi, sJsvTextureConst as JsvTextureConst, };
|
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
export * from "./JsvHashHistory";
|
|
2
|
-
export * from "./JsvDynamicCssStyle
|
|
3
|
-
export * from "./
|
|
2
|
+
export * from "./JsvDynamicCssStyle";
|
|
3
|
+
export * from "./JsvDynamicKeyFrames";
|
|
4
|
+
export * from "./JsvRuntimeBridge";
|
|
4
5
|
export * from "./NinePatchHelper";
|
|
5
6
|
export * from "./TypeCheckAndSet";
|
|
6
|
-
export * from "./JsvRefTaker
|
|
7
|
-
export * from "./JsvStyleClass
|
|
8
|
-
export * from "./JsvStyleSheetsDeclarer
|
|
9
|
-
export * from "./DebugContentShellJBridge
|
|
10
|
-
export * from "./DebugTool
|
|
11
|
-
export * from "./JsvImpactTracer
|
|
12
|
-
export * from "./JsvTextTools
|
|
13
|
-
export * from "./
|
|
14
|
-
export
|
|
7
|
+
export * from "./JsvRefTaker";
|
|
8
|
+
export * from "./JsvStyleClass";
|
|
9
|
+
export * from "./JsvStyleSheetsDeclarer";
|
|
10
|
+
export * from "./DebugContentShellJBridge";
|
|
11
|
+
export * from "./DebugTool";
|
|
12
|
+
export * from "./JsvImpactTracer";
|
|
13
|
+
export * from "./JsvTextTools";
|
|
14
|
+
export * from "./JsvPreDownloader";
|
|
15
|
+
export * from "./JsvDemoTester";
|
|
16
|
+
export * from "./JsvPerformance";
|
|
17
|
+
export * from "./JsvTextureStore/JsvTextureStore";
|
|
18
|
+
export * from "./JsvTextureDefines";
|
|
19
|
+
export * from "./JsvFederationTools";
|
|
20
|
+
export * from "./ConstSymbol";
|
|
21
|
+
export * from "./ForgeConstDefine";
|
|
22
|
+
export { default as DefaultKeyCodeMap } from "./DefaultKeyMap";
|
|
@@ -23,7 +23,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
onEndId: number;
|
|
24
24
|
}, {}, {
|
|
25
25
|
play(): void;
|
|
26
|
-
stop(): void;
|
|
26
|
+
stop(frameCount?: number): void;
|
|
27
27
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
src: StringConstructor;
|
|
29
29
|
style: ObjectConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
show: (frameIndex?: number) => void;
|
|
3
3
|
play: (...args: any[]) => void;
|
|
4
|
-
stop: () => void;
|
|
4
|
+
stop: (frameCount?: number) => void;
|
|
5
5
|
$props: {
|
|
6
6
|
readonly style?: Record<string, any> | undefined;
|
|
7
7
|
readonly onLoad?: Function | undefined;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
}, {}, {
|
|
13
13
|
show(frameIndex?: number): void;
|
|
14
14
|
play(loopType: any, loopInfo: any, endState: any): void;
|
|
15
|
-
stop(): void;
|
|
15
|
+
stop(frameCount?: number): void;
|
|
16
16
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
src: StringConstructor;
|
|
18
18
|
style: ObjectConstructor;
|
|
@@ -7,9 +7,10 @@ declare class Viewer {
|
|
|
7
7
|
_Listener: any;
|
|
8
8
|
_TimeoutId: number;
|
|
9
9
|
_EndState: number;
|
|
10
|
+
_CurrentIndex: number;
|
|
10
11
|
_createLoopTool(loop_type: any, loop_info: any): void;
|
|
11
12
|
_LoopTool: PartLoopTool | NormalLoopTool | SingleLoopTool | undefined;
|
|
12
|
-
stop(): void;
|
|
13
|
+
stop(frameCount?: number): void;
|
|
13
14
|
play(loopType: any, loopInfo: any, endState?: number): void;
|
|
14
15
|
renderLoop(): void;
|
|
15
16
|
renderFrame(frame_index: any): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
style: object;
|
|
7
|
+
}>, {}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
8
|
+
$attrs: {
|
|
9
|
+
[x: string]: unknown;
|
|
10
|
+
};
|
|
11
|
+
$refs: {
|
|
12
|
+
[x: string]: unknown;
|
|
13
|
+
};
|
|
14
|
+
$slots: Readonly<{
|
|
15
|
+
[name: string]: import("vue").Slot | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
18
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
19
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
20
|
+
$el: any;
|
|
21
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
+
style: object;
|
|
23
|
+
}>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
|
|
24
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
25
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
37
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
38
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
39
|
+
};
|
|
40
|
+
$forceUpdate: () => void;
|
|
41
|
+
$nextTick: typeof import("vue").nextTick;
|
|
42
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
43
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
|
+
style: object;
|
|
45
|
+
}>, {}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
46
|
+
__isFragment?: undefined;
|
|
47
|
+
__isTeleport?: undefined;
|
|
48
|
+
__isSuspense?: undefined;
|
|
49
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
50
|
+
style: object;
|
|
51
|
+
}>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
52
|
+
$slots: {
|
|
53
|
+
default: (_: {}) => any;
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
|
67
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
68
|
+
default: D[K];
|
|
69
|
+
} : P[K];
|
|
70
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as JsvClipDiv } from "./JsvClipDiv.vue";
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
left: number;
|
|
7
|
+
top: number;
|
|
8
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
top?: number | undefined;
|
|
10
|
+
left?: number | undefined;
|
|
11
|
+
frameStyle?: Object | undefined;
|
|
12
|
+
scopeStyle: Object;
|
|
13
|
+
}>, {
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "left" | "top">;
|
|
17
|
+
$attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$refs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$slots: Readonly<{
|
|
24
|
+
[name: string]: import("vue").Slot | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
27
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
28
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
29
|
+
$el: any;
|
|
30
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
+
top?: number | undefined;
|
|
32
|
+
left?: number | undefined;
|
|
33
|
+
frameStyle?: Object | undefined;
|
|
34
|
+
scopeStyle: Object;
|
|
35
|
+
}>, {
|
|
36
|
+
top: number;
|
|
37
|
+
left: number;
|
|
38
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
39
|
+
left: number;
|
|
40
|
+
top: number;
|
|
41
|
+
}, {}, string> & {
|
|
42
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
57
|
+
};
|
|
58
|
+
$forceUpdate: () => void;
|
|
59
|
+
$nextTick: typeof import("vue").nextTick;
|
|
60
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
61
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
62
|
+
top?: number | undefined;
|
|
63
|
+
left?: number | undefined;
|
|
64
|
+
frameStyle?: Object | undefined;
|
|
65
|
+
scopeStyle: Object;
|
|
66
|
+
}>, {
|
|
67
|
+
top: number;
|
|
68
|
+
left: number;
|
|
69
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
70
|
+
__isFragment?: undefined;
|
|
71
|
+
__isTeleport?: undefined;
|
|
72
|
+
__isSuspense?: undefined;
|
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
74
|
+
top?: number | undefined;
|
|
75
|
+
left?: number | undefined;
|
|
76
|
+
frameStyle?: Object | undefined;
|
|
77
|
+
scopeStyle: Object;
|
|
78
|
+
}>, {
|
|
79
|
+
top: number;
|
|
80
|
+
left: number;
|
|
81
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
82
|
+
left: number;
|
|
83
|
+
top: number;
|
|
84
|
+
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
85
|
+
$slots: {
|
|
86
|
+
Scene: (_: {}) => any;
|
|
87
|
+
Frame: (_: {}) => any;
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
export default _default;
|
|
91
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
94
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
95
|
+
} : {
|
|
96
|
+
type: import('vue').PropType<T[K]>;
|
|
97
|
+
required: true;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
type __VLS_WithDefaults<P, D> = {
|
|
101
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
102
|
+
default: D[K];
|
|
103
|
+
} : P[K];
|
|
104
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as JsvDriftScope } from "./JsvDriftScope.vue";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
startAnim: () => void;
|
|
3
|
+
stopAnim: () => void;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly style?: Record<string, any> | undefined;
|
|
6
|
+
readonly duration?: number | undefined;
|
|
7
|
+
readonly autoplay?: boolean | undefined;
|
|
8
|
+
readonly shaderStr?: string | undefined;
|
|
9
|
+
readonly uniforms?: unknown[] | undefined;
|
|
10
|
+
readonly textures?: unknown[] | undefined;
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
startAnim: (d: any) => void;
|
|
3
|
+
stopAnim: () => void;
|
|
4
|
+
$props: {
|
|
5
|
+
readonly style?: Record<string, any> | undefined;
|
|
6
|
+
readonly duration?: number | undefined;
|
|
7
|
+
readonly autoplay?: boolean | undefined;
|
|
8
|
+
readonly shaderStr?: string | undefined;
|
|
9
|
+
readonly uniforms?: unknown[] | undefined;
|
|
10
|
+
readonly textures?: unknown[] | undefined;
|
|
11
|
+
};
|
|
12
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
13
|
+
export default _default;
|