index.js 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. Toast: () => Toast,
  31. allowMultipleToast: () => import_function_call.allowMultipleToast,
  32. closeToast: () => import_function_call.closeToast,
  33. default: () => stdin_default,
  34. resetToastDefaultOptions: () => import_function_call.resetToastDefaultOptions,
  35. setToastDefaultOptions: () => import_function_call.setToastDefaultOptions,
  36. showFailToast: () => import_function_call.showFailToast,
  37. showLoadingToast: () => import_function_call.showLoadingToast,
  38. showSuccessToast: () => import_function_call.showSuccessToast,
  39. showToast: () => import_function_call.showToast,
  40. toastProps: () => import_Toast2.toastProps
  41. });
  42. module.exports = __toCommonJS(stdin_exports);
  43. var import_utils = require("../utils");
  44. var import_Toast = __toESM(require("./Toast"));
  45. var import_Toast2 = require("./Toast");
  46. var import_function_call = require("./function-call");
  47. const Toast = (0, import_utils.withInstall)(import_Toast.default);
  48. var stdin_default = Toast;