@origam/plugins
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -17,1 +17,2 @@ export { IPlugin } from './types/IPlugin'; | ||
export { AbstractScreenPlugin } from "./implementations/AbstractScreenPlugin"; | ||
export { AbstractSectionPlugin } from "./implementations/AbstractSectionPlugin"; |
@@ -74,2 +74,20 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/* | ||
Copyright 2005 - 2021 Advantage Solutions, s. r. o. | ||
This file is part of ORIGAM (http://www.origam.org). | ||
ORIGAM is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
ORIGAM is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with ORIGAM. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
var AbstractScreenPlugin = /** @class */ (function () { | ||
@@ -94,5 +112,43 @@ function AbstractScreenPlugin() { | ||
/* | ||
Copyright 2005 - 2021 Advantage Solutions, s. r. o. | ||
This file is part of ORIGAM (http://www.origam.org). | ||
ORIGAM is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
ORIGAM is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with ORIGAM. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
var AbstractSectionPlugin = /** @class */ (function () { | ||
function AbstractSectionPlugin() { | ||
this.$type_ISectionPlugin = 1; // required by the isISectionPlugin function | ||
this.id = ""; | ||
this.initialized = false; | ||
this.refreshHandler = new utils.EventHandler(); | ||
} | ||
AbstractSectionPlugin.prototype.onSessionRefreshed = function () { | ||
this.refreshHandler.call(); | ||
}; | ||
AbstractSectionPlugin.prototype.initialize = function (xmlAttributes) { | ||
this.initialized = true; | ||
}; | ||
__decorate([ | ||
mobx.observable | ||
], AbstractSectionPlugin.prototype, "initialized", void 0); | ||
return AbstractSectionPlugin; | ||
}()); | ||
exports.AbstractScreenPlugin = AbstractScreenPlugin; | ||
exports.AbstractSectionPlugin = AbstractSectionPlugin; | ||
exports.isIScreenPlugin = isIScreenPlugin; | ||
exports.isISectionPlugin = isISectionPlugin; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@origam/plugins", | ||
"main": "dist/index.js", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "GPL-3.0", | ||
@@ -6,0 +6,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
57646
22
300