hravemzdy.procezor
Version:
payroll-procezor Salary, Health, Social, Taxing Properties for years 2010-2022
56 lines • 2.74 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConceptSpecFactory = void 0;
var ConceptSpec_1 = require("../registry_providers/ConceptSpec");
var ConceptConst_1 = require("../registry_constants/ConceptConst");
var ConceptCode_1 = require("../service_types/ConceptCode");
var ConceptSpecProvider_1 = require("../registry_providers/ConceptSpecProvider");
var SpecFactory_1 = require("./SpecFactory");
var NotFoundConceptSpec = /** @class */ (function (_super) {
__extends(NotFoundConceptSpec, _super);
function NotFoundConceptSpec(_code) {
return _super.call(this, _code, Array(), null) || this;
}
NotFoundConceptSpec.new = function () {
return new NotFoundConceptSpec(ConceptCode_1.ConceptCode.get(NotFoundConceptProvider.CONCEPT_CODE));
};
return NotFoundConceptSpec;
}(ConceptSpec_1.ConceptSpec));
var NotFoundConceptProvider = /** @class */ (function (_super) {
__extends(NotFoundConceptProvider, _super);
function NotFoundConceptProvider() {
return _super.call(this, ConceptCode_1.ConceptCode.get(NotFoundConceptProvider.CONCEPT_CODE)) || this;
}
NotFoundConceptProvider.prototype.GetSpec = function (period, version) {
return new NotFoundConceptSpec(this.code);
};
NotFoundConceptProvider.CONCEPT_CODE = ConceptConst_1.ConceptConst.CONCEPT_NOTFOUND;
return NotFoundConceptProvider;
}(ConceptSpecProvider_1.ConceptSpecProvider));
var ConceptSpecFactory = /** @class */ (function (_super) {
__extends(ConceptSpecFactory, _super);
function ConceptSpecFactory() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.notFoundProvider = new NotFoundConceptProvider();
_this.notFoundSpec = NotFoundConceptSpec.new();
return _this;
}
return ConceptSpecFactory;
}(SpecFactory_1.SpecFactory));
exports.ConceptSpecFactory = ConceptSpecFactory;
//# sourceMappingURL=ConceptSpecFactory.js.map