UNPKG

@hamedf/svelte-persian-datepicker

Version:

A comprehensive Svelte 5 Persian/Jalali DateTime picker component with multi-calendar support (Jalali, Gregorian, Hijri), multiple selection modes (single, range, multiple), and extensive customization options

89 lines (88 loc) 2.28 kB
/** * AI/LLM Guide for Persian DatePicker Component * * This file provides structured information to help AI coding assistants * understand and work with the Persian DatePicker component effectively. * * @fileoverview AI-friendly component documentation and usage patterns * @version 1.0.3 * @author Hamed Fallah */ /** * AI Usage Patterns - Copy these for common scenarios */ export declare const AI_USAGE_PATTERNS: { SINGLE_DATE: string; PERSIAN_RANGE: string; MULTIPLE_DATES: string; TIME_ONLY: string; DATETIME_VALIDATED: string; MULTI_LANGUAGE: string; MODAL_STYLED: string; }; export declare const AI_TROUBLESHOOTING: { 'No date shows in input': string; 'Date format wrong': string; 'Calendar not showing': string; 'Range selection not working': string; 'Disabled dates not working': string; 'Styling issues': string; 'Modal not responsive': string; 'Time picker missing': string; 'Multiple selection issues': string; 'Validation not working': string; }; export declare const AI_CONFIGURATIONS: { STANDARD_PERSIAN: { locale: string; type: "date"; mode: "single"; clearable: boolean; auto_submit: boolean; }; BUSINESS_RANGE: { mode: "range"; dual_input: boolean; locale: string; color: "blue"; clearable: boolean; }; EVENT_SCHEDULER: { type: "datetime"; mode: "multiple"; auto_submit: boolean; modal: boolean; clearable: boolean; }; WORKING_HOURS: { type: "time"; from: string; to: string; mode: "range"; dual_input: boolean; }; INTERNATIONAL: { locale: string; input_calendar: "auto"; type: "date"; color: "green"; }; }; /** * AI Quick Reference for Props * Essential props that AI should know about */ export declare const AI_ESSENTIAL_PROPS: { BINDABLE_MODEL: string; SELECTION_MODE: string; PICKER_TYPE: string; LOCALE_SETTING: string; DATE_BOUNDARIES: string; DISABLE_DATES: string; DUAL_INPUTS: string; AUTO_SUBMIT: string; COLOR_THEME: string; MODAL_MODE: string; CLEARABLE: string; CLICK_BEHAVIOR: string; };