index.d.mts 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099
  1. import * as vue from 'vue';
  2. import { ComponentPropsOptions, ExtractPropTypes, PropType, ComponentPublicInstance, FunctionalComponent } from 'vue';
  3. type ClassValue = any;
  4. type Density = null | 'default' | 'comfortable' | 'compact';
  5. declare const block: readonly ["top", "bottom"];
  6. declare const inline: readonly ["start", "end", "left", "right"];
  7. type Tblock = typeof block[number];
  8. type Tinline = typeof inline[number];
  9. type Anchor = Tblock | Tinline | 'center' | 'center center' | `${Tblock} ${Tinline | 'center'}` | `${Tinline} ${Tblock | 'center'}`;
  10. interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
  11. filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): Partial<Pick<T, U>>;
  12. }
  13. type EventProp<T extends any[] = any[], F = (...args: T) => void> = F;
  14. declare const EventProp: <T extends any[] = any[]>() => PropType<EventProp<T>>;
  15. type ValidationResult = string | boolean;
  16. type ValidationRule = ValidationResult | PromiseLike<ValidationResult> | ((value: any) => ValidationResult) | ((value: any) => PromiseLike<ValidationResult>);
  17. type ValidateOnValue = 'blur' | 'input' | 'submit' | 'invalid-input';
  18. type ValidateOn = ValidateOnValue | `${ValidateOnValue} lazy` | `${ValidateOnValue} eager` | `lazy ${ValidateOnValue}` | `eager ${ValidateOnValue}` | 'lazy' | 'eager';
  19. interface ValidationProps {
  20. disabled: boolean | null;
  21. error: boolean;
  22. errorMessages: string | readonly string[] | null;
  23. focused: boolean;
  24. maxErrors: string | number;
  25. name: string | undefined;
  26. label: string | undefined;
  27. readonly: boolean | null;
  28. rules: readonly ValidationRule[];
  29. modelValue: any;
  30. 'onUpdate:modelValue': EventProp | undefined;
  31. validateOn?: ValidateOn;
  32. validationValue: any;
  33. }
  34. type JSXComponent<Props = any> = {
  35. new (): ComponentPublicInstance<Props>;
  36. } | FunctionalComponent<Props>;
  37. type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
  38. declare const IconValue: PropType<IconValue>;
  39. declare const VDateInput: {
  40. new (...args: any[]): vue.CreateComponentPublicInstance<{
  41. flat: boolean;
  42. reverse: boolean;
  43. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  44. type: string;
  45. error: boolean;
  46. active: boolean;
  47. direction: "horizontal" | "vertical";
  48. transition: string;
  49. header: string;
  50. style: vue.StyleValue;
  51. title: string;
  52. autofocus: boolean;
  53. disabled: boolean;
  54. readonly: boolean | null;
  55. tag: string;
  56. landscape: boolean;
  57. placeholder: string;
  58. messages: string | readonly string[];
  59. focused: boolean;
  60. errorMessages: string | readonly string[] | null;
  61. maxErrors: string | number;
  62. rules: readonly ValidationRule[];
  63. tile: boolean;
  64. density: Density;
  65. prependIcon: IconValue;
  66. clearIcon: IconValue;
  67. hideSpinButtons: boolean;
  68. persistentHint: boolean;
  69. nextIcon: IconValue;
  70. prevIcon: IconValue;
  71. clearable: boolean;
  72. dirty: boolean;
  73. persistentClear: boolean;
  74. singleLine: boolean;
  75. persistentPlaceholder: boolean;
  76. persistentCounter: boolean;
  77. reverseTransition: string;
  78. cancelText: string;
  79. okText: string;
  80. modeIcon: IconValue;
  81. viewMode: "month" | "year" | "months";
  82. showAdjacentMonths: boolean;
  83. weekdays: number[];
  84. weeksInMonth: "static" | "dynamic";
  85. hideWeekdays: boolean;
  86. showWeek: boolean;
  87. hideHeader: boolean;
  88. hideActions: boolean;
  89. } & {
  90. name?: string | undefined;
  91. max?: unknown;
  92. location?: Anchor | null | undefined;
  93. id?: string | undefined;
  94. height?: string | number | undefined;
  95. width?: string | number | undefined;
  96. min?: unknown;
  97. border?: string | number | boolean | undefined;
  98. color?: string | undefined;
  99. maxHeight?: string | number | undefined;
  100. maxWidth?: string | number | undefined;
  101. minHeight?: string | number | undefined;
  102. minWidth?: string | number | undefined;
  103. position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
  104. loading?: string | boolean | undefined;
  105. label?: string | undefined;
  106. text?: string | undefined;
  107. prefix?: string | undefined;
  108. role?: string | undefined;
  109. multiple?: number | boolean | "range" | (string & {}) | undefined;
  110. month?: string | number | undefined;
  111. year?: number | undefined;
  112. class?: any;
  113. theme?: string | undefined;
  114. elevation?: string | number | undefined;
  115. counter?: string | number | boolean | undefined;
  116. 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
  117. modelValue?: any;
  118. validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
  119. validationValue?: any;
  120. rounded?: string | number | boolean | undefined;
  121. baseColor?: string | undefined;
  122. bgColor?: string | undefined;
  123. appendIcon?: IconValue | undefined;
  124. appendInnerIcon?: IconValue | undefined;
  125. prependInnerIcon?: IconValue | undefined;
  126. 'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
  127. 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
  128. 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
  129. 'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
  130. 'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
  131. centerAffix?: boolean | undefined;
  132. hint?: string | undefined;
  133. hideDetails?: boolean | "auto" | undefined;
  134. suffix?: string | undefined;
  135. counterValue?: number | ((value: any) => number) | undefined;
  136. modelModifiers?: Record<string, boolean> | undefined;
  137. firstDayOfWeek?: string | number | undefined;
  138. allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
  139. displayValue?: unknown;
  140. } & {
  141. $children?: vue.VNodeChild | {
  142. default?: (() => vue.VNodeChild) | undefined;
  143. } | (() => vue.VNodeChild);
  144. 'v-slots'?: {
  145. default?: false | (() => vue.VNodeChild) | undefined;
  146. } | undefined;
  147. } & {
  148. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  149. } & {
  150. "onUpdate:modelValue"?: ((val: string) => any) | undefined;
  151. }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  152. 'update:modelValue': (val: string) => true;
  153. }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & {
  154. flat: boolean;
  155. reverse: boolean;
  156. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  157. type: string;
  158. error: boolean;
  159. active: boolean;
  160. direction: "horizontal" | "vertical";
  161. transition: string;
  162. header: string;
  163. style: vue.StyleValue;
  164. title: string;
  165. autofocus: boolean;
  166. disabled: boolean;
  167. readonly: boolean | null;
  168. tag: string;
  169. landscape: boolean;
  170. placeholder: string;
  171. messages: string | readonly string[];
  172. focused: boolean;
  173. errorMessages: string | readonly string[] | null;
  174. maxErrors: string | number;
  175. rules: readonly ValidationRule[];
  176. tile: boolean;
  177. density: Density;
  178. prependIcon: IconValue;
  179. clearIcon: IconValue;
  180. hideSpinButtons: boolean;
  181. persistentHint: boolean;
  182. nextIcon: IconValue;
  183. prevIcon: IconValue;
  184. clearable: boolean;
  185. dirty: boolean;
  186. persistentClear: boolean;
  187. singleLine: boolean;
  188. persistentPlaceholder: boolean;
  189. persistentCounter: boolean;
  190. reverseTransition: string;
  191. cancelText: string;
  192. okText: string;
  193. modeIcon: IconValue;
  194. viewMode: "month" | "year" | "months";
  195. showAdjacentMonths: boolean;
  196. weekdays: number[];
  197. weeksInMonth: "static" | "dynamic";
  198. hideWeekdays: boolean;
  199. showWeek: boolean;
  200. hideHeader: boolean;
  201. hideActions: boolean;
  202. } & {
  203. name?: string | undefined;
  204. max?: unknown;
  205. location?: Anchor | null | undefined;
  206. id?: string | undefined;
  207. height?: string | number | undefined;
  208. width?: string | number | undefined;
  209. min?: unknown;
  210. border?: string | number | boolean | undefined;
  211. color?: string | undefined;
  212. maxHeight?: string | number | undefined;
  213. maxWidth?: string | number | undefined;
  214. minHeight?: string | number | undefined;
  215. minWidth?: string | number | undefined;
  216. position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
  217. loading?: string | boolean | undefined;
  218. label?: string | undefined;
  219. text?: string | undefined;
  220. prefix?: string | undefined;
  221. role?: string | undefined;
  222. multiple?: number | boolean | "range" | (string & {}) | undefined;
  223. month?: string | number | undefined;
  224. year?: number | undefined;
  225. class?: any;
  226. theme?: string | undefined;
  227. elevation?: string | number | undefined;
  228. counter?: string | number | boolean | undefined;
  229. 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
  230. modelValue?: any;
  231. validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
  232. validationValue?: any;
  233. rounded?: string | number | boolean | undefined;
  234. baseColor?: string | undefined;
  235. bgColor?: string | undefined;
  236. appendIcon?: IconValue | undefined;
  237. appendInnerIcon?: IconValue | undefined;
  238. prependInnerIcon?: IconValue | undefined;
  239. 'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
  240. 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
  241. 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
  242. 'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
  243. 'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
  244. centerAffix?: boolean | undefined;
  245. hint?: string | undefined;
  246. hideDetails?: boolean | "auto" | undefined;
  247. suffix?: string | undefined;
  248. counterValue?: number | ((value: any) => number) | undefined;
  249. modelModifiers?: Record<string, boolean> | undefined;
  250. firstDayOfWeek?: string | number | undefined;
  251. allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
  252. displayValue?: unknown;
  253. } & {
  254. $children?: vue.VNodeChild | {
  255. default?: (() => vue.VNodeChild) | undefined;
  256. } | (() => vue.VNodeChild);
  257. 'v-slots'?: {
  258. default?: false | (() => vue.VNodeChild) | undefined;
  259. } | undefined;
  260. } & {
  261. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  262. } & {
  263. "onUpdate:modelValue"?: ((val: string) => any) | undefined;
  264. }, {
  265. flat: boolean;
  266. reverse: boolean;
  267. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  268. type: string;
  269. error: boolean;
  270. active: boolean;
  271. direction: "horizontal" | "vertical";
  272. transition: string;
  273. header: string;
  274. style: vue.StyleValue;
  275. title: string;
  276. autofocus: boolean;
  277. disabled: boolean;
  278. readonly: boolean | null;
  279. tag: string;
  280. landscape: boolean;
  281. placeholder: string;
  282. messages: string | readonly string[];
  283. focused: boolean;
  284. errorMessages: string | readonly string[] | null;
  285. maxErrors: string | number;
  286. rules: readonly ValidationRule[];
  287. rounded: string | number | boolean;
  288. tile: boolean;
  289. density: Density;
  290. prependIcon: IconValue;
  291. clearIcon: IconValue;
  292. centerAffix: boolean;
  293. hideSpinButtons: boolean;
  294. persistentHint: boolean;
  295. nextIcon: IconValue;
  296. prevIcon: IconValue;
  297. clearable: boolean;
  298. dirty: boolean;
  299. persistentClear: boolean;
  300. singleLine: boolean;
  301. persistentPlaceholder: boolean;
  302. persistentCounter: boolean;
  303. reverseTransition: string;
  304. cancelText: string;
  305. okText: string;
  306. modeIcon: IconValue;
  307. viewMode: "month" | "year" | "months";
  308. showAdjacentMonths: boolean;
  309. weekdays: number[];
  310. weeksInMonth: "static" | "dynamic";
  311. hideWeekdays: boolean;
  312. showWeek: boolean;
  313. hideHeader: boolean;
  314. hideActions: boolean;
  315. }, true, {}, vue.SlotsType<Partial<{
  316. default: () => vue.VNode[];
  317. }>>, {
  318. P: {};
  319. B: {};
  320. D: {};
  321. C: {};
  322. M: {};
  323. Defaults: {};
  324. }, {
  325. flat: boolean;
  326. reverse: boolean;
  327. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  328. type: string;
  329. error: boolean;
  330. active: boolean;
  331. direction: "horizontal" | "vertical";
  332. transition: string;
  333. header: string;
  334. style: vue.StyleValue;
  335. title: string;
  336. autofocus: boolean;
  337. disabled: boolean;
  338. readonly: boolean | null;
  339. tag: string;
  340. landscape: boolean;
  341. placeholder: string;
  342. messages: string | readonly string[];
  343. focused: boolean;
  344. errorMessages: string | readonly string[] | null;
  345. maxErrors: string | number;
  346. rules: readonly ValidationRule[];
  347. tile: boolean;
  348. density: Density;
  349. prependIcon: IconValue;
  350. clearIcon: IconValue;
  351. hideSpinButtons: boolean;
  352. persistentHint: boolean;
  353. nextIcon: IconValue;
  354. prevIcon: IconValue;
  355. clearable: boolean;
  356. dirty: boolean;
  357. persistentClear: boolean;
  358. singleLine: boolean;
  359. persistentPlaceholder: boolean;
  360. persistentCounter: boolean;
  361. reverseTransition: string;
  362. cancelText: string;
  363. okText: string;
  364. modeIcon: IconValue;
  365. viewMode: "month" | "year" | "months";
  366. showAdjacentMonths: boolean;
  367. weekdays: number[];
  368. weeksInMonth: "static" | "dynamic";
  369. hideWeekdays: boolean;
  370. showWeek: boolean;
  371. hideHeader: boolean;
  372. hideActions: boolean;
  373. } & {
  374. name?: string | undefined;
  375. max?: unknown;
  376. location?: Anchor | null | undefined;
  377. id?: string | undefined;
  378. height?: string | number | undefined;
  379. width?: string | number | undefined;
  380. min?: unknown;
  381. border?: string | number | boolean | undefined;
  382. color?: string | undefined;
  383. maxHeight?: string | number | undefined;
  384. maxWidth?: string | number | undefined;
  385. minHeight?: string | number | undefined;
  386. minWidth?: string | number | undefined;
  387. position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
  388. loading?: string | boolean | undefined;
  389. label?: string | undefined;
  390. text?: string | undefined;
  391. prefix?: string | undefined;
  392. role?: string | undefined;
  393. multiple?: number | boolean | "range" | (string & {}) | undefined;
  394. month?: string | number | undefined;
  395. year?: number | undefined;
  396. class?: any;
  397. theme?: string | undefined;
  398. elevation?: string | number | undefined;
  399. counter?: string | number | boolean | undefined;
  400. 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
  401. modelValue?: any;
  402. validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
  403. validationValue?: any;
  404. rounded?: string | number | boolean | undefined;
  405. baseColor?: string | undefined;
  406. bgColor?: string | undefined;
  407. appendIcon?: IconValue | undefined;
  408. appendInnerIcon?: IconValue | undefined;
  409. prependInnerIcon?: IconValue | undefined;
  410. 'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
  411. 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
  412. 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
  413. 'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
  414. 'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
  415. centerAffix?: boolean | undefined;
  416. hint?: string | undefined;
  417. hideDetails?: boolean | "auto" | undefined;
  418. suffix?: string | undefined;
  419. counterValue?: number | ((value: any) => number) | undefined;
  420. modelModifiers?: Record<string, boolean> | undefined;
  421. firstDayOfWeek?: string | number | undefined;
  422. allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
  423. displayValue?: unknown;
  424. } & {
  425. $children?: vue.VNodeChild | {
  426. default?: (() => vue.VNodeChild) | undefined;
  427. } | (() => vue.VNodeChild);
  428. 'v-slots'?: {
  429. default?: false | (() => vue.VNodeChild) | undefined;
  430. } | undefined;
  431. } & {
  432. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  433. } & {
  434. "onUpdate:modelValue"?: ((val: string) => any) | undefined;
  435. }, {}, {}, {}, {}, {
  436. flat: boolean;
  437. reverse: boolean;
  438. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  439. type: string;
  440. error: boolean;
  441. active: boolean;
  442. direction: "horizontal" | "vertical";
  443. transition: string;
  444. header: string;
  445. style: vue.StyleValue;
  446. title: string;
  447. autofocus: boolean;
  448. disabled: boolean;
  449. readonly: boolean | null;
  450. tag: string;
  451. landscape: boolean;
  452. placeholder: string;
  453. messages: string | readonly string[];
  454. focused: boolean;
  455. errorMessages: string | readonly string[] | null;
  456. maxErrors: string | number;
  457. rules: readonly ValidationRule[];
  458. rounded: string | number | boolean;
  459. tile: boolean;
  460. density: Density;
  461. prependIcon: IconValue;
  462. clearIcon: IconValue;
  463. centerAffix: boolean;
  464. hideSpinButtons: boolean;
  465. persistentHint: boolean;
  466. nextIcon: IconValue;
  467. prevIcon: IconValue;
  468. clearable: boolean;
  469. dirty: boolean;
  470. persistentClear: boolean;
  471. singleLine: boolean;
  472. persistentPlaceholder: boolean;
  473. persistentCounter: boolean;
  474. reverseTransition: string;
  475. cancelText: string;
  476. okText: string;
  477. modeIcon: IconValue;
  478. viewMode: "month" | "year" | "months";
  479. showAdjacentMonths: boolean;
  480. weekdays: number[];
  481. weeksInMonth: "static" | "dynamic";
  482. hideWeekdays: boolean;
  483. showWeek: boolean;
  484. hideHeader: boolean;
  485. hideActions: boolean;
  486. }>;
  487. __isFragment?: never;
  488. __isTeleport?: never;
  489. __isSuspense?: never;
  490. } & vue.ComponentOptionsBase<{
  491. flat: boolean;
  492. reverse: boolean;
  493. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  494. type: string;
  495. error: boolean;
  496. active: boolean;
  497. direction: "horizontal" | "vertical";
  498. transition: string;
  499. header: string;
  500. style: vue.StyleValue;
  501. title: string;
  502. autofocus: boolean;
  503. disabled: boolean;
  504. readonly: boolean | null;
  505. tag: string;
  506. landscape: boolean;
  507. placeholder: string;
  508. messages: string | readonly string[];
  509. focused: boolean;
  510. errorMessages: string | readonly string[] | null;
  511. maxErrors: string | number;
  512. rules: readonly ValidationRule[];
  513. tile: boolean;
  514. density: Density;
  515. prependIcon: IconValue;
  516. clearIcon: IconValue;
  517. hideSpinButtons: boolean;
  518. persistentHint: boolean;
  519. nextIcon: IconValue;
  520. prevIcon: IconValue;
  521. clearable: boolean;
  522. dirty: boolean;
  523. persistentClear: boolean;
  524. singleLine: boolean;
  525. persistentPlaceholder: boolean;
  526. persistentCounter: boolean;
  527. reverseTransition: string;
  528. cancelText: string;
  529. okText: string;
  530. modeIcon: IconValue;
  531. viewMode: "month" | "year" | "months";
  532. showAdjacentMonths: boolean;
  533. weekdays: number[];
  534. weeksInMonth: "static" | "dynamic";
  535. hideWeekdays: boolean;
  536. showWeek: boolean;
  537. hideHeader: boolean;
  538. hideActions: boolean;
  539. } & {
  540. name?: string | undefined;
  541. max?: unknown;
  542. location?: Anchor | null | undefined;
  543. id?: string | undefined;
  544. height?: string | number | undefined;
  545. width?: string | number | undefined;
  546. min?: unknown;
  547. border?: string | number | boolean | undefined;
  548. color?: string | undefined;
  549. maxHeight?: string | number | undefined;
  550. maxWidth?: string | number | undefined;
  551. minHeight?: string | number | undefined;
  552. minWidth?: string | number | undefined;
  553. position?: "fixed" | "absolute" | "relative" | "static" | "sticky" | undefined;
  554. loading?: string | boolean | undefined;
  555. label?: string | undefined;
  556. text?: string | undefined;
  557. prefix?: string | undefined;
  558. role?: string | undefined;
  559. multiple?: number | boolean | "range" | (string & {}) | undefined;
  560. month?: string | number | undefined;
  561. year?: number | undefined;
  562. class?: any;
  563. theme?: string | undefined;
  564. elevation?: string | number | undefined;
  565. counter?: string | number | boolean | undefined;
  566. 'onUpdate:focused'?: ((args_0: boolean) => void) | undefined;
  567. modelValue?: any;
  568. validateOn?: ("eager" | "lazy" | ("input" | "blur" | "submit" | "invalid-input") | "input lazy" | "blur lazy" | "submit lazy" | "invalid-input lazy" | "input eager" | "blur eager" | "submit eager" | "invalid-input eager" | "lazy input" | "lazy blur" | "lazy submit" | "lazy invalid-input" | "eager input" | "eager blur" | "eager submit" | "eager invalid-input") | undefined;
  569. validationValue?: any;
  570. rounded?: string | number | boolean | undefined;
  571. baseColor?: string | undefined;
  572. bgColor?: string | undefined;
  573. appendIcon?: IconValue | undefined;
  574. appendInnerIcon?: IconValue | undefined;
  575. prependInnerIcon?: IconValue | undefined;
  576. 'onClick:clear'?: ((args_0: MouseEvent) => void) | undefined;
  577. 'onClick:append'?: ((args_0: MouseEvent) => void) | undefined;
  578. 'onClick:prepend'?: ((args_0: MouseEvent) => void) | undefined;
  579. 'onClick:appendInner'?: ((args_0: MouseEvent) => void) | undefined;
  580. 'onClick:prependInner'?: ((args_0: MouseEvent) => void) | undefined;
  581. centerAffix?: boolean | undefined;
  582. hint?: string | undefined;
  583. hideDetails?: boolean | "auto" | undefined;
  584. suffix?: string | undefined;
  585. counterValue?: number | ((value: any) => number) | undefined;
  586. modelModifiers?: Record<string, boolean> | undefined;
  587. firstDayOfWeek?: string | number | undefined;
  588. allowedDates?: unknown[] | ((date: unknown) => boolean) | undefined;
  589. displayValue?: unknown;
  590. } & {
  591. $children?: vue.VNodeChild | {
  592. default?: (() => vue.VNodeChild) | undefined;
  593. } | (() => vue.VNodeChild);
  594. 'v-slots'?: {
  595. default?: false | (() => vue.VNodeChild) | undefined;
  596. } | undefined;
  597. } & {
  598. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  599. } & {
  600. "onUpdate:modelValue"?: ((val: string) => any) | undefined;
  601. }, void, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  602. 'update:modelValue': (val: string) => true;
  603. }, string, {
  604. flat: boolean;
  605. reverse: boolean;
  606. variant: "filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled";
  607. type: string;
  608. error: boolean;
  609. active: boolean;
  610. direction: "horizontal" | "vertical";
  611. transition: string;
  612. header: string;
  613. style: vue.StyleValue;
  614. title: string;
  615. autofocus: boolean;
  616. disabled: boolean;
  617. readonly: boolean | null;
  618. tag: string;
  619. landscape: boolean;
  620. placeholder: string;
  621. messages: string | readonly string[];
  622. focused: boolean;
  623. errorMessages: string | readonly string[] | null;
  624. maxErrors: string | number;
  625. rules: readonly ValidationRule[];
  626. rounded: string | number | boolean;
  627. tile: boolean;
  628. density: Density;
  629. prependIcon: IconValue;
  630. clearIcon: IconValue;
  631. centerAffix: boolean;
  632. hideSpinButtons: boolean;
  633. persistentHint: boolean;
  634. nextIcon: IconValue;
  635. prevIcon: IconValue;
  636. clearable: boolean;
  637. dirty: boolean;
  638. persistentClear: boolean;
  639. singleLine: boolean;
  640. persistentPlaceholder: boolean;
  641. persistentCounter: boolean;
  642. reverseTransition: string;
  643. cancelText: string;
  644. okText: string;
  645. modeIcon: IconValue;
  646. viewMode: "month" | "year" | "months";
  647. showAdjacentMonths: boolean;
  648. weekdays: number[];
  649. weeksInMonth: "static" | "dynamic";
  650. hideWeekdays: boolean;
  651. showWeek: boolean;
  652. hideHeader: boolean;
  653. hideActions: boolean;
  654. }, {}, string, vue.SlotsType<Partial<{
  655. default: () => vue.VNode[];
  656. }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
  657. max: vue.PropType<unknown>;
  658. location: vue.PropType<Anchor | null>;
  659. height: (StringConstructor | NumberConstructor)[];
  660. width: (StringConstructor | NumberConstructor)[];
  661. min: vue.PropType<unknown>;
  662. border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  663. color: StringConstructor;
  664. maxHeight: (StringConstructor | NumberConstructor)[];
  665. maxWidth: (StringConstructor | NumberConstructor)[];
  666. minHeight: (StringConstructor | NumberConstructor)[];
  667. minWidth: (StringConstructor | NumberConstructor)[];
  668. position: {
  669. type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
  670. validator: (v: any) => boolean;
  671. };
  672. transition: {
  673. type: StringConstructor;
  674. default: string;
  675. };
  676. header: {
  677. type: StringConstructor;
  678. default: string;
  679. };
  680. style: {
  681. type: vue.PropType<vue.StyleValue>;
  682. default: null;
  683. };
  684. title: {
  685. type: vue.PropType<string>;
  686. default: string;
  687. };
  688. text: StringConstructor;
  689. disabled: BooleanConstructor;
  690. multiple: vue.PropType<boolean | "range" | number | (string & {})>;
  691. month: (StringConstructor | NumberConstructor)[];
  692. year: NumberConstructor;
  693. class: vue.PropType<ClassValue>;
  694. theme: StringConstructor;
  695. tag: {
  696. type: StringConstructor;
  697. default: string;
  698. };
  699. landscape: BooleanConstructor;
  700. elevation: {
  701. type: (StringConstructor | NumberConstructor)[];
  702. validator(v: any): boolean;
  703. };
  704. modelValue: null;
  705. rounded: {
  706. type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  707. default: undefined;
  708. };
  709. tile: BooleanConstructor;
  710. bgColor: StringConstructor;
  711. nextIcon: {
  712. type: vue.PropType<IconValue>;
  713. default: string;
  714. };
  715. prevIcon: {
  716. type: vue.PropType<IconValue>;
  717. default: string;
  718. };
  719. reverseTransition: {
  720. type: StringConstructor;
  721. default: string;
  722. };
  723. modeIcon: {
  724. type: vue.PropType<IconValue>;
  725. default: string;
  726. };
  727. viewMode: {
  728. type: vue.PropType<"month" | "months" | "year">;
  729. default: string;
  730. };
  731. showAdjacentMonths: BooleanConstructor;
  732. weekdays: {
  733. type: {
  734. (arrayLength: number): number[];
  735. (...items: number[]): number[];
  736. new (arrayLength: number): number[];
  737. new (...items: number[]): number[];
  738. isArray(arg: any): arg is any[];
  739. readonly prototype: any[];
  740. from<T>(arrayLike: ArrayLike<T>): T[];
  741. from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
  742. from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
  743. from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
  744. of<T>(...items: T[]): T[];
  745. fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
  746. fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
  747. readonly [Symbol.species]: ArrayConstructor;
  748. };
  749. default: () => number[];
  750. };
  751. weeksInMonth: Omit<Omit<{
  752. type: vue.PropType<"dynamic" | "static">;
  753. default: string;
  754. }, "type" | "default"> & {
  755. type: vue.PropType<"static" | "dynamic">;
  756. default: NonNullable<"static" | "dynamic">;
  757. }, "type" | "default"> & {
  758. type: vue.PropType<"static" | "dynamic">;
  759. default: NonNullable<"static" | "dynamic">;
  760. };
  761. firstDayOfWeek: (StringConstructor | NumberConstructor)[];
  762. allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
  763. displayValue: vue.PropType<unknown>;
  764. hideWeekdays: BooleanConstructor;
  765. showWeek: BooleanConstructor;
  766. hideHeader: {
  767. type: vue.PropType<boolean>;
  768. default: boolean;
  769. };
  770. loading: (StringConstructor | BooleanConstructor)[];
  771. appendInnerIcon: vue.PropType<IconValue>;
  772. clearable: BooleanConstructor;
  773. clearIcon: {
  774. type: vue.PropType<IconValue>;
  775. default: string;
  776. };
  777. active: BooleanConstructor;
  778. centerAffix: {
  779. type: BooleanConstructor;
  780. default: undefined;
  781. };
  782. baseColor: StringConstructor;
  783. dirty: BooleanConstructor;
  784. error: BooleanConstructor;
  785. flat: BooleanConstructor;
  786. label: StringConstructor;
  787. persistentClear: BooleanConstructor;
  788. prependInnerIcon: vue.PropType<IconValue>;
  789. reverse: BooleanConstructor;
  790. singleLine: BooleanConstructor;
  791. variant: {
  792. type: vue.PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
  793. default: string;
  794. validator: (v: any) => boolean;
  795. };
  796. 'onClick:clear': vue.PropType<(args_0: MouseEvent) => void>;
  797. 'onClick:appendInner': vue.PropType<(args_0: MouseEvent) => void>;
  798. 'onClick:prependInner': vue.PropType<(args_0: MouseEvent) => void>;
  799. focused: BooleanConstructor;
  800. 'onUpdate:focused': vue.PropType<(args_0: boolean) => void>;
  801. errorMessages: {
  802. type: vue.PropType<string | readonly string[] | null>;
  803. default: () => never[];
  804. };
  805. maxErrors: {
  806. type: (StringConstructor | NumberConstructor)[];
  807. default: number;
  808. };
  809. name: StringConstructor;
  810. readonly: {
  811. type: vue.PropType<boolean | null>;
  812. default: null;
  813. };
  814. rules: {
  815. type: vue.PropType<readonly ValidationRule[]>;
  816. default: () => never[];
  817. };
  818. validateOn: vue.PropType<ValidationProps["validateOn"]>;
  819. validationValue: null;
  820. density: {
  821. type: vue.PropType<Density>;
  822. default: string;
  823. validator: (v: any) => boolean;
  824. };
  825. id: StringConstructor;
  826. appendIcon: vue.PropType<IconValue>;
  827. prependIcon: {
  828. type: vue.PropType<IconValue>;
  829. default: NonNullable<IconValue>;
  830. };
  831. hideDetails: vue.PropType<boolean | "auto">;
  832. hideSpinButtons: BooleanConstructor;
  833. hint: StringConstructor;
  834. persistentHint: BooleanConstructor;
  835. messages: {
  836. type: vue.PropType<string | readonly string[]>;
  837. default: () => never[];
  838. };
  839. direction: {
  840. type: vue.PropType<"horizontal" | "vertical">;
  841. default: string;
  842. validator: (v: any) => boolean;
  843. };
  844. 'onClick:prepend': vue.PropType<(args_0: MouseEvent) => void>;
  845. 'onClick:append': vue.PropType<(args_0: MouseEvent) => void>;
  846. autofocus: BooleanConstructor;
  847. counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  848. counterValue: vue.PropType<number | ((value: any) => number)>;
  849. prefix: StringConstructor;
  850. placeholder: {
  851. type: vue.PropType<string>;
  852. default: string;
  853. };
  854. persistentPlaceholder: BooleanConstructor;
  855. persistentCounter: BooleanConstructor;
  856. suffix: StringConstructor;
  857. role: StringConstructor;
  858. type: {
  859. type: StringConstructor;
  860. default: string;
  861. };
  862. modelModifiers: vue.PropType<Record<string, boolean>>;
  863. cancelText: {
  864. type: StringConstructor;
  865. default: string;
  866. };
  867. okText: {
  868. type: StringConstructor;
  869. default: string;
  870. };
  871. hideActions: BooleanConstructor;
  872. }, vue.ExtractPropTypes<{
  873. max: vue.PropType<unknown>;
  874. location: vue.PropType<Anchor | null>;
  875. height: (StringConstructor | NumberConstructor)[];
  876. width: (StringConstructor | NumberConstructor)[];
  877. min: vue.PropType<unknown>;
  878. border: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  879. color: StringConstructor;
  880. maxHeight: (StringConstructor | NumberConstructor)[];
  881. maxWidth: (StringConstructor | NumberConstructor)[];
  882. minHeight: (StringConstructor | NumberConstructor)[];
  883. minWidth: (StringConstructor | NumberConstructor)[];
  884. position: {
  885. type: vue.PropType<"fixed" | "absolute" | "relative" | "static" | "sticky">;
  886. validator: (v: any) => boolean;
  887. };
  888. transition: {
  889. type: StringConstructor;
  890. default: string;
  891. };
  892. header: {
  893. type: StringConstructor;
  894. default: string;
  895. };
  896. style: {
  897. type: vue.PropType<vue.StyleValue>;
  898. default: null;
  899. };
  900. title: {
  901. type: vue.PropType<string>;
  902. default: string;
  903. };
  904. text: StringConstructor;
  905. disabled: BooleanConstructor;
  906. multiple: vue.PropType<boolean | "range" | number | (string & {})>;
  907. month: (StringConstructor | NumberConstructor)[];
  908. year: NumberConstructor;
  909. class: vue.PropType<ClassValue>;
  910. theme: StringConstructor;
  911. tag: {
  912. type: StringConstructor;
  913. default: string;
  914. };
  915. landscape: BooleanConstructor;
  916. elevation: {
  917. type: (StringConstructor | NumberConstructor)[];
  918. validator(v: any): boolean;
  919. };
  920. modelValue: null;
  921. rounded: {
  922. type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  923. default: undefined;
  924. };
  925. tile: BooleanConstructor;
  926. bgColor: StringConstructor;
  927. nextIcon: {
  928. type: vue.PropType<IconValue>;
  929. default: string;
  930. };
  931. prevIcon: {
  932. type: vue.PropType<IconValue>;
  933. default: string;
  934. };
  935. reverseTransition: {
  936. type: StringConstructor;
  937. default: string;
  938. };
  939. modeIcon: {
  940. type: vue.PropType<IconValue>;
  941. default: string;
  942. };
  943. viewMode: {
  944. type: vue.PropType<"month" | "months" | "year">;
  945. default: string;
  946. };
  947. showAdjacentMonths: BooleanConstructor;
  948. weekdays: {
  949. type: {
  950. (arrayLength: number): number[];
  951. (...items: number[]): number[];
  952. new (arrayLength: number): number[];
  953. new (...items: number[]): number[];
  954. isArray(arg: any): arg is any[];
  955. readonly prototype: any[];
  956. from<T>(arrayLike: ArrayLike<T>): T[];
  957. from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
  958. from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
  959. from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
  960. of<T>(...items: T[]): T[];
  961. fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
  962. fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
  963. readonly [Symbol.species]: ArrayConstructor;
  964. };
  965. default: () => number[];
  966. };
  967. weeksInMonth: Omit<Omit<{
  968. type: vue.PropType<"dynamic" | "static">;
  969. default: string;
  970. }, "type" | "default"> & {
  971. type: vue.PropType<"static" | "dynamic">;
  972. default: NonNullable<"static" | "dynamic">;
  973. }, "type" | "default"> & {
  974. type: vue.PropType<"static" | "dynamic">;
  975. default: NonNullable<"static" | "dynamic">;
  976. };
  977. firstDayOfWeek: (StringConstructor | NumberConstructor)[];
  978. allowedDates: vue.PropType<unknown[] | ((date: unknown) => boolean)>;
  979. displayValue: vue.PropType<unknown>;
  980. hideWeekdays: BooleanConstructor;
  981. showWeek: BooleanConstructor;
  982. hideHeader: {
  983. type: vue.PropType<boolean>;
  984. default: boolean;
  985. };
  986. loading: (StringConstructor | BooleanConstructor)[];
  987. appendInnerIcon: vue.PropType<IconValue>;
  988. clearable: BooleanConstructor;
  989. clearIcon: {
  990. type: vue.PropType<IconValue>;
  991. default: string;
  992. };
  993. active: BooleanConstructor;
  994. centerAffix: {
  995. type: BooleanConstructor;
  996. default: undefined;
  997. };
  998. baseColor: StringConstructor;
  999. dirty: BooleanConstructor;
  1000. error: BooleanConstructor;
  1001. flat: BooleanConstructor;
  1002. label: StringConstructor;
  1003. persistentClear: BooleanConstructor;
  1004. prependInnerIcon: vue.PropType<IconValue>;
  1005. reverse: BooleanConstructor;
  1006. singleLine: BooleanConstructor;
  1007. variant: {
  1008. type: vue.PropType<"filled" | "underlined" | "outlined" | "plain" | "solo" | "solo-inverted" | "solo-filled">;
  1009. default: string;
  1010. validator: (v: any) => boolean;
  1011. };
  1012. 'onClick:clear': vue.PropType<(args_0: MouseEvent) => void>;
  1013. 'onClick:appendInner': vue.PropType<(args_0: MouseEvent) => void>;
  1014. 'onClick:prependInner': vue.PropType<(args_0: MouseEvent) => void>;
  1015. focused: BooleanConstructor;
  1016. 'onUpdate:focused': vue.PropType<(args_0: boolean) => void>;
  1017. errorMessages: {
  1018. type: vue.PropType<string | readonly string[] | null>;
  1019. default: () => never[];
  1020. };
  1021. maxErrors: {
  1022. type: (StringConstructor | NumberConstructor)[];
  1023. default: number;
  1024. };
  1025. name: StringConstructor;
  1026. readonly: {
  1027. type: vue.PropType<boolean | null>;
  1028. default: null;
  1029. };
  1030. rules: {
  1031. type: vue.PropType<readonly ValidationRule[]>;
  1032. default: () => never[];
  1033. };
  1034. validateOn: vue.PropType<ValidationProps["validateOn"]>;
  1035. validationValue: null;
  1036. density: {
  1037. type: vue.PropType<Density>;
  1038. default: string;
  1039. validator: (v: any) => boolean;
  1040. };
  1041. id: StringConstructor;
  1042. appendIcon: vue.PropType<IconValue>;
  1043. prependIcon: {
  1044. type: vue.PropType<IconValue>;
  1045. default: NonNullable<IconValue>;
  1046. };
  1047. hideDetails: vue.PropType<boolean | "auto">;
  1048. hideSpinButtons: BooleanConstructor;
  1049. hint: StringConstructor;
  1050. persistentHint: BooleanConstructor;
  1051. messages: {
  1052. type: vue.PropType<string | readonly string[]>;
  1053. default: () => never[];
  1054. };
  1055. direction: {
  1056. type: vue.PropType<"horizontal" | "vertical">;
  1057. default: string;
  1058. validator: (v: any) => boolean;
  1059. };
  1060. 'onClick:prepend': vue.PropType<(args_0: MouseEvent) => void>;
  1061. 'onClick:append': vue.PropType<(args_0: MouseEvent) => void>;
  1062. autofocus: BooleanConstructor;
  1063. counter: (StringConstructor | BooleanConstructor | NumberConstructor)[];
  1064. counterValue: vue.PropType<number | ((value: any) => number)>;
  1065. prefix: StringConstructor;
  1066. placeholder: {
  1067. type: vue.PropType<string>;
  1068. default: string;
  1069. };
  1070. persistentPlaceholder: BooleanConstructor;
  1071. persistentCounter: BooleanConstructor;
  1072. suffix: StringConstructor;
  1073. role: StringConstructor;
  1074. type: {
  1075. type: StringConstructor;
  1076. default: string;
  1077. };
  1078. modelModifiers: vue.PropType<Record<string, boolean>>;
  1079. cancelText: {
  1080. type: StringConstructor;
  1081. default: string;
  1082. };
  1083. okText: {
  1084. type: StringConstructor;
  1085. default: string;
  1086. };
  1087. hideActions: BooleanConstructor;
  1088. }>>;
  1089. type VDateInput = InstanceType<typeof VDateInput>;
  1090. export { VDateInput };