@shijiu/jsview-vue 2.2.35 → 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 +4 -3
- package/bin/browser/BrowserApic2.vue.mjs +4 -3
- package/bin/browser/BrowserApicLib.mjs +10 -3
- package/bin/browser/BrowserJsvFragShaderView.vue.mjs +63 -0
- package/bin/browser/BrowserQrcode.vue.mjs +3 -1
- package/bin/browser/BrowserTextureAnim.vue.mjs +7 -6
- package/bin/jsview-vue.mjs +2990 -1146
- 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/MetroWidget/Slide.d.ts +21 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/ListMetroTemplate.d.ts +1 -0
- package/bin/types/JsViewEngineWidget/TemplateParser/MetroTemplate.d.ts +2 -8
- package/bin/types/JsViewEngineWidget/TemplateParser/TemplateItemAdder.d.ts +1 -1
- package/bin/types/JsViewEngineWidget/WidgetCommon.d.ts +9 -3
- package/bin/types/JsViewEngineWidget/index.d.ts +10 -1
- package/bin/types/JsViewVueTools/ConstSymbol.d.ts +2 -0
- package/bin/types/JsViewVueTools/ForgeConstDefine.d.ts +11 -0
- 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/JsvRuntimeBridge.d.ts +113 -57
- package/bin/types/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.d.ts +11 -0
- package/bin/types/JsViewVueTools/JsvTextureStore/JsvTextureStore.d.ts +45 -1
- package/bin/types/JsViewVueTools/JsvTextureStore/Texture.d.ts +8 -0
- 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/JsvConnectLine/JsvConnectLine.vue.d.ts +1 -1
- 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/ActionRefObject.d.ts +4 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorControl.d.ts +91 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ActorState.d.ts +6 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.d.ts +11 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.d.ts +15 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue.d.ts +6 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetAction.d.ts +71 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetCondition.d.ts +97 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SetState.d.ts +62 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.d.ts +18 -0
- package/bin/types/JsViewVueWidget/JsvFreeMoveActor/index.d.ts +4 -1
- package/bin/types/JsViewVueWidget/JsvLine/JsvLine.vue.d.ts +1 -1
- package/bin/types/JsViewVueWidget/JsvNativeSharedDiv.vue.d.ts +66 -28
- package/bin/types/JsViewVueWidget/JsvNinePatch.vue.d.ts +2 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue.d.ts +236 -0
- 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 +12 -0
- package/bin/types/JsViewVueWidget/JsvScrollBox/index.d.ts +3 -0
- package/bin/types/JsViewVueWidget/JsvTextBox.vue.d.ts +3 -3
- package/bin/types/JsViewVueWidget/index.d.ts +4 -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 +52 -11
- package/utils/JsViewEngineWidget/MetroWidget/MetroWidgetSetup.js +686 -480
- package/utils/JsViewEngineWidget/MetroWidget/RenderItem.ts +13 -1
- package/utils/JsViewEngineWidget/MetroWidget/Slide.ts +56 -0
- package/utils/JsViewEngineWidget/MetroWidget/TaskManager.ts +59 -10
- package/utils/JsViewEngineWidget/MetroWidget/TokenGenerator.ts +10 -0
- package/utils/JsViewEngineWidget/TemplateParser/CommonMetroTemplate.ts +20 -10
- package/utils/JsViewEngineWidget/TemplateParser/ListMetroTemplate.ts +27 -3
- package/utils/JsViewEngineWidget/TemplateParser/MetroTemplate.ts +25 -35
- package/utils/JsViewEngineWidget/TemplateParser/TemplateItemAdder.ts +7 -0
- package/utils/JsViewEngineWidget/WidgetCommon.ts +20 -7
- package/utils/JsViewEngineWidget/{index.js → index.ts} +1 -1
- package/utils/JsViewPlugin/JsvAudio/AudioProxy.js +21 -2
- package/utils/JsViewPlugin/JsvPlayer/BrowserJsvPlayer.vue +13 -1
- package/utils/JsViewPlugin/JsvPlayer/JsvPlayer.vue +470 -338
- package/utils/JsViewVueTools/ConstSymbol.ts +3 -0
- package/utils/JsViewVueTools/ForgeConstDefine.ts +11 -0
- package/utils/JsViewVueTools/JsvPreDownloader.ts +3 -3
- package/utils/JsViewVueTools/JsvRuntimeBridge.js +172 -50
- package/utils/JsViewVueTools/JsvTextureStore/CapturedTexture/CapturedTexture.ts +62 -0
- package/utils/JsViewVueTools/JsvTextureStore/JsvTextureStore.ts +42 -8
- package/utils/JsViewVueTools/JsvTextureStore/Texture.ts +15 -1
- package/utils/JsViewVueTools/index.js +19 -17
- package/utils/JsViewVueWidget/JsvApic/JsvApic/BrowserApic.vue +8 -8
- package/utils/JsViewVueWidget/JsvApic/JsvApic/JsvApic.vue +3 -3
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/BrowserApic2.vue +7 -8
- package/utils/JsViewVueWidget/JsvApic/JsvApic2/JsvApic2.vue +3 -3
- package/utils/JsViewVueWidget/JsvApic/JsvBrowserApicLib/ApicDataBase.js +5 -1
- 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/ActionRefObject.ts +1 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorControl.ts +156 -55
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ActorState.ts +4 -4
- package/utils/JsViewVueWidget/JsvFreeMoveActor/CallbackManager.ts +6 -6
- package/utils/JsViewVueWidget/JsvFreeMoveActor/ForgeTypeDefine.ts +1 -1
- package/utils/JsViewVueWidget/JsvFreeMoveActor/FreeMoveActor.vue +43 -9
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetAction.ts +33 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetCondition.ts +69 -8
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SetState.ts +60 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/SyncLinkManager.ts +120 -0
- package/utils/JsViewVueWidget/JsvFreeMoveActor/index.js +7 -0
- package/utils/JsViewVueWidget/JsvMaskClipDiv.vue +6 -1
- package/utils/JsViewVueWidget/JsvNativeSharedDiv.vue +121 -68
- package/utils/JsViewVueWidget/JsvNinePatch.vue +17 -2
- package/utils/JsViewVueWidget/JsvPosterImage.vue +22 -9
- package/utils/JsViewVueWidget/JsvQrcode/BrowserQrcode.vue +6 -2
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollBox.vue +518 -0
- package/utils/JsViewVueWidget/JsvScrollBox/JsvScrollFollow.vue +468 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollInnerSymbol.ts +9 -0
- package/utils/JsViewVueWidget/JsvScrollBox/ScrollSymbol.ts +24 -0
- package/utils/JsViewVueWidget/JsvScrollBox/index.ts +3 -0
- package/utils/JsViewVueWidget/JsvTextBox.vue +12 -4
- package/utils/JsViewVueWidget/JsvTextureAnim/BrowserTextureAnim.vue +9 -6
- package/utils/JsViewVueWidget/JsvTextureAnim/JsvTextureAnim.vue +2 -0
- package/utils/JsViewVueWidget/index.js +4 -0
- package/utils/JsViewEngineWidget/MetroWidget/Dispatcher.js +0 -19
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { bridge as jJsvRuntimeBridge };
|
|
2
|
+
declare namespace bridge {
|
|
2
3
|
export { getMac };
|
|
3
4
|
export { getWireMac };
|
|
4
5
|
export { getWifiMac };
|
|
5
6
|
export { getDeviceUUID };
|
|
6
7
|
export { getAndroidId };
|
|
7
8
|
export { openWindow };
|
|
9
|
+
export { startUrlInNewTab };
|
|
10
|
+
export { onWindowResult };
|
|
11
|
+
export { reloadWindow };
|
|
8
12
|
export { closePage };
|
|
9
13
|
export { getStartParams };
|
|
10
14
|
export { getSystemProperty };
|
|
11
15
|
export { getInstalledApps };
|
|
12
16
|
export { startNativeApp };
|
|
13
17
|
export { sendNativeBroadcast };
|
|
18
|
+
export { startService };
|
|
14
19
|
export { getDeviceInfo };
|
|
15
20
|
export { getAppInfo };
|
|
16
21
|
export { notifyPageLoadDone };
|
|
@@ -29,145 +34,194 @@ export namespace jJsvRuntimeBridge {
|
|
|
29
34
|
export { warmLoadView };
|
|
30
35
|
export { closeWarmedView };
|
|
31
36
|
export { preDownloadSdk };
|
|
37
|
+
export { getNetworkTypeStatusImmediate };
|
|
38
|
+
export { registerNetStateListener };
|
|
39
|
+
export { unRegisterNetStateListener };
|
|
32
40
|
}
|
|
33
|
-
|
|
41
|
+
/**
|
|
34
42
|
* 获取设备mac地址,优先获取有线mac,无则获取wifi mac
|
|
35
43
|
* @returns {string} mac address
|
|
36
44
|
*
|
|
37
45
|
*/
|
|
38
|
-
declare function getMac():
|
|
39
|
-
|
|
46
|
+
declare function getMac(): string;
|
|
47
|
+
/**
|
|
40
48
|
* 获取设备有线mac地址
|
|
41
49
|
* @returns {string} mac address
|
|
42
50
|
*
|
|
43
51
|
*/
|
|
44
|
-
declare function getWireMac():
|
|
45
|
-
|
|
52
|
+
declare function getWireMac(): string;
|
|
53
|
+
/**
|
|
46
54
|
* 获取设备wifi mac地址
|
|
47
55
|
* @returns {string} mac address
|
|
48
56
|
*
|
|
49
57
|
*/
|
|
50
|
-
declare function getWifiMac():
|
|
51
|
-
|
|
58
|
+
declare function getWifiMac(): string;
|
|
59
|
+
/**
|
|
52
60
|
* 获取设备UUID
|
|
53
61
|
* @returns {string} UUID
|
|
54
62
|
*
|
|
55
63
|
*/
|
|
56
|
-
declare function getDeviceUUID():
|
|
57
|
-
|
|
64
|
+
declare function getDeviceUUID(): string;
|
|
65
|
+
/**
|
|
58
66
|
* 获取设备Android ID
|
|
59
67
|
* @returns {string} Android ID
|
|
60
68
|
*
|
|
61
69
|
*/
|
|
62
|
-
declare function getAndroidId():
|
|
63
|
-
|
|
70
|
+
declare function getAndroidId(): string;
|
|
71
|
+
/**
|
|
64
72
|
* 打开另外一个小程序
|
|
65
73
|
* @param {string} url 小程序url
|
|
66
74
|
* @param {string} startup_image 启动图url
|
|
67
75
|
* @param {string} startup_video 启动视频url
|
|
68
76
|
* @param {int} startup_duration 启动图时长,默认0
|
|
69
77
|
* @param {int} add_history 是否添加历史,0不添加,1添加
|
|
70
|
-
*
|
|
78
|
+
* @returns {Promise} 可用于监听新的小程序返回的结果
|
|
79
|
+
*/
|
|
80
|
+
declare function openWindow(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
81
|
+
/**
|
|
82
|
+
* 用新的进程打开另外一个小程序
|
|
83
|
+
* @param {string} url 小程序url
|
|
84
|
+
* @param {string} startup_image 启动图url
|
|
85
|
+
* @param {string} startup_video 启动视频url
|
|
86
|
+
* @param {int} startup_duration 启动图时长,默认0
|
|
87
|
+
* @param {int} add_history 是否添加历史,0不添加,1添加
|
|
88
|
+
* @returns {Promise} 可用于监听新的小程序返回的结果
|
|
89
|
+
*/
|
|
90
|
+
declare function startUrlInNewTab(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): Promise<any>;
|
|
91
|
+
/**
|
|
92
|
+
* 用于给上一个小程序返回结果,通常与startUrlInNewTab和openWindow配合使用
|
|
93
|
+
* @param {string} data 返回给上一个小程序的结果
|
|
71
94
|
*/
|
|
72
|
-
declare function
|
|
73
|
-
|
|
95
|
+
declare function onWindowResult(data: string): void;
|
|
96
|
+
/**
|
|
97
|
+
* 重新加载一个小程序覆盖当前小程序
|
|
98
|
+
* @param {string} url 小程序url
|
|
99
|
+
* @param {string} startup_image 启动图url
|
|
100
|
+
* @param {string} startup_video 启动视频url
|
|
101
|
+
* @param {int} startup_duration 启动图时长,默认0
|
|
102
|
+
* @param {int} add_history 是否添加历史,0不添加,1添加
|
|
103
|
+
*/
|
|
104
|
+
declare function reloadWindow(url: string, startup_image: string, startup_video: string, startup_duration: int, add_history: int): any;
|
|
105
|
+
/**
|
|
74
106
|
* 关闭当前小程序
|
|
75
107
|
*
|
|
76
108
|
*/
|
|
77
109
|
declare function closePage(): void;
|
|
78
|
-
|
|
110
|
+
/**
|
|
79
111
|
* 获取启动内核版本和引擎
|
|
80
112
|
* @returns {Object} 包含
|
|
81
113
|
* COREVERSIONRANGE: 启动时设定的内核版本范围
|
|
82
114
|
* ENGINE: 启动时设定的Js引擎的URL
|
|
83
115
|
*/
|
|
84
|
-
declare function getStartParams():
|
|
85
|
-
|
|
86
|
-
*
|
|
87
|
-
* @param {string} key
|
|
116
|
+
declare function getStartParams(): Object;
|
|
117
|
+
/**
|
|
118
|
+
* 获取系统属性
|
|
119
|
+
* @param {string} key 属性名称,比如:ro.product.model。
|
|
88
120
|
* @returns {string} 属性值
|
|
89
121
|
*
|
|
90
122
|
*/
|
|
91
|
-
declare function getSystemProperty(key:
|
|
92
|
-
|
|
123
|
+
declare function getSystemProperty(key: string): string;
|
|
124
|
+
/**
|
|
93
125
|
* 获取已安装应用列表
|
|
94
126
|
* @returns {string} 应用列表,JSON结构的数组
|
|
95
127
|
*
|
|
96
128
|
*/
|
|
97
|
-
declare function getInstalledApps():
|
|
98
|
-
|
|
129
|
+
declare function getInstalledApps(): string;
|
|
130
|
+
/**
|
|
99
131
|
* 启动安卓APP
|
|
100
132
|
* @param {string} package_name 包名
|
|
101
133
|
* @param {string} activity Activity方式启动
|
|
102
134
|
* @param {string} action Action方式启动
|
|
103
135
|
* @param {string} uri Uri方式启动
|
|
104
136
|
* @param {Array} flags 数组,用于intent.addFlags
|
|
105
|
-
* @param {Array} param JSON
|
|
137
|
+
* @param {Array} param JSON格式数组,数组元素是 object ,object中的内容用于intent.putExtra
|
|
138
|
+
*
|
|
139
|
+
*/
|
|
140
|
+
declare function startNativeApp(package_name: string, activity: string, action: string, uri: string, flags: any[], param: any[]): void;
|
|
141
|
+
/**
|
|
142
|
+
* 发送安卓广播
|
|
143
|
+
* @param {string} package_name 包名
|
|
144
|
+
* @param {string} broadcast 广播类名,比如“com.qcode.MyBroadcastReceiver”,用于intent.setComponent()
|
|
145
|
+
* @param {string} action 对应 intent.setAction()
|
|
146
|
+
* @param {string} uri 对应intent.setData()
|
|
147
|
+
* @param {Array} flags 数组,用于intent.addFlags
|
|
148
|
+
* @param {Array} param JSON格式数组,数组元素是 object ,object中的内容用于intent.putExtra
|
|
149
|
+
*
|
|
150
|
+
*/
|
|
151
|
+
declare function sendNativeBroadcast(package_name: string, broadcast: string, action: string, uri: string, flags: any[], param: any[]): void;
|
|
152
|
+
/**
|
|
153
|
+
* 启动Android 服务
|
|
154
|
+
* @param {string} package_name 包名
|
|
155
|
+
* @param {string} services 服务类名,比如“com.qcode.MyService”,用于intent.setComponent()
|
|
156
|
+
* @param {string} action 对应 intent.setAction()
|
|
157
|
+
* @param {string} uri 对应intent.setData()
|
|
158
|
+
* @param {Array} flags 数组,用于intent.addFlags
|
|
159
|
+
* @param {Array} param JSON格式数组,数组元素是 object ,object中的内容用于intent.putExtra
|
|
160
|
+
* @param {boolean} is_foreground 是否使用startForegroundService
|
|
106
161
|
*
|
|
107
162
|
*/
|
|
108
|
-
declare function
|
|
109
|
-
|
|
110
|
-
/*
|
|
163
|
+
declare function startService(package_name: string, services: string, action: string, uri: string, flags: any[], param: any[], is_foreground: boolean): void;
|
|
164
|
+
/**
|
|
111
165
|
* 获取设备信息
|
|
112
166
|
* @returns {string} 终端设备信息,JSON数据结构
|
|
113
167
|
*
|
|
114
168
|
*/
|
|
115
|
-
declare function getDeviceInfo():
|
|
116
|
-
|
|
169
|
+
declare function getDeviceInfo(): string;
|
|
170
|
+
/**
|
|
117
171
|
* 获取自己的app信息
|
|
118
172
|
* @returns
|
|
119
173
|
*/
|
|
120
174
|
declare function getAppInfo(): any;
|
|
121
|
-
|
|
175
|
+
/**
|
|
122
176
|
* 页面加载成功后调用去除启动图
|
|
123
177
|
*
|
|
124
178
|
*/
|
|
125
179
|
declare function notifyPageLoadDone(): void;
|
|
126
180
|
declare function notifyPageLoaded(): void;
|
|
127
|
-
|
|
181
|
+
/**
|
|
128
182
|
* 是否支持收藏功能
|
|
129
183
|
* @returns {boolean} true支持,false不支持
|
|
130
184
|
*
|
|
131
185
|
*/
|
|
132
186
|
declare function hasFavouriteFunction(): boolean;
|
|
133
|
-
|
|
187
|
+
/**
|
|
134
188
|
* 添加收藏
|
|
135
189
|
* @param {string} url 收藏的url
|
|
136
190
|
* @param {function} callback 执行接口回调, 处理可能被用户否决
|
|
137
191
|
*
|
|
138
192
|
*/
|
|
139
|
-
declare function addFavourite(url:
|
|
140
|
-
|
|
193
|
+
declare function addFavourite(url: string, callback: Function): void;
|
|
194
|
+
/**
|
|
141
195
|
* 更新收藏
|
|
142
196
|
* @param {string} url 收藏的url
|
|
143
197
|
* @param {function} callback 执行接口回调, 处理可能被用户否决
|
|
144
198
|
*
|
|
145
199
|
*/
|
|
146
|
-
declare function updateFavourite(url:
|
|
147
|
-
|
|
200
|
+
declare function updateFavourite(url: string, callback: Function): void;
|
|
201
|
+
/**
|
|
148
202
|
* 删除指定收藏
|
|
149
203
|
* @param {string} app_name app name 唯一标识
|
|
150
204
|
* @param {function} callback 执行接口回调, 处理可能被用户否决
|
|
151
205
|
*
|
|
152
206
|
*/
|
|
153
|
-
declare function removeFavourite(app_name:
|
|
154
|
-
|
|
207
|
+
declare function removeFavourite(app_name: string, callback: Function): void;
|
|
208
|
+
/**
|
|
155
209
|
* 获取指定收藏
|
|
156
210
|
* @param {string} app_name app name 唯一标识
|
|
157
211
|
*/
|
|
158
|
-
declare function getFavourite(app_name:
|
|
159
|
-
|
|
212
|
+
declare function getFavourite(app_name: string): any;
|
|
213
|
+
/**
|
|
160
214
|
* 获取所有收藏
|
|
161
215
|
*
|
|
162
216
|
*/
|
|
163
217
|
declare function getFavouriteAll(): any;
|
|
164
|
-
|
|
218
|
+
/**
|
|
165
219
|
* 浮窗控制接口,设置从本浮窗界面进行预热的二级浮窗的启动默认尺寸(若不设置则为全屏)
|
|
166
220
|
* @param {string} mode 全屏模式还是需要Resize的模式。取值范围: "full" 或者 "mini"
|
|
167
221
|
* 设置成 "mini" 模式后,启动后的界面内需要调用popupResizePosition来调整尺寸才能可见
|
|
168
222
|
*/
|
|
169
|
-
declare function setPopupInitSize(mode:
|
|
170
|
-
|
|
223
|
+
declare function setPopupInitSize(mode: string): void;
|
|
224
|
+
/**
|
|
171
225
|
* 浮窗控制接口,设置浮窗显示区域,以相对定位的方式调整弹出框的位置(弹出框弹出后先以尺寸1x1的方式展现)
|
|
172
226
|
* @param {string} align 横纵对齐方式,有left, right, bottom, top, center可选择
|
|
173
227
|
* 例如: 右下角"right bottom", 居中"center center"
|
|
@@ -176,13 +230,13 @@ declare function setPopupInitSize(mode: any): void;
|
|
|
176
230
|
* @param {number} aspect 横纵比设定
|
|
177
231
|
* 显示区域根据 max_width, max_height, aspect 来计算出同时满足3个条件的最大区域
|
|
178
232
|
*/
|
|
179
|
-
declare function popupResizePosition(align:
|
|
180
|
-
|
|
233
|
+
declare function popupResizePosition(align: string, max_width: number, max_height: number, aspect: number): void;
|
|
234
|
+
/**
|
|
181
235
|
* 浮窗系统认为自己准备好后,调用此接口,获取设备的焦点。若不调用的话,默认浮窗系统捕获的焦点
|
|
182
236
|
*/
|
|
183
237
|
declare function popupGainFocus(): void;
|
|
184
238
|
declare function popupDiscardFocus(): void;
|
|
185
|
-
|
|
239
|
+
/**
|
|
186
240
|
* 页面预热接口,预热页面将会将以一个新的FrameLayout(内含JsView)的方式加载一个新的应用
|
|
187
241
|
* 但这个应用在warmLoadView之前,不会创建texture/surface的实际描画资源,也不会加载图片
|
|
188
242
|
* 仅加载所有JS代码,并正常走完所有启动逻辑(包括描画逻辑),但不会走setTimeout对应的延时逻辑,也不会显示
|
|
@@ -192,32 +246,34 @@ declare function popupDiscardFocus(): void;
|
|
|
192
246
|
* 【特别注意】warmUp起来的view,在warmLoadView调用之前,若启动者JsView关闭的话,此View应该在
|
|
193
247
|
* View管理模块被清理掉,以防泄露,但在warmLoadView完成后,就不需要进行关联清理,请管理模块务必保证此机制。
|
|
194
248
|
* [参数]
|
|
195
|
-
* int mode 预热模式,1
|
|
249
|
+
* int mode 预热模式,1:全预热,目前只支持1
|
|
196
250
|
* String app_url 要预热的app_url,当半预热时,可以为null
|
|
197
251
|
* [返回值]
|
|
198
252
|
* int: 为view_refer_id值,预热后的View的ID,用于后续的warmLoadView和closeWarmView使用
|
|
199
253
|
*/
|
|
200
254
|
declare function warmUpView(mode: any, app_url: any): any;
|
|
201
|
-
|
|
255
|
+
/**
|
|
202
256
|
* 将warmUpView后的View展示出来
|
|
203
|
-
* 若warmUpView中app_url不为null,进行了全预热,则本调用的app_url可以为null
|
|
204
257
|
* 当warmUpView中设置了app_url时,仍可以新的app_url调整history hash(#)部分进行子页面切换
|
|
205
258
|
*
|
|
206
259
|
* @param {number} view_refer_id warmUpView调用后返回来的View ID
|
|
207
|
-
* @param {string} app_url
|
|
260
|
+
* @param {string} app_url 无意义,请传固定值 null
|
|
208
261
|
* @param {boolean} add_history 启动的界面是否进访问历史列表
|
|
262
|
+
* @returns {Promise} 可用于监听新的小程序返回的结果
|
|
209
263
|
*/
|
|
210
|
-
declare function warmLoadView(view_refer_id:
|
|
211
|
-
|
|
264
|
+
declare function warmLoadView(view_refer_id: number, app_url: string, add_history: boolean): Promise<any>;
|
|
265
|
+
/**
|
|
212
266
|
* 关闭warmUp后未进行warmLoad的View,释放资源
|
|
213
267
|
* @param {number} view_refer_id warmUpView调用后返回来的View ID
|
|
214
268
|
*/
|
|
215
|
-
declare function closeWarmedView(view_refer_id:
|
|
216
|
-
|
|
269
|
+
declare function closeWarmedView(view_refer_id: number): void;
|
|
270
|
+
/**
|
|
217
271
|
* 触发预下载内核
|
|
218
272
|
* @param {string} core_version 带branch(主分支版本不带此信息)和版本信息的内核版本,
|
|
219
273
|
* 例如: 1021265_release_build_xxx
|
|
220
274
|
* @returns promise 对象,用于监听下载完成与下载失败
|
|
221
275
|
*/
|
|
222
|
-
declare function preDownloadSdk(core_version:
|
|
223
|
-
|
|
276
|
+
declare function preDownloadSdk(core_version: string): any;
|
|
277
|
+
declare function getNetworkTypeStatusImmediate(): any;
|
|
278
|
+
declare function registerNetStateListener(callback: any): any;
|
|
279
|
+
declare function unRegisterNetStateListener(callback: any): any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TextureBase } from "../Texture";
|
|
2
|
+
export type CapturedCallback = (textureAccessName: string, autoRecycleSet: boolean, width: number, height: number) => void;
|
|
3
|
+
export declare class CapturedTexture extends TextureBase {
|
|
4
|
+
private _AutoRecycle;
|
|
5
|
+
private _Callback;
|
|
6
|
+
private _CaptureDiv;
|
|
7
|
+
private _Canceled;
|
|
8
|
+
constructor(captureDiv: any, callback: CapturedCallback, autoRecycle: boolean);
|
|
9
|
+
cancel(): void;
|
|
10
|
+
commit(): String;
|
|
11
|
+
}
|
|
@@ -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, };
|
|
@@ -4,6 +4,7 @@ export declare class TextureBase {
|
|
|
4
4
|
storeName: String;
|
|
5
5
|
constructor(baseName: String | null);
|
|
6
6
|
protected addToStore(): void;
|
|
7
|
+
protected getStoreName(): string;
|
|
7
8
|
/**
|
|
8
9
|
* commit
|
|
9
10
|
* 完成绘制设置,出发制作目标texture
|
|
@@ -11,5 +12,12 @@ export declare class TextureBase {
|
|
|
11
12
|
* @return {String} BaseName-textureId 格式的名字,用于 jsvtexturestore:// 的访问链接
|
|
12
13
|
*/
|
|
13
14
|
commit(): String;
|
|
15
|
+
/**
|
|
16
|
+
* getTextureRef
|
|
17
|
+
* 内部接口,获取内联的Forge.ImageTexture的句柄
|
|
18
|
+
*
|
|
19
|
+
* @return {String} BaseName-textureId 格式的名字,用于 jsvtexturestore:// 的访问链接
|
|
20
|
+
*/
|
|
21
|
+
getTextureRef(): any;
|
|
14
22
|
recycle(): void;
|
|
15
23
|
}
|
|
@@ -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";
|
|
@@ -5,9 +5,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
readonly backgroundColor?: string | undefined;
|
|
6
6
|
readonly percent?: number | undefined;
|
|
7
7
|
readonly radius?: number | undefined;
|
|
8
|
+
readonly lineWidth?: number | undefined;
|
|
8
9
|
readonly startPos?: Record<string, any> | undefined;
|
|
9
10
|
readonly endPos?: Record<string, any> | undefined;
|
|
10
|
-
readonly lineWidth?: number | undefined;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
13
13
|
export default _default;
|