Files
NapCatQQ/.pnpm-store/v3/files/a9/aa3de18de00299d5da15388bc0dc1c904355d1d9d5ab9088c20c4c198ae5c229067daaff1ed95b1bb3dbdb4047750fe676d57e155b993a3bd30d59e0f5b292
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

59 lines
2.2 KiB
Plaintext

"use client";
"use strict";
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);
// src/modal-footer.tsx
var modal_footer_exports = {};
__export(modal_footer_exports, {
default: () => modal_footer_default
});
module.exports = __toCommonJS(modal_footer_exports);
var import_system = require("@heroui/system");
var import_react_utils2 = require("@heroui/react-utils");
var import_shared_utils = require("@heroui/shared-utils");
// src/modal-context.ts
var import_react_utils = require("@heroui/react-utils");
var [ModalProvider, useModalContext] = (0, import_react_utils.createContext)({
name: "ModalContext",
errorMessage: "useModalContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Modal />`"
});
// src/modal-footer.tsx
var import_jsx_runtime = require("react/jsx-runtime");
var ModalFooter = (0, import_system.forwardRef)((props, ref) => {
const { as, children, className, ...otherProps } = props;
const { slots, classNames } = useModalContext();
const domRef = (0, import_react_utils2.useDOMRef)(ref);
const Component = as || "footer";
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
Component,
{
ref: domRef,
className: slots.footer({ class: (0, import_shared_utils.clsx)(classNames == null ? void 0 : classNames.footer, className) }),
...otherProps,
children
}
);
});
ModalFooter.displayName = "HeroUI.ModalFooter";
var modal_footer_default = ModalFooter;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {});