@icreate/ics-chromely-plugin-core
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -201,2 +201,3 @@ import { LogLevels } from '@icreate/core'; | ||
this.cefSharp = isNode ? { PostMessage: function () { } } : window['CefSharp']; | ||
this.baseUrl = ''; | ||
} | ||
@@ -400,3 +401,3 @@ /** | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-31 15:41:01 | ||
* @LastEditTime: 2022-06-06 14:30:16 | ||
* @Descripttion: | ||
@@ -406,6 +407,11 @@ * @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
var chromely = new Chromely(); | ||
if (typeof window !== 'undefined') | ||
if (typeof window !== 'undefined') { | ||
// 设置baseUrl | ||
if (window['Chromely'] && window['Chromely']['BaseUrl']) { | ||
chromely.baseUrl = window['Chromely']['BaseUrl']; | ||
} | ||
window['Chromely'] = chromely; | ||
} | ||
export { Logger as LocalLogger, Browser as BrowserHelper, Window as WindowHelper, Printer as PrinterHelper, Hardware as HardwareHelper, Regedit as RegeditHelper, ConfigHelper, chromely as Chromely }; | ||
//# sourceMappingURL=ics-chromely-plugin-core.es5.js.map |
@@ -206,2 +206,3 @@ (function (global, factory) { | ||
this.cefSharp = isNode ? { PostMessage: function () { } } : window['CefSharp']; | ||
this.baseUrl = ''; | ||
} | ||
@@ -405,3 +406,3 @@ /** | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-31 15:41:01 | ||
* @LastEditTime: 2022-06-06 14:30:16 | ||
* @Descripttion: | ||
@@ -411,4 +412,9 @@ * @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
var chromely = new Chromely(); | ||
if (typeof window !== 'undefined') | ||
if (typeof window !== 'undefined') { | ||
// 设置baseUrl | ||
if (window['Chromely'] && window['Chromely']['BaseUrl']) { | ||
chromely.baseUrl = window['Chromely']['BaseUrl']; | ||
} | ||
window['Chromely'] = chromely; | ||
} | ||
@@ -415,0 +421,0 @@ exports.LocalLogger = Logger; |
@@ -9,2 +9,3 @@ "use strict"; | ||
this.cefSharp = isNode ? { PostMessage: function () { } } : window['CefSharp']; | ||
this.baseUrl = ''; | ||
} | ||
@@ -11,0 +12,0 @@ /** |
@@ -8,3 +8,3 @@ "use strict"; | ||
* @LastEditors: 文贝 | ||
* @LastEditTime: 2022-05-31 15:41:01 | ||
* @LastEditTime: 2022-06-06 14:30:16 | ||
* @Descripttion: | ||
@@ -30,4 +30,9 @@ * @FilePath: \ics-chromely-plugin-core\src\ics-chromely-plugin-core.ts | ||
exports.Chromely = chromely; | ||
if (typeof window !== 'undefined') | ||
if (typeof window !== 'undefined') { | ||
// 设置baseUrl | ||
if (window['Chromely'] && window['Chromely']['BaseUrl']) { | ||
chromely.baseUrl = window['Chromely']['BaseUrl']; | ||
} | ||
window['Chromely'] = chromely; | ||
} | ||
//# sourceMappingURL=ics-chromely-plugin-core.js.map |
@@ -6,2 +6,3 @@ import { IChromely } from '../interfaces/interfaces'; | ||
cefSharp: any; | ||
baseUrl: string; | ||
constructor(); | ||
@@ -8,0 +9,0 @@ /** |
{ | ||
"name": "@icreate/ics-chromely-plugin-core", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"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
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
97417
1464