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

19
node_modules/rc-picker/es/PickerTrigger/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import type { AlignType, BuildInPlacements } from '@rc-component/trigger/lib/interface';
import * as React from 'react';
export type PickerTriggerProps = {
popupElement: React.ReactElement;
popupStyle?: React.CSSProperties;
children: React.ReactElement;
transitionName?: string;
getPopupContainer?: (node: HTMLElement) => HTMLElement;
popupAlign?: AlignType;
range?: boolean;
popupClassName?: string;
placement?: string;
builtinPlacements?: BuildInPlacements;
direction?: 'ltr' | 'rtl';
visible: boolean;
onClose: () => void;
};
declare function PickerTrigger({ popupElement, popupStyle, popupClassName, popupAlign, transitionName, getPopupContainer, children, range, placement, builtinPlacements, direction, visible, onClose, }: PickerTriggerProps): React.JSX.Element;
export default PickerTrigger;

81
node_modules/rc-picker/es/PickerTrigger/index.js generated vendored Normal file
View File

@@ -0,0 +1,81 @@
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import Trigger from '@rc-component/trigger';
import classNames from 'classnames';
import * as React from 'react';
import { getRealPlacement } from "../utils/uiUtil";
import PickerContext from "../PickerInput/context";
var BUILT_IN_PLACEMENTS = {
bottomLeft: {
points: ['tl', 'bl'],
offset: [0, 4],
overflow: {
adjustX: 1,
adjustY: 1
}
},
bottomRight: {
points: ['tr', 'br'],
offset: [0, 4],
overflow: {
adjustX: 1,
adjustY: 1
}
},
topLeft: {
points: ['bl', 'tl'],
offset: [0, -4],
overflow: {
adjustX: 0,
adjustY: 1
}
},
topRight: {
points: ['br', 'tr'],
offset: [0, -4],
overflow: {
adjustX: 0,
adjustY: 1
}
}
};
function PickerTrigger(_ref) {
var popupElement = _ref.popupElement,
popupStyle = _ref.popupStyle,
popupClassName = _ref.popupClassName,
popupAlign = _ref.popupAlign,
transitionName = _ref.transitionName,
getPopupContainer = _ref.getPopupContainer,
children = _ref.children,
range = _ref.range,
placement = _ref.placement,
_ref$builtinPlacement = _ref.builtinPlacements,
builtinPlacements = _ref$builtinPlacement === void 0 ? BUILT_IN_PLACEMENTS : _ref$builtinPlacement,
direction = _ref.direction,
visible = _ref.visible,
onClose = _ref.onClose;
var _React$useContext = React.useContext(PickerContext),
prefixCls = _React$useContext.prefixCls;
var dropdownPrefixCls = "".concat(prefixCls, "-dropdown");
var realPlacement = getRealPlacement(placement, direction === 'rtl');
return /*#__PURE__*/React.createElement(Trigger, {
showAction: [],
hideAction: ['click'],
popupPlacement: realPlacement,
builtinPlacements: builtinPlacements,
prefixCls: dropdownPrefixCls,
popupTransitionName: transitionName,
popup: popupElement,
popupAlign: popupAlign,
popupVisible: visible,
popupClassName: classNames(popupClassName, _defineProperty(_defineProperty({}, "".concat(dropdownPrefixCls, "-range"), range), "".concat(dropdownPrefixCls, "-rtl"), direction === 'rtl')),
popupStyle: popupStyle,
stretch: "minWidth",
getPopupContainer: getPopupContainer,
onPopupVisibleChange: function onPopupVisibleChange(nextVisible) {
if (!nextVisible) {
onClose();
}
}
}, children);
}
export default PickerTrigger;

2
node_modules/rc-picker/es/PickerTrigger/util.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
import type { SharedPickerProps } from '../interface';
export declare function pickTriggerProps(props: Omit<SharedPickerProps, 'showTime'>): Omit<SharedPickerProps<any>, "showTime">;

4
node_modules/rc-picker/es/PickerTrigger/util.js generated vendored Normal file
View File

@@ -0,0 +1,4 @@
import { pickProps } from "../utils/miscUtil";
export function pickTriggerProps(props) {
return pickProps(props, ['placement', 'builtinPlacements', 'popupAlign', 'getPopupContainer', 'transitionName', 'direction']);
}