index.d.mts 32 KB

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