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

8
node_modules/antd/es/cascader/hooks/useBase.d.ts generated vendored Normal file
View File

@@ -0,0 +1,8 @@
import type { DirectionType, RenderEmptyHandler } from '../../config-provider';
declare function useBase(customizePrefixCls?: string, direction?: DirectionType): [
prefixCls: string,
cascaderPrefixCls: string,
direction?: DirectionType,
renderEmpty?: RenderEmptyHandler
];
export default useBase;

14
node_modules/antd/es/cascader/hooks/useBase.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
import * as React from 'react';
import { ConfigContext } from '../../config-provider';
function useBase(customizePrefixCls, direction) {
const {
getPrefixCls,
direction: rootDirection,
renderEmpty
} = React.useContext(ConfigContext);
const mergedDirection = direction || rootDirection;
const prefixCls = getPrefixCls('select', customizePrefixCls);
const cascaderPrefixCls = getPrefixCls('cascader', customizePrefixCls);
return [prefixCls, cascaderPrefixCls, mergedDirection, renderEmpty];
}
export default useBase;

View File

@@ -0,0 +1,2 @@
import * as React from 'react';
export default function useCheckable(cascaderPrefixCls: string, multiple?: boolean): false | React.JSX.Element;

8
node_modules/antd/es/cascader/hooks/useCheckable.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
"use client";
import * as React from 'react';
export default function useCheckable(cascaderPrefixCls, multiple) {
return React.useMemo(() => multiple ? /*#__PURE__*/React.createElement("span", {
className: `${cascaderPrefixCls}-checkbox-inner`
}) : false, [cascaderPrefixCls, multiple]);
}

View File

@@ -0,0 +1,3 @@
import * as React from 'react';
declare const useColumnIcons: (prefixCls: string, rtl: boolean, expandIcon?: React.ReactNode) => readonly [React.ReactNode, React.ReactNode];
export default useColumnIcons;

19
node_modules/antd/es/cascader/hooks/useColumnIcons.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
"use client";
import * as React from 'react';
import LeftOutlined from "@ant-design/icons/es/icons/LeftOutlined";
import LoadingOutlined from "@ant-design/icons/es/icons/LoadingOutlined";
import RightOutlined from "@ant-design/icons/es/icons/RightOutlined";
const useColumnIcons = (prefixCls, rtl, expandIcon) => {
let mergedExpandIcon = expandIcon;
if (!expandIcon) {
mergedExpandIcon = rtl ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null);
}
const loadingIcon = React.useMemo(() => (/*#__PURE__*/React.createElement("span", {
className: `${prefixCls}-menu-item-loading-icon`
}, /*#__PURE__*/React.createElement(LoadingOutlined, {
spin: true
}))), [prefixCls]);
return React.useMemo(() => [mergedExpandIcon, loadingIcon], [mergedExpandIcon, loadingIcon]);
};
export default useColumnIcons;