Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@imedx/ics-chromely-plugin-imedx

Package Overview
Dependencies
Maintainers
19
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imedx/ics-chromely-plugin-imedx - npm Package Compare versions

Comparing version 0.0.0-beta.12 to 0.0.1

26

dist/ics-chromely-plugin-imedx.es5.js

@@ -9,10 +9,2 @@ import icsChromelyRequest from '@icreate/ics-chromely-js-sdk';

/*
* @Author: 文贝
* @Date: 2022-02-11 23:25:34
* @LastEditors: 文贝
* @LastEditTime: 2022-10-14 12:50:03
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\core\imedx.ts
*/
var IMedxHelper = /** @class */ (function () {

@@ -23,3 +15,3 @@ function IMedxHelper() {

return icsChromelyRequest.function({
url: "IMedx/".concat(type),
url: "IMedx/" + type,
method: 'GET',

@@ -48,3 +40,3 @@ data: data,

var seconds = String(currentDate.getSeconds()).padStart(2, '0');
var customFormat = "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hours, ":").concat(minutes, ":").concat(seconds);
var customFormat = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
return Promise.resolve(customFormat);

@@ -78,3 +70,3 @@ }

return this.HBRequest.api.getUserSign({ id: staffId }).then(function (data) {
return data === null || data === void 0 ? void 0 : data.signPicture;
return data === null || data === void 0 ? void 0 : data.SignPicture;
});

@@ -110,12 +102,4 @@ }

/*
* @Author: 文贝
* @Date: 2022-02-11 23:21:34
* @LastEditors: wenbei421 346972930@qq.com
* @LastEditTime: 2022-09-28 11:23:05
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\ics-chromely-plugin-imedx.ts
*/
export { IMedxHelper, LogoType, IMedxHelper as default };
export default IMedxHelper;
export { IMedxHelper, LogoType };
//# sourceMappingURL=ics-chromely-plugin-imedx.es5.js.map

38

dist/ics-chromely-plugin-imedx.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@icreate/ics-chromely-js-sdk')) :
typeof define === 'function' && define.amd ? define(['exports', '@icreate/ics-chromely-js-sdk'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.icsChromelyPluginImedx = {}, global.icsChromelyRequest));
})(this, (function (exports, icsChromelyRequest) { 'use strict';
(factory((global.icsChromelyPluginImedx = {}),global.icsChromelyRequest));
}(this, (function (exports,icsChromelyRequest) { 'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
icsChromelyRequest = icsChromelyRequest && icsChromelyRequest.hasOwnProperty('default') ? icsChromelyRequest['default'] : icsChromelyRequest;
var icsChromelyRequest__default = /*#__PURE__*/_interopDefaultLegacy(icsChromelyRequest);
exports.LogoType = void 0;
(function (LogoType) {

@@ -17,10 +14,2 @@ LogoType[LogoType["square"] = 1] = "square";

/*
* @Author: 文贝
* @Date: 2022-02-11 23:25:34
* @LastEditors: 文贝
* @LastEditTime: 2022-10-14 12:50:03
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\core\imedx.ts
*/
var IMedxHelper = /** @class */ (function () {

@@ -30,4 +19,4 @@ function IMedxHelper() {

IMedxHelper.OperateEx = function (type, data) {
return icsChromelyRequest__default["default"].function({
url: "IMedx/".concat(type),
return icsChromelyRequest.function({
url: "IMedx/" + type,
method: 'GET',

@@ -56,3 +45,3 @@ data: data,

var seconds = String(currentDate.getSeconds()).padStart(2, '0');
var customFormat = "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hours, ":").concat(minutes, ":").concat(seconds);
var customFormat = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
return Promise.resolve(customFormat);

@@ -86,3 +75,3 @@ }

return this.HBRequest.api.getUserSign({ id: staffId }).then(function (data) {
return data === null || data === void 0 ? void 0 : data.signPicture;
return data === null || data === void 0 ? void 0 : data.SignPicture;
});

@@ -118,17 +107,8 @@ }

/*
* @Author: 文贝
* @Date: 2022-02-11 23:21:34
* @LastEditors: wenbei421 346972930@qq.com
* @LastEditTime: 2022-09-28 11:23:05
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\ics-chromely-plugin-imedx.ts
*/
exports.IMedxHelper = IMedxHelper;
exports["default"] = IMedxHelper;
exports.default = IMedxHelper;
Object.defineProperty(exports, '__esModule', { value: true });
}));
})));
//# sourceMappingURL=ics-chromely-plugin-imedx.umd.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/*
* @Author: 文贝
* @Date: 2022-02-11 23:25:34
* @LastEditors: 文贝
* @LastEditTime: 2022-10-14 12:50:03
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\core\imedx.ts
*/
var ics_chromely_js_sdk_1 = require("@icreate/ics-chromely-js-sdk");

@@ -18,3 +10,3 @@ var interfaces_1 = require("../interfaces/interfaces");

return ics_chromely_js_sdk_1.default.function({
url: "IMedx/".concat(type),
url: "IMedx/" + type,
method: 'GET',

@@ -43,3 +35,3 @@ data: data,

var seconds = String(currentDate.getSeconds()).padStart(2, '0');
var customFormat = "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hours, ":").concat(minutes, ":").concat(seconds);
var customFormat = year + "-" + month + "-" + day + " " + hours + ":" + minutes + ":" + seconds;
return Promise.resolve(customFormat);

@@ -73,3 +65,3 @@ }

return this.HBRequest.api.getUserSign({ id: staffId }).then(function (data) {
return data === null || data === void 0 ? void 0 : data.signPicture;
return data === null || data === void 0 ? void 0 : data.SignPicture;
});

@@ -76,0 +68,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LogoType = exports.IMedxHelper = void 0;
/*
* @Author: 文贝
* @Date: 2022-02-11 23:21:34
* @LastEditors: wenbei421 346972930@qq.com
* @LastEditTime: 2022-09-28 11:23:05
* @Descripttion:
* @FilePath: \ics-chromely-plugin-imedx\src\ics-chromely-plugin-imedx.ts
*/
var imedx_1 = require("./core/imedx");

@@ -13,0 +5,0 @@ exports.IMedxHelper = imedx_1.default;

{
"name": "@imedx/ics-chromely-plugin-imedx",
"version": "0.0.0-beta.12",
"version": "0.0.1",
"description": "提供获取IMedx客户端本地信息,例如当前日期时间等",

@@ -120,6 +120,3 @@ "keywords": [],

"typescript": "^3.0.3"
},
"dependencies": {
"@icreate/core": "^0.0.15"
}
}

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc