index.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  21. mod
  22. ));
  23. var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
  24. var stdin_exports = {};
  25. __export(stdin_exports, {
  26. Dialog: () => Dialog,
  27. closeDialog: () => import_function_call.closeDialog,
  28. default: () => stdin_default,
  29. dialogProps: () => import_Dialog2.dialogProps,
  30. resetDialogDefaultOptions: () => import_function_call.resetDialogDefaultOptions,
  31. setDialogDefaultOptions: () => import_function_call.setDialogDefaultOptions,
  32. showConfirmDialog: () => import_function_call.showConfirmDialog,
  33. showDialog: () => import_function_call.showDialog
  34. });
  35. module.exports = __toCommonJS(stdin_exports);
  36. var import_utils = require("../utils");
  37. var import_Dialog = __toESM(require("./Dialog"));
  38. var import_Dialog2 = require("./Dialog");
  39. var import_function_call = require("./function-call");
  40. const Dialog = (0, import_utils.withInstall)(import_Dialog.default);
  41. var stdin_default = Dialog;