@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -136,3 +136,3 @@ import { LogLevels } from '@icreate/core'; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 16:52:17 | ||
* @LastEditTime: 2022-09-01 17:05:27 | ||
* @Descripttion: | ||
@@ -146,11 +146,12 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
var opts = { | ||
url: "window/".concat(url) | ||
url: "window/".concat(url), | ||
}; | ||
icsChromelyRequest.command(opts); | ||
}; | ||
Window.OperateEx = function (url) { | ||
Window.OperateEx = function (url, data) { | ||
// let opts = | ||
return icsChromelyRequest.function({ | ||
url: "window/".concat(url), | ||
method: 'GET' | ||
method: 'GET', | ||
data: data, | ||
}); | ||
@@ -203,4 +204,4 @@ }; | ||
*/ | ||
Window.RedrawSplash = function () { | ||
this.Operate('splash/redraw'); | ||
Window.RedrawSplash = function (message) { | ||
this.OperateEx('splash/redraw', { message: message }); | ||
}; | ||
@@ -207,0 +208,0 @@ return Window; |
@@ -143,3 +143,3 @@ (function (global, factory) { | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 16:52:17 | ||
* @LastEditTime: 2022-09-01 17:05:27 | ||
* @Descripttion: | ||
@@ -153,11 +153,12 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
var opts = { | ||
url: "window/".concat(url) | ||
url: "window/".concat(url), | ||
}; | ||
icsChromelyRequest__default["default"].command(opts); | ||
}; | ||
Window.OperateEx = function (url) { | ||
Window.OperateEx = function (url, data) { | ||
// let opts = | ||
return icsChromelyRequest__default["default"].function({ | ||
url: "window/".concat(url), | ||
method: 'GET' | ||
method: 'GET', | ||
data: data, | ||
}); | ||
@@ -210,4 +211,4 @@ }; | ||
*/ | ||
Window.RedrawSplash = function () { | ||
this.Operate('splash/redraw'); | ||
Window.RedrawSplash = function (message) { | ||
this.OperateEx('splash/redraw', { message: message }); | ||
}; | ||
@@ -214,0 +215,0 @@ return Window; |
@@ -6,3 +6,3 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 16:52:17 | ||
* @LastEditTime: 2022-09-01 17:05:27 | ||
* @Descripttion: | ||
@@ -18,11 +18,12 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
var opts = { | ||
url: "window/".concat(url) | ||
url: "window/".concat(url), | ||
}; | ||
ics_chromely_js_sdk_1.default.command(opts); | ||
}; | ||
Window.OperateEx = function (url) { | ||
Window.OperateEx = function (url, data) { | ||
// let opts = | ||
return ics_chromely_js_sdk_1.default.function({ | ||
url: "window/".concat(url), | ||
method: 'GET' | ||
method: 'GET', | ||
data: data, | ||
}); | ||
@@ -75,4 +76,4 @@ }; | ||
*/ | ||
Window.RedrawSplash = function () { | ||
this.Operate('splash/redraw'); | ||
Window.RedrawSplash = function (message) { | ||
this.OperateEx('splash/redraw', { message: message }); | ||
}; | ||
@@ -79,0 +80,0 @@ return Window; |
@@ -35,3 +35,3 @@ export default class Window { | ||
*/ | ||
static RedrawSplash(): void; | ||
static RedrawSplash(message: string): void; | ||
} |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -5,3 +5,3 @@ <!-- | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 16:56:02 | ||
* @LastEditTime: 2022-09-01 17:08:07 | ||
* @Descripttion: | ||
@@ -17,2 +17,3 @@ * @FilePath: \ics-chromely-plugin-core\README.md | ||
``` | ||
0.0.16 WindowHelper增加关闭和重绘闪屏README描述 | ||
0.0.15 WindowHelper增加关闭和重绘闪屏 | ||
@@ -89,2 +90,6 @@ 0.0.14 ConfigHelper增加获取调试信息 | ||
State(): Promise<String> | ||
// 关闭闪屏 | ||
CloseSplash(): void | ||
// 重绘闪屏 | ||
RedrawSplash(message: string): void | ||
``` | ||
@@ -91,0 +96,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118877
1713
164