add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

37
node_modules/antd/es/qr-code/QrcodeStatus.js generated vendored Normal file
View File

@@ -0,0 +1,37 @@
"use client";
import React from 'react';
import ReloadOutlined from "@ant-design/icons/es/icons/ReloadOutlined";
import Button from '../button';
import Spin from '../spin';
const defaultSpin = /*#__PURE__*/React.createElement(Spin, null);
export default function QRcodeStatus({
prefixCls,
locale,
onRefresh,
statusRender,
status
}) {
const defaultExpiredNode = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", {
className: `${prefixCls}-expired`
}, locale === null || locale === void 0 ? void 0 : locale.expired), onRefresh && (/*#__PURE__*/React.createElement(Button, {
type: "link",
icon: /*#__PURE__*/React.createElement(ReloadOutlined, null),
onClick: onRefresh
}, locale === null || locale === void 0 ? void 0 : locale.refresh)));
const defaultScannedNode = /*#__PURE__*/React.createElement("p", {
className: `${prefixCls}-scanned`
}, locale === null || locale === void 0 ? void 0 : locale.scanned);
const defaultNodes = {
expired: defaultExpiredNode,
loading: defaultSpin,
scanned: defaultScannedNode
};
const defaultStatusRender = info => defaultNodes[info.status];
const mergedStatusRender = statusRender !== null && statusRender !== void 0 ? statusRender : defaultStatusRender;
return mergedStatusRender({
status,
locale,
onRefresh
});
}