index.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. var __create = Object.create;
  2. var __defProp = Object.defineProperty;
  3. var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
  4. var __getOwnPropNames = Object.getOwnPropertyNames;
  5. var __getProtoOf = Object.getPrototypeOf;
  6. var __hasOwnProp = Object.prototype.hasOwnProperty;
  7. var __export = (target, all) => {
  8. for (var name in all)
  9. __defProp(target, name, { get: all[name], enumerable: true });
  10. };
  11. var __copyProps = (to, from, except, desc) => {
  12. if (from && typeof from === "object" || typeof from === "function") {
  13. for (let key of __getOwnPropNames(from))
  14. if (!__hasOwnProp.call(to, key) && key !== except)
  15. __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  16. }
  17. return to;
  18. };
  19. var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  20. // If the importer is in node compatibility mode or this is not an ESM
  21. // file that has been converted to a CommonJS file using a Babel-
  22. // compatible transform (i.e. "__esModule" has not been set), then set
  23. // "default" to the CommonJS "module.exports" for node compatibility.
  24. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  25. mod
  26. ));
  27. var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
  28. var stdin_exports = {};
  29. __export(stdin_exports, {
  30. Dialog: () => Dialog,
  31. closeDialog: () => import_function_call.closeDialog,
  32. default: () => stdin_default,
  33. dialogProps: () => import_Dialog2.dialogProps,
  34. resetDialogDefaultOptions: () => import_function_call.resetDialogDefaultOptions,
  35. setDialogDefaultOptions: () => import_function_call.setDialogDefaultOptions,
  36. showConfirmDialog: () => import_function_call.showConfirmDialog,
  37. showDialog: () => import_function_call.showDialog
  38. });
  39. module.exports = __toCommonJS(stdin_exports);
  40. var import_utils = require("../utils");
  41. var import_Dialog = __toESM(require("./Dialog"));
  42. var import_Dialog2 = require("./Dialog");
  43. var import_function_call = require("./function-call");
  44. const Dialog = (0, import_utils.withInstall)(import_Dialog.default);
  45. var stdin_default = Dialog;