Rocky_Mountain_Vending/.pnpm-store/v10/files/01/eba1c4f2a41ad402a6faef14948dd62c18467f3c6da0c2561ad9ea1a01f6896838734602bf0eb386f05fe9a497d8602ef98a569c4df1a438aa6de1451f590f
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

56 lines
1.8 KiB
Text

/**
* @fileOverview Axis of radial direction
*/
import React, { PureComponent } from 'react';
import { BaseAxisProps, TickItem, PresentationAttributesAdaptChildEvent } from '../util/types';
export interface PolarAngleAxisProps extends BaseAxisProps {
angleAxisId?: string | number;
cx?: number;
cy?: number;
radius?: number;
axisLineType?: 'polygon' | 'circle';
ticks?: TickItem[];
orientation?: 'inner' | 'outer';
}
export type Props = PresentationAttributesAdaptChildEvent<any, SVGTextElement> & PolarAngleAxisProps;
export declare class PolarAngleAxis extends PureComponent<Props> {
static displayName: string;
static axisType: string;
static defaultProps: {
type: string;
angleAxisId: number;
scale: string;
cx: number;
cy: number;
orientation: string;
axisLine: boolean;
tickLine: boolean;
tickSize: number;
tick: boolean;
hide: boolean;
allowDuplicatedCategory: boolean;
};
/**
* Calculate the coordinate of line endpoint
* @param {Object} data The Data if ticks
* @return {Object} (x0, y0): The start point of text,
* (x1, y1): The end point close to text,
* (x2, y2): The end point close to axis
*/
getTickLineCoord(data: TickItem): {
x1: number;
y1: number;
x2: number;
y2: number;
};
/**
* Get the text-anchor of each tick
* @param {Object} data Data of ticks
* @return {String} text-anchor
*/
getTickTextAnchor(data: TickItem): string;
renderAxisLine(): React.JSX.Element;
static renderTickItem(option: PolarAngleAxisProps['tick'], props: any, value: string | number): React.JSX.Element;
renderTicks(): React.JSX.Element;
render(): React.JSX.Element;
}