@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.16-beta to 0.0.16-beta1
@@ -136,3 +136,3 @@ import { LogLevels } from '@icreate/core'; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 17:21:26 | ||
* @LastEditTime: 2022-09-01 17:52:39 | ||
* @Descripttion: | ||
@@ -161,2 +161,10 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
}; | ||
Window.Splash = function (url, data) { | ||
if (data === void 0) { data = null; } | ||
var opts = { | ||
url: "splash/".concat(url), | ||
data: data | ||
}; | ||
icsChromelyRequest.command(opts); | ||
}; | ||
/** | ||
@@ -202,3 +210,3 @@ * @description: 最小化窗口 | ||
Window.CloseSplash = function () { | ||
this.Operate('splash/close'); | ||
this.Splash('close'); | ||
}; | ||
@@ -209,3 +217,3 @@ /** | ||
Window.RedrawSplash = function (message) { | ||
this.Operate('splash/redraw', { message: message }); | ||
this.Splash('redraw', { message: message }); | ||
}; | ||
@@ -212,0 +220,0 @@ return Window; |
@@ -143,3 +143,3 @@ (function (global, factory) { | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 17:21:26 | ||
* @LastEditTime: 2022-09-01 17:52:39 | ||
* @Descripttion: | ||
@@ -168,2 +168,10 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
}; | ||
Window.Splash = function (url, data) { | ||
if (data === void 0) { data = null; } | ||
var opts = { | ||
url: "splash/".concat(url), | ||
data: data | ||
}; | ||
icsChromelyRequest__default["default"].command(opts); | ||
}; | ||
/** | ||
@@ -209,3 +217,3 @@ * @description: 最小化窗口 | ||
Window.CloseSplash = function () { | ||
this.Operate('splash/close'); | ||
this.Splash('close'); | ||
}; | ||
@@ -216,3 +224,3 @@ /** | ||
Window.RedrawSplash = function (message) { | ||
this.Operate('splash/redraw', { message: message }); | ||
this.Splash('redraw', { message: message }); | ||
}; | ||
@@ -219,0 +227,0 @@ return Window; |
@@ -6,3 +6,3 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-09-01 17:21:26 | ||
* @LastEditTime: 2022-09-01 17:52:39 | ||
* @Descripttion: | ||
@@ -33,2 +33,10 @@ * @FilePath: \ics-chromely-plugin-core\src\core\window.ts | ||
}; | ||
Window.Splash = function (url, data) { | ||
if (data === void 0) { data = null; } | ||
var opts = { | ||
url: "splash/".concat(url), | ||
data: data | ||
}; | ||
ics_chromely_js_sdk_1.default.command(opts); | ||
}; | ||
/** | ||
@@ -74,3 +82,3 @@ * @description: 最小化窗口 | ||
Window.CloseSplash = function () { | ||
this.Operate('splash/close'); | ||
this.Splash('close'); | ||
}; | ||
@@ -81,3 +89,3 @@ /** | ||
Window.RedrawSplash = function (message) { | ||
this.Operate('splash/redraw', { message: message }); | ||
this.Splash('redraw', { message: message }); | ||
}; | ||
@@ -84,0 +92,0 @@ return Window; |
export default class Window { | ||
private static Operate; | ||
private static OperateEx; | ||
private static Splash; | ||
/** | ||
@@ -5,0 +6,0 @@ * @description: 最小化窗口 |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.16-beta", | ||
"version": "0.0.16-beta1", | ||
"description": "提供Ics Chromely Client核心本地操作插件js sdk,包含本地日志、主窗体控制、打开三方浏览器、打印机列表、硬件IP和Mac地址、本地配置获取和注册表读写等", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
121618
1747