@origam/plugins
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -16,1 +16,2 @@ export { IPlugin } from './types/IPlugin'; | ||
export { IOption } from "./types/IOption"; | ||
export { AbstractScreenPlugin } from "./implementations/AbstractScreenPlugin"; |
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var mobx = require('mobx'); | ||
var utils = require('@origam/utils'); | ||
/* | ||
@@ -49,4 +52,46 @@ Copyright 2005 - 2021 Advantage Solutions, s. r. o. | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
function __decorate(decorators, target, key, desc) { | ||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; | ||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); | ||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; | ||
return c > 3 && r && Object.defineProperty(target, key, r), r; | ||
} | ||
var AbstractScreenPlugin = /** @class */ (function () { | ||
function AbstractScreenPlugin() { | ||
this.$type_IScreenPlugin = 1; // required by the isIScreenPlugin function | ||
this.id = ""; | ||
this.initialized = false; | ||
this.refreshHandler = new utils.EventHandler(); | ||
} | ||
AbstractScreenPlugin.prototype.onSessionRefreshed = function () { | ||
this.refreshHandler.call(); | ||
}; | ||
AbstractScreenPlugin.prototype.initialize = function (xmlAttributes) { | ||
this.initialized = true; | ||
}; | ||
__decorate([ | ||
mobx.observable | ||
], AbstractScreenPlugin.prototype, "initialized", void 0); | ||
return AbstractScreenPlugin; | ||
}()); | ||
exports.AbstractScreenPlugin = AbstractScreenPlugin; | ||
exports.isIScreenPlugin = isIScreenPlugin; | ||
exports.isISectionPlugin = isISectionPlugin; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@origam/plugins", | ||
"main": "dist/index.js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
51585
232