zugferd-code-lists
Version:
ZUGFeRD code lists, e.g. languages enum, currencies enum, countries enum, etc.
71 lines (69 loc) • 2.5 kB
JavaScript
;
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_3/transport.ts
var transport_exports = {};
__export(transport_exports, {
TRANSPORT: () => TRANSPORT,
description: () => description
});
module.exports = __toCommonJS(transport_exports);
// src/zugferd_2_3_2/transport.ts
var TRANSPORT = /* @__PURE__ */ ((TRANSPORT2) => {
TRANSPORT2["TransportModeNotSpecified"] = "0";
TRANSPORT2["MaritimeTransport"] = "1";
TRANSPORT2["RailTransport"] = "2";
TRANSPORT2["RoadTransport"] = "3";
TRANSPORT2["AirTransport"] = "4";
TRANSPORT2["Mail"] = "5";
TRANSPORT2["MultimodalTranspo"] = "6";
TRANSPORT2["FixedTransportInstallation"] = "7";
TRANSPORT2["InlandWaterTransport"] = "8";
TRANSPORT2["TransportModeNotApplicable"] = "9";
return TRANSPORT2;
})(TRANSPORT || {});
function description(value) {
switch (value) {
case "0" /* TransportModeNotSpecified */:
return "Transport mode not specified";
case "1" /* MaritimeTransport */:
return "Maritime transport";
case "2" /* RailTransport */:
return "Rail transport";
case "3" /* RoadTransport */:
return "Road transport";
case "4" /* AirTransport */:
return "Air transport";
case "5" /* Mail */:
return "Mail";
case "6" /* MultimodalTranspo */:
return "Multimodal transpo";
case "7" /* FixedTransportInstallation */:
return "Fixed transport installation";
case "8" /* InlandWaterTransport */:
return "Inland water transport";
case "9" /* TransportModeNotApplicable */:
return "Transport mode not applicable";
}
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
TRANSPORT,
description
});
//# sourceMappingURL=transport.js.map