@ryo-98/react-api-bridge
Version:
A registry for component imperative api
55 lines (54 loc) • 2.89 kB
JavaScript
;
var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
// If the importer is in node compatibility mode or this is not an ESM
// file that has been converted to a CommonJS file using a Babel-
// compatible transform (i.e. "__esModule" has not been set), then set
// "default" to the CommonJS "module.exports" for node compatibility.
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var features_exports = {};
__export(features_exports, {
createBoundary: () => import_Boundary.default,
getBridgeAPI: () => import_getBridgeAPI.getBridgeAPI,
getBridgeAPIAsync: () => import_getBridgeAPIAsync.getBridgeAPIAsync,
useAPI: () => import_useAPI.useAPI,
useBoundaryContext: () => import_useBoundaryContext.useBoundaryContext,
useBoundaryPayload: () => import_useBoundaryPayload.useBoundaryPayload,
useBoundaryRef: () => import_useBridgeRef.useBoundaryRef,
useRegister: () => import_useRegister.useRegister,
useTools: () => import_useTools.useTools,
useUpperAPI: () => import_useUpperAPI.useUpperAPI,
useUpperBoundaryPayload: () => import_useUpperBoundaryPayload.useUpperBoundaryPayload
});
module.exports = __toCommonJS(features_exports);
var import_Boundary = __toESM(require("./components/Boundary.js"), 1);
var import_useAPI = require("./hooks/useAPI.js");
var import_useTools = require("./hooks/useTools.js");
var import_useRegister = require("./hooks/useRegister.js");
var import_useBoundaryContext = require("./hooks/useBoundaryContext.js");
var import_useBoundaryPayload = require("./hooks/useBoundaryPayload.js");
var import_useBridgeRef = require("./hooks/useBridgeRef.js");
var import_useUpperAPI = require("./hooks/useUpperAPI.js");
var import_useUpperBoundaryPayload = require("./hooks/useUpperBoundaryPayload.js");
var import_getBridgeAPI = require("./methods/getBridgeAPI.js");
var import_getBridgeAPIAsync = require("./methods/getBridgeAPIAsync.js");