index.d.mts 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. import * as vue from 'vue';
  2. import { ComponentPropsOptions, ExtractPropTypes, ComponentInternalInstance, Ref, ComputedRef, JSXComponent, PropType, nextTick } from 'vue';
  3. interface FilterPropsOptions<PropsOptions extends Readonly<ComponentPropsOptions>, Props = ExtractPropTypes<PropsOptions>> {
  4. filterProps<T extends Partial<Props>, U extends Exclude<keyof Props, Exclude<keyof Props, keyof T>>>(props: T): [yes: Partial<Pick<T, U>>, no: Omit<T, U>];
  5. }
  6. interface GroupItem {
  7. id: number;
  8. value: Ref<unknown>;
  9. disabled: Ref<boolean | undefined>;
  10. }
  11. interface GroupProvide {
  12. register: (item: GroupItem, cmp: ComponentInternalInstance) => void;
  13. unregister: (id: number) => void;
  14. select: (id: number, value: boolean) => void;
  15. selected: Ref<Readonly<number[]>>;
  16. isSelected: (id: number) => boolean;
  17. prev: () => void;
  18. next: () => void;
  19. selectedClass: Ref<string | undefined>;
  20. items: ComputedRef<{
  21. id: number;
  22. value: unknown;
  23. disabled: boolean | undefined;
  24. }[]>;
  25. disabled: Ref<boolean | undefined>;
  26. getItemIndex: (value: unknown) => number;
  27. }
  28. interface GroupItemProvide {
  29. id: number;
  30. isSelected: Ref<boolean>;
  31. toggle: () => void;
  32. select: (value: boolean) => void;
  33. selectedClass: Ref<(string | undefined)[] | false>;
  34. value: Ref<unknown>;
  35. disabled: Ref<boolean | undefined>;
  36. group: GroupProvide;
  37. }
  38. type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
  39. declare const IconValue: PropType<IconValue>;
  40. interface TouchHandlers {
  41. start?: (wrapperEvent: {
  42. originalEvent: TouchEvent;
  43. } & TouchData) => void;
  44. end?: (wrapperEvent: {
  45. originalEvent: TouchEvent;
  46. } & TouchData) => void;
  47. move?: (wrapperEvent: {
  48. originalEvent: TouchEvent;
  49. } & TouchData) => void;
  50. left?: (wrapper: TouchData) => void;
  51. right?: (wrapper: TouchData) => void;
  52. up?: (wrapper: TouchData) => void;
  53. down?: (wrapper: TouchData) => void;
  54. }
  55. interface TouchData {
  56. touchstartX: number;
  57. touchstartY: number;
  58. touchmoveX: number;
  59. touchmoveY: number;
  60. touchendX: number;
  61. touchendY: number;
  62. offsetX: number;
  63. offsetY: number;
  64. }
  65. type ControlProps = {
  66. icon: IconValue;
  67. class: string;
  68. onClick: () => void;
  69. ariaLabel: string;
  70. };
  71. declare const VWindow: {
  72. new (...args: any[]): {
  73. $: vue.ComponentInternalInstance;
  74. $data: {};
  75. $props: {
  76. reverse?: boolean | undefined;
  77. direction?: "horizontal" | "vertical" | undefined;
  78. style?: vue.StyleValue | undefined;
  79. disabled?: boolean | undefined;
  80. tag?: string | undefined;
  81. mandatory?: boolean | "force" | undefined;
  82. touch?: boolean | TouchHandlers | undefined;
  83. selectedClass?: string | undefined;
  84. continuous?: boolean | undefined;
  85. nextIcon?: IconValue | undefined;
  86. prevIcon?: IconValue | undefined;
  87. key?: string | number | symbol | undefined;
  88. class?: any;
  89. $children?: vue.VNodeChild | {
  90. default?: ((arg: {
  91. group: GroupProvide;
  92. }) => vue.VNodeChild) | undefined;
  93. additional?: ((arg: {
  94. group: GroupProvide;
  95. }) => vue.VNodeChild) | undefined;
  96. prev?: ((arg: {
  97. props: ControlProps;
  98. }) => vue.VNodeChild) | undefined;
  99. next?: ((arg: {
  100. props: ControlProps;
  101. }) => vue.VNodeChild) | undefined;
  102. } | ((arg: {
  103. group: GroupProvide;
  104. }) => vue.VNodeChild);
  105. ref?: vue.VNodeRef | undefined;
  106. ref_for?: boolean | undefined;
  107. ref_key?: string | undefined;
  108. theme?: string | undefined;
  109. "v-slot:default"?: false | ((arg: {
  110. group: GroupProvide;
  111. }) => vue.VNodeChild) | undefined;
  112. 'v-slots'?: {
  113. default?: false | ((arg: {
  114. group: GroupProvide;
  115. }) => vue.VNodeChild) | undefined;
  116. additional?: false | ((arg: {
  117. group: GroupProvide;
  118. }) => vue.VNodeChild) | undefined;
  119. prev?: false | ((arg: {
  120. props: ControlProps;
  121. }) => vue.VNodeChild) | undefined;
  122. next?: false | ((arg: {
  123. props: ControlProps;
  124. }) => vue.VNodeChild) | undefined;
  125. } | undefined;
  126. "v-slot:additional"?: false | ((arg: {
  127. group: GroupProvide;
  128. }) => vue.VNodeChild) | undefined;
  129. onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  130. [key: string]: any;
  131. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  132. [key: string]: any;
  133. }>) => void)[] | undefined;
  134. onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  135. [key: string]: any;
  136. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  137. [key: string]: any;
  138. }>) => void)[] | undefined;
  139. onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  140. [key: string]: any;
  141. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  142. [key: string]: any;
  143. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  144. [key: string]: any;
  145. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  146. [key: string]: any;
  147. }>) => void)[] | undefined;
  148. onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  149. [key: string]: any;
  150. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  151. [key: string]: any;
  152. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  153. [key: string]: any;
  154. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  155. [key: string]: any;
  156. }>) => void)[] | undefined;
  157. onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  158. [key: string]: any;
  159. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  160. [key: string]: any;
  161. }>) => void)[] | undefined;
  162. onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  163. [key: string]: any;
  164. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  165. [key: string]: any;
  166. }>) => void)[] | undefined;
  167. modelValue?: any;
  168. "onUpdate:modelValue"?: ((v: any) => any) | undefined;
  169. showArrows?: string | boolean | undefined;
  170. "v-slot:next"?: false | ((arg: {
  171. props: ControlProps;
  172. }) => vue.VNodeChild) | undefined;
  173. "v-slot:prev"?: false | ((arg: {
  174. props: ControlProps;
  175. }) => vue.VNodeChild) | undefined;
  176. };
  177. $attrs: {
  178. [x: string]: unknown;
  179. };
  180. $refs: {
  181. [x: string]: unknown;
  182. };
  183. $slots: Readonly<{
  184. default?: ((arg: {
  185. group: GroupProvide;
  186. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  187. [key: string]: any;
  188. }>[]) | undefined;
  189. additional?: ((arg: {
  190. group: GroupProvide;
  191. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  192. [key: string]: any;
  193. }>[]) | undefined;
  194. prev?: ((arg: {
  195. props: ControlProps;
  196. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  197. [key: string]: any;
  198. }>[]) | undefined;
  199. next?: ((arg: {
  200. props: ControlProps;
  201. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  202. [key: string]: any;
  203. }>[]) | undefined;
  204. }>;
  205. $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
  206. $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
  207. $emit: (event: "update:modelValue", v: any) => void;
  208. $el: any;
  209. $options: vue.ComponentOptionsBase<{
  210. reverse: boolean;
  211. direction: "horizontal" | "vertical";
  212. style: vue.StyleValue;
  213. disabled: boolean;
  214. tag: string;
  215. mandatory: boolean | "force";
  216. selectedClass: string;
  217. continuous: boolean;
  218. nextIcon: IconValue;
  219. prevIcon: IconValue;
  220. } & {
  221. class?: any;
  222. touch?: boolean | TouchHandlers | undefined;
  223. theme?: string | undefined;
  224. modelValue?: any;
  225. showArrows?: string | boolean | undefined;
  226. } & {
  227. $children?: vue.VNodeChild | {
  228. default?: ((arg: {
  229. group: GroupProvide;
  230. }) => vue.VNodeChild) | undefined;
  231. additional?: ((arg: {
  232. group: GroupProvide;
  233. }) => vue.VNodeChild) | undefined;
  234. prev?: ((arg: {
  235. props: ControlProps;
  236. }) => vue.VNodeChild) | undefined;
  237. next?: ((arg: {
  238. props: ControlProps;
  239. }) => vue.VNodeChild) | undefined;
  240. } | ((arg: {
  241. group: GroupProvide;
  242. }) => vue.VNodeChild);
  243. 'v-slots'?: {
  244. default?: false | ((arg: {
  245. group: GroupProvide;
  246. }) => vue.VNodeChild) | undefined;
  247. additional?: false | ((arg: {
  248. group: GroupProvide;
  249. }) => vue.VNodeChild) | undefined;
  250. prev?: false | ((arg: {
  251. props: ControlProps;
  252. }) => vue.VNodeChild) | undefined;
  253. next?: false | ((arg: {
  254. props: ControlProps;
  255. }) => vue.VNodeChild) | undefined;
  256. } | undefined;
  257. } & {
  258. "v-slot:default"?: false | ((arg: {
  259. group: GroupProvide;
  260. }) => vue.VNodeChild) | undefined;
  261. "v-slot:additional"?: false | ((arg: {
  262. group: GroupProvide;
  263. }) => vue.VNodeChild) | undefined;
  264. "v-slot:prev"?: false | ((arg: {
  265. props: ControlProps;
  266. }) => vue.VNodeChild) | undefined;
  267. "v-slot:next"?: false | ((arg: {
  268. props: ControlProps;
  269. }) => vue.VNodeChild) | undefined;
  270. } & {
  271. "onUpdate:modelValue"?: ((v: any) => any) | undefined;
  272. }, {
  273. group: GroupProvide;
  274. }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  275. 'update:modelValue': (v: any) => boolean;
  276. }, string, {
  277. reverse: boolean;
  278. direction: "horizontal" | "vertical";
  279. style: vue.StyleValue;
  280. disabled: boolean;
  281. tag: string;
  282. mandatory: boolean | "force";
  283. touch: boolean | TouchHandlers;
  284. selectedClass: string;
  285. continuous: boolean;
  286. nextIcon: IconValue;
  287. prevIcon: IconValue;
  288. }, {}, string, vue.SlotsType<Partial<{
  289. default: (arg: {
  290. group: GroupProvide;
  291. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  292. [key: string]: any;
  293. }>[];
  294. additional: (arg: {
  295. group: GroupProvide;
  296. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  297. [key: string]: any;
  298. }>[];
  299. prev: (arg: {
  300. props: ControlProps;
  301. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  302. [key: string]: any;
  303. }>[];
  304. next: (arg: {
  305. props: ControlProps;
  306. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  307. [key: string]: any;
  308. }>[];
  309. }>>> & {
  310. beforeCreate?: ((() => void) | (() => void)[]) | undefined;
  311. created?: ((() => void) | (() => void)[]) | undefined;
  312. beforeMount?: ((() => void) | (() => void)[]) | undefined;
  313. mounted?: ((() => void) | (() => void)[]) | undefined;
  314. beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
  315. updated?: ((() => void) | (() => void)[]) | undefined;
  316. activated?: ((() => void) | (() => void)[]) | undefined;
  317. deactivated?: ((() => void) | (() => void)[]) | undefined;
  318. beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
  319. beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
  320. destroyed?: ((() => void) | (() => void)[]) | undefined;
  321. unmounted?: ((() => void) | (() => void)[]) | undefined;
  322. renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
  323. renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
  324. errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
  325. };
  326. $forceUpdate: () => void;
  327. $nextTick: typeof vue.nextTick;
  328. $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
  329. } & {
  330. reverse: boolean;
  331. direction: "horizontal" | "vertical";
  332. style: vue.StyleValue;
  333. disabled: boolean;
  334. tag: string;
  335. mandatory: boolean | "force";
  336. selectedClass: string;
  337. continuous: boolean;
  338. nextIcon: IconValue;
  339. prevIcon: IconValue;
  340. } & {
  341. class?: any;
  342. touch?: boolean | TouchHandlers | undefined;
  343. theme?: string | undefined;
  344. modelValue?: any;
  345. showArrows?: string | boolean | undefined;
  346. } & {
  347. $children?: vue.VNodeChild | {
  348. default?: ((arg: {
  349. group: GroupProvide;
  350. }) => vue.VNodeChild) | undefined;
  351. additional?: ((arg: {
  352. group: GroupProvide;
  353. }) => vue.VNodeChild) | undefined;
  354. prev?: ((arg: {
  355. props: ControlProps;
  356. }) => vue.VNodeChild) | undefined;
  357. next?: ((arg: {
  358. props: ControlProps;
  359. }) => vue.VNodeChild) | undefined;
  360. } | ((arg: {
  361. group: GroupProvide;
  362. }) => vue.VNodeChild);
  363. 'v-slots'?: {
  364. default?: false | ((arg: {
  365. group: GroupProvide;
  366. }) => vue.VNodeChild) | undefined;
  367. additional?: false | ((arg: {
  368. group: GroupProvide;
  369. }) => vue.VNodeChild) | undefined;
  370. prev?: false | ((arg: {
  371. props: ControlProps;
  372. }) => vue.VNodeChild) | undefined;
  373. next?: false | ((arg: {
  374. props: ControlProps;
  375. }) => vue.VNodeChild) | undefined;
  376. } | undefined;
  377. } & {
  378. "v-slot:default"?: false | ((arg: {
  379. group: GroupProvide;
  380. }) => vue.VNodeChild) | undefined;
  381. "v-slot:additional"?: false | ((arg: {
  382. group: GroupProvide;
  383. }) => vue.VNodeChild) | undefined;
  384. "v-slot:prev"?: false | ((arg: {
  385. props: ControlProps;
  386. }) => vue.VNodeChild) | undefined;
  387. "v-slot:next"?: false | ((arg: {
  388. props: ControlProps;
  389. }) => vue.VNodeChild) | undefined;
  390. } & {
  391. "onUpdate:modelValue"?: ((v: any) => any) | undefined;
  392. } & vue.ShallowUnwrapRef<{
  393. group: GroupProvide;
  394. }> & {} & vue.ComponentCustomProperties & {};
  395. __isFragment?: undefined;
  396. __isTeleport?: undefined;
  397. __isSuspense?: undefined;
  398. } & vue.ComponentOptionsBase<{
  399. reverse: boolean;
  400. direction: "horizontal" | "vertical";
  401. style: vue.StyleValue;
  402. disabled: boolean;
  403. tag: string;
  404. mandatory: boolean | "force";
  405. selectedClass: string;
  406. continuous: boolean;
  407. nextIcon: IconValue;
  408. prevIcon: IconValue;
  409. } & {
  410. class?: any;
  411. touch?: boolean | TouchHandlers | undefined;
  412. theme?: string | undefined;
  413. modelValue?: any;
  414. showArrows?: string | boolean | undefined;
  415. } & {
  416. $children?: vue.VNodeChild | {
  417. default?: ((arg: {
  418. group: GroupProvide;
  419. }) => vue.VNodeChild) | undefined;
  420. additional?: ((arg: {
  421. group: GroupProvide;
  422. }) => vue.VNodeChild) | undefined;
  423. prev?: ((arg: {
  424. props: ControlProps;
  425. }) => vue.VNodeChild) | undefined;
  426. next?: ((arg: {
  427. props: ControlProps;
  428. }) => vue.VNodeChild) | undefined;
  429. } | ((arg: {
  430. group: GroupProvide;
  431. }) => vue.VNodeChild);
  432. 'v-slots'?: {
  433. default?: false | ((arg: {
  434. group: GroupProvide;
  435. }) => vue.VNodeChild) | undefined;
  436. additional?: false | ((arg: {
  437. group: GroupProvide;
  438. }) => vue.VNodeChild) | undefined;
  439. prev?: false | ((arg: {
  440. props: ControlProps;
  441. }) => vue.VNodeChild) | undefined;
  442. next?: false | ((arg: {
  443. props: ControlProps;
  444. }) => vue.VNodeChild) | undefined;
  445. } | undefined;
  446. } & {
  447. "v-slot:default"?: false | ((arg: {
  448. group: GroupProvide;
  449. }) => vue.VNodeChild) | undefined;
  450. "v-slot:additional"?: false | ((arg: {
  451. group: GroupProvide;
  452. }) => vue.VNodeChild) | undefined;
  453. "v-slot:prev"?: false | ((arg: {
  454. props: ControlProps;
  455. }) => vue.VNodeChild) | undefined;
  456. "v-slot:next"?: false | ((arg: {
  457. props: ControlProps;
  458. }) => vue.VNodeChild) | undefined;
  459. } & {
  460. "onUpdate:modelValue"?: ((v: any) => any) | undefined;
  461. }, {
  462. group: GroupProvide;
  463. }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  464. 'update:modelValue': (v: any) => boolean;
  465. }, string, {
  466. reverse: boolean;
  467. direction: "horizontal" | "vertical";
  468. style: vue.StyleValue;
  469. disabled: boolean;
  470. tag: string;
  471. mandatory: boolean | "force";
  472. touch: boolean | TouchHandlers;
  473. selectedClass: string;
  474. continuous: boolean;
  475. nextIcon: IconValue;
  476. prevIcon: IconValue;
  477. }, {}, string, vue.SlotsType<Partial<{
  478. default: (arg: {
  479. group: GroupProvide;
  480. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  481. [key: string]: any;
  482. }>[];
  483. additional: (arg: {
  484. group: GroupProvide;
  485. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  486. [key: string]: any;
  487. }>[];
  488. prev: (arg: {
  489. props: ControlProps;
  490. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  491. [key: string]: any;
  492. }>[];
  493. next: (arg: {
  494. props: ControlProps;
  495. }) => vue.VNode<vue.RendererNode, vue.RendererElement, {
  496. [key: string]: any;
  497. }>[];
  498. }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
  499. theme: StringConstructor;
  500. tag: {
  501. type: StringConstructor;
  502. default: string;
  503. };
  504. class: PropType<any>;
  505. style: {
  506. type: PropType<vue.StyleValue>;
  507. default: null;
  508. };
  509. continuous: BooleanConstructor;
  510. nextIcon: {
  511. type: PropType<IconValue>;
  512. default: string;
  513. };
  514. prevIcon: {
  515. type: PropType<IconValue>;
  516. default: string;
  517. };
  518. reverse: BooleanConstructor;
  519. showArrows: {
  520. type: (StringConstructor | BooleanConstructor)[];
  521. validator: (v: any) => boolean;
  522. };
  523. touch: {
  524. type: PropType<boolean | TouchHandlers>;
  525. default: undefined;
  526. };
  527. direction: {
  528. type: PropType<"horizontal" | "vertical">;
  529. default: string;
  530. };
  531. modelValue: null;
  532. disabled: BooleanConstructor;
  533. selectedClass: {
  534. type: StringConstructor;
  535. default: string;
  536. };
  537. mandatory: {
  538. type: PropType<boolean | "force">;
  539. default: "force";
  540. };
  541. }, vue.ExtractPropTypes<{
  542. theme: StringConstructor;
  543. tag: {
  544. type: StringConstructor;
  545. default: string;
  546. };
  547. class: PropType<any>;
  548. style: {
  549. type: PropType<vue.StyleValue>;
  550. default: null;
  551. };
  552. continuous: BooleanConstructor;
  553. nextIcon: {
  554. type: PropType<IconValue>;
  555. default: string;
  556. };
  557. prevIcon: {
  558. type: PropType<IconValue>;
  559. default: string;
  560. };
  561. reverse: BooleanConstructor;
  562. showArrows: {
  563. type: (StringConstructor | BooleanConstructor)[];
  564. validator: (v: any) => boolean;
  565. };
  566. touch: {
  567. type: PropType<boolean | TouchHandlers>;
  568. default: undefined;
  569. };
  570. direction: {
  571. type: PropType<"horizontal" | "vertical">;
  572. default: string;
  573. };
  574. modelValue: null;
  575. disabled: BooleanConstructor;
  576. selectedClass: {
  577. type: StringConstructor;
  578. default: string;
  579. };
  580. mandatory: {
  581. type: PropType<boolean | "force">;
  582. default: "force";
  583. };
  584. }>>;
  585. type VWindow = InstanceType<typeof VWindow>;
  586. declare const VWindowItem: {
  587. new (...args: any[]): {
  588. $: vue.ComponentInternalInstance;
  589. $data: {};
  590. $props: {
  591. transition?: string | boolean | undefined;
  592. style?: vue.StyleValue | undefined;
  593. eager?: boolean | undefined;
  594. disabled?: boolean | undefined;
  595. reverseTransition?: string | boolean | undefined;
  596. key?: string | number | symbol | undefined;
  597. value?: any;
  598. class?: any;
  599. $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
  600. default?: (() => vue.VNodeChild) | undefined;
  601. };
  602. ref?: vue.VNodeRef | undefined;
  603. ref_for?: boolean | undefined;
  604. ref_key?: string | undefined;
  605. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  606. 'v-slots'?: {
  607. default?: false | (() => vue.VNodeChild) | undefined;
  608. } | undefined;
  609. onVnodeBeforeMount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  610. [key: string]: any;
  611. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  612. [key: string]: any;
  613. }>) => void)[] | undefined;
  614. onVnodeMounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  615. [key: string]: any;
  616. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  617. [key: string]: any;
  618. }>) => void)[] | undefined;
  619. onVnodeBeforeUpdate?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  620. [key: string]: any;
  621. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  622. [key: string]: any;
  623. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  624. [key: string]: any;
  625. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  626. [key: string]: any;
  627. }>) => void)[] | undefined;
  628. onVnodeUpdated?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  629. [key: string]: any;
  630. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  631. [key: string]: any;
  632. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  633. [key: string]: any;
  634. }>, oldVNode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  635. [key: string]: any;
  636. }>) => void)[] | undefined;
  637. onVnodeBeforeUnmount?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  638. [key: string]: any;
  639. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  640. [key: string]: any;
  641. }>) => void)[] | undefined;
  642. onVnodeUnmounted?: ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  643. [key: string]: any;
  644. }>) => void) | ((vnode: vue.VNode<vue.RendererNode, vue.RendererElement, {
  645. [key: string]: any;
  646. }>) => void)[] | undefined;
  647. selectedClass?: string | undefined;
  648. "onGroup:selected"?: ((val: {
  649. value: boolean;
  650. }) => any) | undefined;
  651. };
  652. $attrs: {
  653. [x: string]: unknown;
  654. };
  655. $refs: {
  656. [x: string]: unknown;
  657. };
  658. $slots: Readonly<{
  659. default?: (() => vue.VNode<vue.RendererNode, vue.RendererElement, {
  660. [key: string]: any;
  661. }>[]) | undefined;
  662. }>;
  663. $root: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
  664. $parent: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
  665. $emit: (event: "group:selected", val: {
  666. value: boolean;
  667. }) => void;
  668. $el: any;
  669. $options: vue.ComponentOptionsBase<{
  670. style: vue.StyleValue;
  671. eager: boolean;
  672. disabled: boolean;
  673. } & {
  674. transition?: string | boolean | undefined;
  675. value?: any;
  676. class?: any;
  677. selectedClass?: string | undefined;
  678. reverseTransition?: string | boolean | undefined;
  679. } & {
  680. $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
  681. default?: (() => vue.VNodeChild) | undefined;
  682. };
  683. 'v-slots'?: {
  684. default?: false | (() => vue.VNodeChild) | undefined;
  685. } | undefined;
  686. } & {
  687. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  688. } & {
  689. "onGroup:selected"?: ((val: {
  690. value: boolean;
  691. }) => any) | undefined;
  692. }, {
  693. groupItem: GroupItemProvide;
  694. }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  695. 'group:selected': (val: {
  696. value: boolean;
  697. }) => true;
  698. }, string, {
  699. transition: string | boolean;
  700. style: vue.StyleValue;
  701. eager: boolean;
  702. disabled: boolean;
  703. reverseTransition: string | boolean;
  704. }, {}, string, vue.SlotsType<Partial<{
  705. default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
  706. [key: string]: any;
  707. }>[];
  708. }>>> & {
  709. beforeCreate?: ((() => void) | (() => void)[]) | undefined;
  710. created?: ((() => void) | (() => void)[]) | undefined;
  711. beforeMount?: ((() => void) | (() => void)[]) | undefined;
  712. mounted?: ((() => void) | (() => void)[]) | undefined;
  713. beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
  714. updated?: ((() => void) | (() => void)[]) | undefined;
  715. activated?: ((() => void) | (() => void)[]) | undefined;
  716. deactivated?: ((() => void) | (() => void)[]) | undefined;
  717. beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
  718. beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
  719. destroyed?: ((() => void) | (() => void)[]) | undefined;
  720. unmounted?: ((() => void) | (() => void)[]) | undefined;
  721. renderTracked?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
  722. renderTriggered?: (((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[]) | undefined;
  723. errorCaptured?: (((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, vue.ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
  724. };
  725. $forceUpdate: () => void;
  726. $nextTick: typeof nextTick;
  727. $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: vue.WatchOptions<boolean> | undefined): vue.WatchStopHandle;
  728. } & {
  729. style: vue.StyleValue;
  730. eager: boolean;
  731. disabled: boolean;
  732. } & {
  733. transition?: string | boolean | undefined;
  734. value?: any;
  735. class?: any;
  736. selectedClass?: string | undefined;
  737. reverseTransition?: string | boolean | undefined;
  738. } & {
  739. $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
  740. default?: (() => vue.VNodeChild) | undefined;
  741. };
  742. 'v-slots'?: {
  743. default?: false | (() => vue.VNodeChild) | undefined;
  744. } | undefined;
  745. } & {
  746. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  747. } & {
  748. "onGroup:selected"?: ((val: {
  749. value: boolean;
  750. }) => any) | undefined;
  751. } & vue.ShallowUnwrapRef<{
  752. groupItem: GroupItemProvide;
  753. }> & {} & vue.ComponentCustomProperties & {};
  754. __isFragment?: undefined;
  755. __isTeleport?: undefined;
  756. __isSuspense?: undefined;
  757. } & vue.ComponentOptionsBase<{
  758. style: vue.StyleValue;
  759. eager: boolean;
  760. disabled: boolean;
  761. } & {
  762. transition?: string | boolean | undefined;
  763. value?: any;
  764. class?: any;
  765. selectedClass?: string | undefined;
  766. reverseTransition?: string | boolean | undefined;
  767. } & {
  768. $children?: vue.VNodeChild | (() => vue.VNodeChild) | {
  769. default?: (() => vue.VNodeChild) | undefined;
  770. };
  771. 'v-slots'?: {
  772. default?: false | (() => vue.VNodeChild) | undefined;
  773. } | undefined;
  774. } & {
  775. "v-slot:default"?: false | (() => vue.VNodeChild) | undefined;
  776. } & {
  777. "onGroup:selected"?: ((val: {
  778. value: boolean;
  779. }) => any) | undefined;
  780. }, {
  781. groupItem: GroupItemProvide;
  782. }, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
  783. 'group:selected': (val: {
  784. value: boolean;
  785. }) => true;
  786. }, string, {
  787. transition: string | boolean;
  788. style: vue.StyleValue;
  789. eager: boolean;
  790. disabled: boolean;
  791. reverseTransition: string | boolean;
  792. }, {}, string, vue.SlotsType<Partial<{
  793. default: () => vue.VNode<vue.RendererNode, vue.RendererElement, {
  794. [key: string]: any;
  795. }>[];
  796. }>>> & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & FilterPropsOptions<{
  797. eager: BooleanConstructor;
  798. value: null;
  799. disabled: BooleanConstructor;
  800. selectedClass: StringConstructor;
  801. class: vue.PropType<any>;
  802. style: {
  803. type: vue.PropType<vue.StyleValue>;
  804. default: null;
  805. };
  806. reverseTransition: {
  807. type: (StringConstructor | BooleanConstructor)[];
  808. default: undefined;
  809. };
  810. transition: {
  811. type: (StringConstructor | BooleanConstructor)[];
  812. default: undefined;
  813. };
  814. }, vue.ExtractPropTypes<{
  815. eager: BooleanConstructor;
  816. value: null;
  817. disabled: BooleanConstructor;
  818. selectedClass: StringConstructor;
  819. class: vue.PropType<any>;
  820. style: {
  821. type: vue.PropType<vue.StyleValue>;
  822. default: null;
  823. };
  824. reverseTransition: {
  825. type: (StringConstructor | BooleanConstructor)[];
  826. default: undefined;
  827. };
  828. transition: {
  829. type: (StringConstructor | BooleanConstructor)[];
  830. default: undefined;
  831. };
  832. }>>;
  833. type VWindowItem = InstanceType<typeof VWindowItem>;
  834. export { VWindow, VWindowItem };