asajs
Version:
Make your Minecraft JsonUI with ScriptingAPI
58 lines (57 loc) • 2.06 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);
var Types_exports = {};
__export(Types_exports, {
Types: () => Types
});
module.exports = __toCommonJS(Types_exports);
var Types = /* @__PURE__ */ ((Types2) => {
Types2["Panel"] = "panel";
Types2["StackPanel"] = "stack_panel";
Types2["CollectionPanel"] = "collection_panel";
Types2["InputPanel"] = "input_panel";
Types2["Grid"] = "grid";
Types2["Button"] = "button";
Types2["Toggle"] = "toggle";
Types2["Label"] = "label";
Types2["Image"] = "image";
Types2["Dropdown"] = "dropdown";
Types2["Slider"] = "slider";
Types2["SliderBox"] = "slider_box";
Types2["EditBox"] = "edit_box";
Types2["ScrollView"] = "scroll_view";
Types2["ScrollbarTrack"] = "scrollbar_track";
Types2["ScrollbarBox"] = "scrollbar_box";
Types2["Screen"] = "screen";
Types2["Custom"] = "custom";
Types2["SelectionWheel"] = "selection_wheel";
Types2["TooltipTrigger"] = "tooltip_trigger";
Types2["Any"] = "Any";
Types2["Factory"] = "Any";
Types2["LabelCycler"] = "Any";
Types2["ImageCycler"] = "Any";
Types2["GridPageIndicator"] = "Any";
Types2["CarouselLabel"] = "Any";
Types2["ScrollTrack"] = "Any";
return Types2;
})(Types || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Types
});