UNPKG

zugferd-code-lists

Version:

ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.

60 lines (59 loc) 2.87 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/zugferd_2_3_2/hybridconformance.ts var hybridconformance_exports = {}; __export(hybridconformance_exports, { HybridConformance: () => HybridConformance, description: () => description }); module.exports = __toCommonJS(hybridconformance_exports); var HybridConformance = /* @__PURE__ */ ((HybridConformance2) => { HybridConformance2["TheIncludedDocumentUsesAMinimumProfile"] = "MINIMUM"; HybridConformance2["TheIncludedDocumentUsesABasicWithoutLinesProfile"] = "BASIC WL"; HybridConformance2["TheIncludedDocumentUsesABasicProfile"] = "BASIC"; HybridConformance2["TheIncludedDocumentUsesAComfortProfile"] = "COMFORT"; HybridConformance2["TheIncludedDocumentUsesAEn16931Profile"] = "EN 16931"; HybridConformance2["TheIncludedDocumentUsesAComfortProfile_Dup"] = "EXTENDED"; HybridConformance2["TheIncludedDocumentUsesAnXrechnungProfile"] = "XRECHNUNG"; return HybridConformance2; })(HybridConformance || {}); function description(value) { switch (value) { case "MINIMUM" /* TheIncludedDocumentUsesAMinimumProfile */: return "The included document uses a MINIMUM profile"; case "BASIC WL" /* TheIncludedDocumentUsesABasicWithoutLinesProfile */: return "The included document uses a Basic Without Lines profile"; case "BASIC" /* TheIncludedDocumentUsesABasicProfile */: return "The included document uses a Basic profile"; case "COMFORT" /* TheIncludedDocumentUsesAComfortProfile */: return "The included document uses a Comfort profile"; case "EN 16931" /* TheIncludedDocumentUsesAEn16931Profile */: return "The included document uses a EN 16931 profile"; case "EXTENDED" /* TheIncludedDocumentUsesAComfortProfile_Dup */: return "The included document uses a Comfort profile"; case "XRECHNUNG" /* TheIncludedDocumentUsesAnXrechnungProfile */: return "The included document uses an XRECHNUNG profile"; } } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { HybridConformance, description }); //# sourceMappingURL=hybridconformance.js.map