@bridge-ui/vue 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/ai/skills/bridge-ui-components/SKILL.md +2 -1
  2. package/dist/Adapters/Examples/date-moment.js +31 -31
  3. package/dist/Adapters/Examples/i18n-dictionary.js +14 -0
  4. package/dist/Adapters/Examples/icon-fontawesome.js +23 -22
  5. package/dist/Adapters/Examples/icon-heroicons.js +46 -45
  6. package/dist/Adapters/Examples/icon-lucide.js +12 -11
  7. package/dist/Adapters/Examples/icon-phosphor.js +48 -47
  8. package/dist/Adapters/Examples/icon-tabler.js +12 -11
  9. package/dist/Components/BaseField/composables/useBaseField.d.ts +3 -3
  10. package/dist/Components/BaseField/composables/useBaseField.js +7 -7
  11. package/dist/Components/Calendar/Calendar.vue_vue_type_script_setup_true_lang.js +8 -8
  12. package/dist/Components/Carousel/Carousel.js +5 -0
  13. package/dist/Components/Carousel/Carousel.vue.d.ts +22 -0
  14. package/dist/Components/Carousel/Carousel.vue_vue_type_script_setup_true_lang.js +49 -0
  15. package/dist/Components/Carousel/carousel.types.d.ts +236 -0
  16. package/dist/Components/Carousel/carouselInjectionKey.d.ts +48 -0
  17. package/dist/Components/Carousel/carouselInjectionKey.js +4 -0
  18. package/dist/Components/Carousel/composables/useCarousel.d.ts +91 -0
  19. package/dist/Components/Carousel/composables/useCarousel.js +331 -0
  20. package/dist/Components/Carousel/index.d.ts +4 -0
  21. package/dist/Components/Carousel/index.js +4 -0
  22. package/dist/Components/CarouselSlide/CarouselSlide.js +5 -0
  23. package/dist/Components/CarouselSlide/CarouselSlide.vue.d.ts +11 -0
  24. package/dist/Components/CarouselSlide/CarouselSlide.vue_vue_type_script_setup_true_lang.js +17 -0
  25. package/dist/Components/CarouselSlide/carouselSlide.types.d.ts +40 -0
  26. package/dist/Components/CarouselSlide/composables/useCarouselSlide.d.ts +205 -0
  27. package/dist/Components/CarouselSlide/composables/useCarouselSlide.js +79 -0
  28. package/dist/Components/CarouselSlide/index.d.ts +3 -0
  29. package/dist/Components/CarouselSlide/index.js +3 -0
  30. package/dist/Components/FileUpload/FileUpload.vue.d.ts +22 -24
  31. package/dist/Components/FileUpload/FileUpload.vue_vue_type_script_setup_true_lang.js +101 -92
  32. package/dist/Components/FileUpload/composables/useFileUpload.d.ts +66 -16
  33. package/dist/Components/FileUpload/composables/useFileUpload.js +182 -157
  34. package/dist/Components/FileUpload/fileUpload.types.d.ts +113 -23
  35. package/dist/Components/FileUpload/fileUploadInjectionKey.d.ts +61 -0
  36. package/dist/Components/FileUpload/fileUploadInjectionKey.js +4 -0
  37. package/dist/Components/FileUpload/index.d.ts +1 -1
  38. package/dist/Components/FileUploadItem/FileUploadItem.js +5 -0
  39. package/dist/Components/FileUploadItem/FileUploadItem.vue.d.ts +12 -0
  40. package/dist/Components/FileUploadItem/FileUploadItem.vue_vue_type_script_setup_true_lang.js +83 -0
  41. package/dist/Components/FileUploadItem/composables/useFileUploadItem.d.ts +1153 -0
  42. package/dist/Components/FileUploadItem/composables/useFileUploadItem.js +94 -0
  43. package/dist/Components/FileUploadItem/fileUploadItem.types.d.ts +20 -0
  44. package/dist/Components/FileUploadItem/index.d.ts +3 -0
  45. package/dist/Components/FileUploadItem/index.js +3 -0
  46. package/dist/Components/Pagination/composables/usePagination.d.ts +1 -1
  47. package/dist/Components/Sidebar/composables/useSidebarTrigger.d.ts +1 -1
  48. package/dist/augments.d.ts +10 -1
  49. package/dist/index.d.ts +7 -1
  50. package/dist/index.js +115 -109
  51. package/docs/README.md +1 -0
  52. package/docs/components/Carousel.md +113 -0
  53. package/docs/components/FileUpload.md +83 -8
  54. package/package.json +2 -2
@@ -0,0 +1,331 @@
1
+ import { useResolveMessage as e } from "../../../Adapters/I18n/useI18nAdapter.js";
2
+ import { mergePartBind as t, useBridgeUIComponent as n, useBridgeUIMergedRegistryClasses as r } from "../../../Utils/index.js";
3
+ import { CAROUSEL_INJECTION_KEY as i } from "../carouselInjectionKey.js";
4
+ import { computed as a, onMounted as o, onScopeDispose as s, provide as c, ref as l, useAttrs as u, useId as ee, watch as d } from "vue";
5
+ import { get as f, omit as p } from "es-toolkit/compat";
6
+ import { canMoveCarousel as m, clampCarouselIndex as h, getAdjacentCarouselIndex as te, getCarouselMaxIndex as g, getCarouselSlideStyle as _, getCarouselTrackStyle as v, resolveCarouselAutoPlayInterval as y, resolveCarouselSwipeDirection as b, shouldPauseCarouselAutoPlay as ne } from "@bridge-ui/core/Domain";
7
+ import { carouselSizeProps as re } from "@bridge-ui/core/Tokens";
8
+ import { cn as x, mergeBridgeUILayeredClasses as ie, splitComponentProps as ae } from "@bridge-ui/core/Utils";
9
+ //#region src/Components/Carousel/composables/useCarousel.ts
10
+ var oe = [
11
+ "gap",
12
+ "loop",
13
+ "size",
14
+ "classes",
15
+ "autoPlay",
16
+ "indicators",
17
+ "customProps",
18
+ "orientation",
19
+ "defaultIndex",
20
+ "slidesPerView"
21
+ ], S = [
22
+ "onBlur",
23
+ "onFocus",
24
+ "onKeydown",
25
+ "onMouseenter",
26
+ "onMouseleave"
27
+ ], se = [
28
+ "onPointerup",
29
+ "onPointerdown",
30
+ "onPointercancel"
31
+ ];
32
+ function ce(e) {
33
+ if (!(e instanceof HTMLElement)) return !1;
34
+ if (e.isContentEditable) return !0;
35
+ let t = e.tagName;
36
+ return t === "INPUT" || t === "SELECT" || t === "TEXTAREA";
37
+ }
38
+ function C(e) {
39
+ return typeof e == "function" ? e : void 0;
40
+ }
41
+ function w(w, T, E) {
42
+ let D = e(), le = u(), ue = `bridge-carousel${ee()}`, O = l([]), k = l(w.defaultIndex ?? T.defaultIndex ?? 0), A = l(!1), j = l(!1), M = l(!1), N = l(""), P = l(null), F = l(null), I = a(() => ae({
43
+ props: {
44
+ ...le,
45
+ ...w
46
+ },
47
+ bridgeKeys: oe
48
+ })), { merged: L, entry: R } = n({
49
+ libDefaults: T,
50
+ componentName: "Carousel",
51
+ props: () => I.value.componentProps
52
+ }), z = a(() => {
53
+ let e = E.value ?? k.value, t = O.value.length;
54
+ if (t <= 0) return e;
55
+ let n = g(t, L.value.slidesPerView);
56
+ return h(e, n + 1);
57
+ }), B = r({
58
+ entry: R,
59
+ props: () => I.value.componentProps
60
+ }), V = a(() => ie(re, R.value?.tokens?.size)), H = a(() => f(V.value, L.value.size)), U = a(() => f(H.value, "icon") ?? "sm");
61
+ function W(e) {
62
+ return O.value.includes(e) || (O.value = [...O.value, e]), () => {
63
+ O.value = O.value.filter((t) => t !== e);
64
+ };
65
+ }
66
+ function de(e) {
67
+ return O.value.indexOf(e);
68
+ }
69
+ function G(e) {
70
+ let t = O.value.length, n = t <= 0 ? null : g(t, L.value.slidesPerView), r = n == null ? e : h(e, n + 1);
71
+ r !== z.value && (E.value === void 0 && (k.value = r), E.value = r);
72
+ }
73
+ function K(e) {
74
+ let t = O.value.length, n = {
75
+ loop: L.value.loop === !0,
76
+ count: t,
77
+ direction: e,
78
+ slidesPerView: L.value.slidesPerView,
79
+ index: z.value
80
+ };
81
+ m(n) && G(te(n));
82
+ }
83
+ function q(e) {
84
+ G(e);
85
+ }
86
+ d(() => ({
87
+ count: O.value.length,
88
+ slidesPerView: L.value.slidesPerView
89
+ }), ({ count: e }) => {
90
+ e <= 0 || E.value !== void 0 || (k.value = h(k.value, g(e, L.value.slidesPerView) + 1));
91
+ }), P.value = z.value, d(z, (e) => {
92
+ if (e === P.value) return;
93
+ P.value = e;
94
+ let t = O.value.length;
95
+ t <= 0 || (N.value = D("Slide {{index}} of {{count}}", {
96
+ count: t,
97
+ index: e + 1
98
+ }));
99
+ }), o(() => {
100
+ if (typeof window.matchMedia != "function") return;
101
+ let e = window.matchMedia("(prefers-reduced-motion: reduce)"), t = () => {
102
+ M.value = e.matches;
103
+ };
104
+ t(), e.addEventListener("change", t), s(() => {
105
+ e.removeEventListener("change", t);
106
+ });
107
+ });
108
+ let J;
109
+ function Y() {
110
+ J !== void 0 && (window.clearInterval(J), J = void 0);
111
+ }
112
+ d(() => [
113
+ A.value,
114
+ j.value,
115
+ L.value.loop,
116
+ L.value.autoPlay,
117
+ M.value,
118
+ O.value.length
119
+ ], () => {
120
+ Y();
121
+ let e = y(L.value.autoPlay);
122
+ e == null || ne({
123
+ focused: j.value,
124
+ hovered: A.value,
125
+ reducedMotion: M.value
126
+ }) || (J = window.setInterval(() => {
127
+ K(1);
128
+ }, e));
129
+ }, { immediate: !0 }), s(Y);
130
+ let X = a(() => {
131
+ let e = O.value.length;
132
+ return e <= 0 ? 0 : g(e, L.value.slidesPerView) + 1;
133
+ }), Z = a(() => X.value > 1), fe = a(() => L.value.indicators !== !1 && X.value > 1), Q = a(() => L.value.orientation === "vertical"), $ = a(() => !Q.value && I.value.inheritedAttrs.dir === "rtl"), pe = a(() => Q.value ? "ArrowUp" : $.value ? "ArrowRight" : "ArrowLeft"), me = a(() => Q.value ? "ArrowDown" : $.value ? "ArrowLeft" : "ArrowRight"), he = a(() => !m({
134
+ direction: -1,
135
+ index: z.value,
136
+ count: O.value.length,
137
+ loop: L.value.loop === !0,
138
+ slidesPerView: L.value.slidesPerView
139
+ })), ge = a(() => !m({
140
+ direction: 1,
141
+ index: z.value,
142
+ count: O.value.length,
143
+ loop: L.value.loop === !0,
144
+ slidesPerView: L.value.slidesPerView
145
+ })), _e = a(() => Array.from({ length: X.value }, (e, t) => t)), ve = a(() => ({
146
+ getIndex: de,
147
+ registerSlide: W,
148
+ id: ue,
149
+ sizeItem: H.value,
150
+ activeIndex: z.value,
151
+ slideCount: O.value.length,
152
+ slidesPerView: L.value.slidesPerView,
153
+ slidePartProps: L.value.customProps?.slide,
154
+ slideClassName: f(B.value, "slide") ?? "",
155
+ slideStyle: _(L.value.slidesPerView, L.value.gap, L.value.orientation)
156
+ }));
157
+ c(i, ve);
158
+ let ye = a(() => {
159
+ let e = C(I.value.inheritedAttrs.onBlur), n = C(I.value.inheritedAttrs.onFocus), r = C(I.value.inheritedAttrs.onKeydown), i = C(I.value.inheritedAttrs.onMouseenter), a = C(I.value.inheritedAttrs.onMouseleave), o = p(I.value.inheritedAttrs, [...S]);
160
+ return t(L.value.customProps?.root, o, {
161
+ role: "region",
162
+ "aria-roledescription": "carousel",
163
+ "data-orientation": L.value.orientation,
164
+ onFocus: (e) => {
165
+ j.value = !0, n?.(e);
166
+ },
167
+ onMouseenter: (e) => {
168
+ A.value = !0, i?.(e);
169
+ },
170
+ onMouseleave: (e) => {
171
+ A.value = !1, a?.(e);
172
+ },
173
+ "aria-label": I.value.inheritedAttrs["aria-label"] ?? D("Carousel"),
174
+ class: x({
175
+ [f(H.value, "root") ?? ""]: !0,
176
+ [f(B.value, "root") ?? ""]: !0
177
+ }),
178
+ onBlur: (t) => {
179
+ let n = t.relatedTarget, r = t.currentTarget;
180
+ (!(n instanceof Node) || !(r instanceof Node) || !r.contains(n)) && (j.value = !1), e?.(t);
181
+ },
182
+ onKeydown: (e) => {
183
+ ce(e.target) || (e.key === me.value ? (e.preventDefault(), K(1)) : e.key === pe.value ? (e.preventDefault(), K(-1)) : e.key === "Home" ? (e.preventDefault(), q(0)) : e.key === "End" && (e.preventDefault(), q(g(O.value.length, L.value.slidesPerView)))), r?.(e);
184
+ }
185
+ });
186
+ }), be = a(() => {
187
+ let e = L.value.customProps?.viewport, n = C(e?.onPointerup), r = C(e?.onPointerdown), i = C(e?.onPointercancel);
188
+ return t(p(e, [...se]), {}, {
189
+ "data-part": "viewport",
190
+ onPointercancel: (e) => {
191
+ F.value = null, i?.(e);
192
+ },
193
+ class: x({
194
+ [f(H.value, "viewport") ?? ""]: !0,
195
+ [f(B.value, "viewport") ?? ""]: !0,
196
+ [f(H.value, "viewportVertical") ?? ""]: Q.value
197
+ }),
198
+ onPointerdown: (e) => {
199
+ (e.pointerType !== "mouse" || e.button === 0) && (F.value = {
200
+ x: e.clientX,
201
+ y: e.clientY,
202
+ pointerId: e.pointerId
203
+ }), r?.(e);
204
+ },
205
+ onPointerup: (e) => {
206
+ let t = F.value;
207
+ if (F.value = null, t && t.pointerId === e.pointerId) {
208
+ let n = b(e.clientX - t.x, e.clientY - t.y, {
209
+ rtl: $.value,
210
+ orientation: L.value.orientation
211
+ });
212
+ n && K(n);
213
+ }
214
+ n?.(e);
215
+ }
216
+ });
217
+ }), xe = a(() => t(L.value.customProps?.track, {}, {
218
+ "data-part": "track",
219
+ class: x({
220
+ [f(H.value, "track") ?? ""]: !0,
221
+ [f(B.value, "track") ?? ""]: !0,
222
+ [f(H.value, "trackVertical") ?? ""]: Q.value
223
+ }),
224
+ style: v(z.value, {
225
+ rtl: $.value,
226
+ gap: L.value.gap,
227
+ count: O.value.length,
228
+ orientation: L.value.orientation,
229
+ slidesPerView: L.value.slidesPerView
230
+ })
231
+ })), Se = a(() => t(L.value.customProps?.controls, {}, {
232
+ "data-part": "controls",
233
+ class: x({
234
+ [f(H.value, "controls") ?? ""]: !0,
235
+ [f(B.value, "controls") ?? ""]: !0,
236
+ [f(H.value, "controlsVertical") ?? ""]: Q.value
237
+ })
238
+ })), Ce = a(() => Z.value ? Q.value ? f(H.value, "frameVertical") ?? "relative" : f(H.value, "frame") ?? "relative" : "relative"), we = a(() => t(L.value.customProps?.prev, {}, {
239
+ "data-part": "prev",
240
+ type: "button",
241
+ disabled: he.value,
242
+ onClick: () => {
243
+ K(-1);
244
+ },
245
+ "aria-label": D("Previous slide"),
246
+ class: x({
247
+ [f(H.value, "control") ?? ""]: !0,
248
+ [f(B.value, "prev") ?? ""]: !0,
249
+ [f(B.value, "control") ?? ""]: !0
250
+ })
251
+ })), Te = a(() => t(L.value.customProps?.next, {}, {
252
+ "data-part": "next",
253
+ type: "button",
254
+ disabled: ge.value,
255
+ "aria-label": D("Next slide"),
256
+ onClick: () => {
257
+ K(1);
258
+ },
259
+ class: x({
260
+ [f(H.value, "control") ?? ""]: !0,
261
+ [f(B.value, "next") ?? ""]: !0,
262
+ [f(B.value, "control") ?? ""]: !0
263
+ })
264
+ })), Ee = a(() => t(L.value.customProps?.prevIcon, {}, {
265
+ "aria-hidden": !0,
266
+ size: U.value,
267
+ class: Q.value ? void 0 : "rtl:rotate-180"
268
+ })), De = a(() => t(L.value.customProps?.nextIcon, {}, {
269
+ "aria-hidden": !0,
270
+ size: U.value,
271
+ class: Q.value ? void 0 : "rtl:rotate-180"
272
+ })), Oe = a(() => t(L.value.customProps?.indicators, {}, {
273
+ role: "group",
274
+ "data-part": "indicators",
275
+ "aria-label": D("Slides"),
276
+ class: x({
277
+ [f(H.value, "indicators") ?? ""]: !0,
278
+ [f(B.value, "indicators") ?? ""]: !0
279
+ })
280
+ })), ke = a(() => t(L.value.customProps?.live, {}, {
281
+ "aria-atomic": !0,
282
+ "data-part": "live",
283
+ "aria-live": "polite",
284
+ class: x({
285
+ [f(H.value, "live") ?? ""]: !0,
286
+ [f(B.value, "live") ?? ""]: !0
287
+ })
288
+ }));
289
+ function Ae(e) {
290
+ let n = e === z.value;
291
+ return t(L.value.customProps?.indicator, {}, {
292
+ type: "button",
293
+ "data-part": "indicator",
294
+ "aria-current": n ? "true" : void 0,
295
+ onClick: () => {
296
+ q(e);
297
+ },
298
+ "aria-label": D("Go to slide {{index}}", { index: e + 1 }),
299
+ class: x({
300
+ [f(H.value, "indicator") ?? ""]: !0,
301
+ [f(H.value, "indicatorSelected") ?? ""]: n,
302
+ [f(B.value, "indicator") ?? ""]: !0
303
+ })
304
+ });
305
+ }
306
+ let je = a(() => Q.value ? "chevronUp" : "chevronLeft");
307
+ return {
308
+ go: K,
309
+ liveBind: ke,
310
+ nextBind: Te,
311
+ nextIcon: a(() => Q.value ? "chevronDown" : "chevronRight"),
312
+ prevBind: we,
313
+ prevIcon: je,
314
+ rootBind: ye,
315
+ trackBind: xe,
316
+ activeIndex: z,
317
+ controlsBind: Se,
318
+ nextIconBind: De,
319
+ prevIconBind: Ee,
320
+ showControls: Z,
321
+ viewportBind: be,
322
+ announcement: N,
323
+ frameClassName: Ce,
324
+ indicatorsBind: Oe,
325
+ showIndicators: fe,
326
+ getIndicatorBind: Ae,
327
+ indicatorIndexes: _e
328
+ };
329
+ }
330
+ //#endregion
331
+ export { w as useCarousel };
@@ -0,0 +1,4 @@
1
+ export type { CarouselClasses, CarouselCustomProps, CarouselEmits, CarouselIndicatorState, CarouselOwnProps, CarouselProps, CarouselSizeOverrides, CarouselSlots, } from './carousel.types';
2
+ export { default as Carousel } from './Carousel.vue';
3
+ export { CAROUSEL_INJECTION_KEY, type CarouselContextValue, } from './carouselInjectionKey';
4
+ export { useCarousel } from './composables/useCarousel';
@@ -0,0 +1,4 @@
1
+ import { CAROUSEL_INJECTION_KEY as e } from "./carouselInjectionKey.js";
2
+ import { useCarousel as t } from "./composables/useCarousel.js";
3
+ import n from "./Carousel.js";
4
+ export { e as CAROUSEL_INJECTION_KEY, n as Carousel, t as useCarousel };
@@ -0,0 +1,5 @@
1
+ import e from "./CarouselSlide.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/Components/CarouselSlide/CarouselSlide.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,11 @@
1
+ import { CarouselSlideOwnProps, CarouselSlideSlots } from './carouselSlide.types';
2
+ type __VLS_Slots = CarouselSlideSlots;
3
+ declare const __VLS_base: import('vue').DefineComponent<CarouselSlideOwnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CarouselSlideOwnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
5
+ declare const _default: typeof __VLS_export;
6
+ export default _default;
7
+ type __VLS_WithSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
@@ -0,0 +1,17 @@
1
+ import { useCarouselSlide as e } from "./composables/useCarouselSlide.js";
2
+ import { createElementBlock as t, defineComponent as n, guardReactiveProps as r, normalizeProps as i, openBlock as a, renderSlot as o, unref as s } from "vue";
3
+ //#region src/Components/CarouselSlide/CarouselSlide.vue?vue&type=script&setup=true&lang.ts
4
+ var c = /*@__PURE__*/ n({
5
+ inheritAttrs: !1,
6
+ __name: "CarouselSlide",
7
+ props: {
8
+ classes: {},
9
+ customProps: {}
10
+ },
11
+ setup(n) {
12
+ let { rootBind: c } = e(n);
13
+ return (e, n) => (a(), t("div", i(r(s(c))), [o(e.$slots, "default")], 16));
14
+ }
15
+ });
16
+ //#endregion
17
+ export { c as default };
@@ -0,0 +1,40 @@
1
+ import { HTMLAttributes, Slot } from 'vue';
2
+ import { MergeHtmlProps } from '@bridge-ui/core/Utils';
3
+ export interface CarouselSlideClasses {
4
+ /**
5
+ * Classes merged onto the slide root.
6
+ */
7
+ root?: string;
8
+ }
9
+ export interface CarouselSlideCustomProps {
10
+ /**
11
+ * Props forwarded to the slide root.
12
+ *
13
+ * @default undefined
14
+ */
15
+ root?: HTMLAttributes;
16
+ }
17
+ /**
18
+ * One slide inside `Carousel`.
19
+ */
20
+ export interface CarouselSlideOwnProps {
21
+ /**
22
+ * Classes for the slide.
23
+ *
24
+ * @default undefined
25
+ */
26
+ classes?: CarouselSlideClasses;
27
+ /**
28
+ * Extra props for the slide root.
29
+ *
30
+ * @default undefined
31
+ */
32
+ customProps?: CarouselSlideCustomProps;
33
+ }
34
+ export interface CarouselSlideSlots {
35
+ /**
36
+ * Slide content.
37
+ */
38
+ default?: Slot<undefined>;
39
+ }
40
+ export type CarouselSlideProps = MergeHtmlProps<CarouselSlideOwnProps, HTMLAttributes>;
@@ -0,0 +1,205 @@
1
+ import { CarouselSlideOwnProps } from '../carouselSlide.types';
2
+ export declare function useCarouselSlide(props: CarouselSlideOwnProps): {
3
+ index: import('vue').ComputedRef<number>;
4
+ rootBind: import('vue').ComputedRef<import('@bridge-ui/core/Utils').MergePartBind<{
5
+ role: string;
6
+ id: string;
7
+ "data-part": string;
8
+ "aria-label": string;
9
+ "aria-roledescription": string;
10
+ inert: boolean | undefined;
11
+ "aria-hidden": boolean | undefined;
12
+ class: string;
13
+ }, "class", {
14
+ class: string;
15
+ style: {
16
+ [x: string]: string;
17
+ };
18
+ innerHTML?: string | undefined;
19
+ accesskey?: string | undefined;
20
+ contenteditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
21
+ contextmenu?: string | undefined;
22
+ dir?: string | undefined;
23
+ draggable?: (boolean | "true" | "false") | undefined;
24
+ enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
25
+ enterKeyHint?: import('vue').HTMLAttributes["enterkeyhint"];
26
+ hidden?: (boolean | "true" | "false") | "" | "hidden" | "until-found" | undefined;
27
+ id?: string | undefined;
28
+ inert?: (boolean | "true" | "false") | undefined;
29
+ lang?: string | undefined;
30
+ placeholder?: string | undefined;
31
+ spellcheck?: (boolean | "true" | "false") | undefined;
32
+ tabindex?: (string | number) | undefined;
33
+ title?: string | undefined;
34
+ translate?: "yes" | "no" | undefined;
35
+ radiogroup?: string | undefined;
36
+ role?: string | undefined;
37
+ about?: string | undefined;
38
+ datatype?: string | undefined;
39
+ inlist?: any;
40
+ prefix?: string | undefined;
41
+ property?: string | undefined;
42
+ resource?: string | undefined;
43
+ typeof?: string | undefined;
44
+ vocab?: string | undefined;
45
+ autocapitalize?: string | undefined;
46
+ autocorrect?: string | undefined;
47
+ autosave?: string | undefined;
48
+ color?: string | undefined;
49
+ itemprop?: string | undefined;
50
+ itemscope?: (boolean | "true" | "false") | undefined;
51
+ itemtype?: string | undefined;
52
+ itemid?: string | undefined;
53
+ itemref?: string | undefined;
54
+ results?: (string | number) | undefined;
55
+ security?: string | undefined;
56
+ unselectable?: "on" | "off" | undefined;
57
+ inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
58
+ is?: string | undefined;
59
+ exportparts?: string;
60
+ part?: string;
61
+ 'aria-activedescendant'?: string | undefined;
62
+ 'aria-atomic'?: (boolean | "true" | "false") | undefined;
63
+ 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
64
+ 'aria-busy'?: (boolean | "true" | "false") | undefined;
65
+ 'aria-checked'?: (boolean | "true" | "false") | "mixed" | undefined;
66
+ 'aria-colcount'?: (string | number) | undefined;
67
+ 'aria-colindex'?: (string | number) | undefined;
68
+ 'aria-colspan'?: (string | number) | undefined;
69
+ 'aria-controls'?: string | undefined;
70
+ 'aria-current'?: (boolean | "true" | "false") | "page" | "step" | "location" | "date" | "time" | undefined;
71
+ 'aria-describedby'?: string | undefined;
72
+ 'aria-details'?: string | undefined;
73
+ 'aria-disabled'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
75
+ 'aria-errormessage'?: string | undefined;
76
+ 'aria-expanded'?: (boolean | "true" | "false") | undefined;
77
+ 'aria-flowto'?: string | undefined;
78
+ 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
79
+ 'aria-haspopup'?: (boolean | "true" | "false") | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
80
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
81
+ 'aria-invalid'?: (boolean | "true" | "false") | "grammar" | "spelling" | undefined;
82
+ 'aria-keyshortcuts'?: string | undefined;
83
+ 'aria-label'?: string | undefined;
84
+ 'aria-labelledby'?: string | undefined;
85
+ 'aria-level'?: (string | number) | undefined;
86
+ 'aria-live'?: "off" | "assertive" | "polite" | undefined;
87
+ 'aria-modal'?: (boolean | "true" | "false") | undefined;
88
+ 'aria-multiline'?: (boolean | "true" | "false") | undefined;
89
+ 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
90
+ 'aria-orientation'?: "horizontal" | "vertical" | undefined;
91
+ 'aria-owns'?: string | undefined;
92
+ 'aria-placeholder'?: string | undefined;
93
+ 'aria-posinset'?: (string | number) | undefined;
94
+ 'aria-pressed'?: (boolean | "true" | "false") | "mixed" | undefined;
95
+ 'aria-readonly'?: (boolean | "true" | "false") | undefined;
96
+ 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
97
+ 'aria-required'?: (boolean | "true" | "false") | undefined;
98
+ 'aria-roledescription'?: string | undefined;
99
+ 'aria-rowcount'?: (string | number) | undefined;
100
+ 'aria-rowindex'?: (string | number) | undefined;
101
+ 'aria-rowspan'?: (string | number) | undefined;
102
+ 'aria-selected'?: (boolean | "true" | "false") | undefined;
103
+ 'aria-setsize'?: (string | number) | undefined;
104
+ 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
105
+ 'aria-valuemax'?: (string | number) | undefined;
106
+ 'aria-valuemin'?: (string | number) | undefined;
107
+ 'aria-valuenow'?: (string | number) | undefined;
108
+ 'aria-valuetext'?: string | undefined;
109
+ onCopy?: ((payload: ClipboardEvent) => void) | undefined;
110
+ onCut?: ((payload: ClipboardEvent) => void) | undefined;
111
+ onPaste?: ((payload: ClipboardEvent) => void) | undefined;
112
+ onCompositionend?: ((payload: CompositionEvent) => void) | undefined;
113
+ onCompositionstart?: ((payload: CompositionEvent) => void) | undefined;
114
+ onCompositionupdate?: ((payload: CompositionEvent) => void) | undefined;
115
+ onDrag?: ((payload: DragEvent) => void) | undefined;
116
+ onDragend?: ((payload: DragEvent) => void) | undefined;
117
+ onDragenter?: ((payload: DragEvent) => void) | undefined;
118
+ onDragexit?: ((payload: DragEvent) => void) | undefined;
119
+ onDragleave?: ((payload: DragEvent) => void) | undefined;
120
+ onDragover?: ((payload: DragEvent) => void) | undefined;
121
+ onDragstart?: ((payload: DragEvent) => void) | undefined;
122
+ onDrop?: ((payload: DragEvent) => void) | undefined;
123
+ onFocus?: ((payload: FocusEvent) => void) | undefined;
124
+ onFocusin?: ((payload: FocusEvent) => void) | undefined;
125
+ onFocusout?: ((payload: FocusEvent) => void) | undefined;
126
+ onBlur?: ((payload: FocusEvent) => void) | undefined;
127
+ onChange?: ((payload: Event) => void) | undefined;
128
+ onBeforeinput?: ((payload: InputEvent) => void) | undefined;
129
+ onFormdata?: ((payload: FormDataEvent) => void) | undefined;
130
+ onInput?: ((payload: InputEvent) => void) | undefined;
131
+ onReset?: ((payload: Event) => void) | undefined;
132
+ onSubmit?: ((payload: SubmitEvent) => void) | undefined;
133
+ onInvalid?: ((payload: Event) => void) | undefined;
134
+ onFullscreenchange?: ((payload: Event) => void) | undefined;
135
+ onFullscreenerror?: ((payload: Event) => void) | undefined;
136
+ onLoad?: ((payload: Event) => void) | undefined;
137
+ onError?: ((payload: Event) => void) | undefined;
138
+ onKeydown?: ((payload: KeyboardEvent) => void) | undefined;
139
+ onKeypress?: ((payload: KeyboardEvent) => void) | undefined;
140
+ onKeyup?: ((payload: KeyboardEvent) => void) | undefined;
141
+ onDblclick?: ((payload: MouseEvent) => void) | undefined;
142
+ onMousedown?: ((payload: MouseEvent) => void) | undefined;
143
+ onMouseenter?: ((payload: MouseEvent) => void) | undefined;
144
+ onMouseleave?: ((payload: MouseEvent) => void) | undefined;
145
+ onMousemove?: ((payload: MouseEvent) => void) | undefined;
146
+ onMouseout?: ((payload: MouseEvent) => void) | undefined;
147
+ onMouseover?: ((payload: MouseEvent) => void) | undefined;
148
+ onMouseup?: ((payload: MouseEvent) => void) | undefined;
149
+ onAbort?: ((payload: UIEvent) => void) | undefined;
150
+ onCanplay?: ((payload: Event) => void) | undefined;
151
+ onCanplaythrough?: ((payload: Event) => void) | undefined;
152
+ onDurationchange?: ((payload: Event) => void) | undefined;
153
+ onEmptied?: ((payload: Event) => void) | undefined;
154
+ onEncrypted?: ((payload: MediaEncryptedEvent) => void) | undefined;
155
+ onEnded?: ((payload: Event) => void) | undefined;
156
+ onLoadeddata?: ((payload: Event) => void) | undefined;
157
+ onLoadedmetadata?: ((payload: Event) => void) | undefined;
158
+ onLoadstart?: ((payload: Event) => void) | undefined;
159
+ onPause?: ((payload: Event) => void) | undefined;
160
+ onPlay?: ((payload: Event) => void) | undefined;
161
+ onPlaying?: ((payload: Event) => void) | undefined;
162
+ onProgress?: ((payload: ProgressEvent<EventTarget>) => void) | undefined;
163
+ onRatechange?: ((payload: Event) => void) | undefined;
164
+ onSeeked?: ((payload: Event) => void) | undefined;
165
+ onSeeking?: ((payload: Event) => void) | undefined;
166
+ onStalled?: ((payload: Event) => void) | undefined;
167
+ onSuspend?: ((payload: Event) => void) | undefined;
168
+ onTimeupdate?: ((payload: Event) => void) | undefined;
169
+ onVolumechange?: ((payload: Event) => void) | undefined;
170
+ onWaiting?: ((payload: Event) => void) | undefined;
171
+ onSelect?: ((payload: Event) => void) | undefined;
172
+ onScroll?: ((payload: Event) => void) | undefined;
173
+ onScrollend?: ((payload: Event) => void) | undefined;
174
+ onTouchcancel?: ((payload: TouchEvent) => void) | undefined;
175
+ onTouchend?: ((payload: TouchEvent) => void) | undefined;
176
+ onTouchmove?: ((payload: TouchEvent) => void) | undefined;
177
+ onTouchstart?: ((payload: TouchEvent) => void) | undefined;
178
+ onAuxclick?: ((payload: PointerEvent) => void) | undefined;
179
+ onClick?: ((payload: PointerEvent) => void) | undefined;
180
+ onContextmenu?: ((payload: PointerEvent) => void) | undefined;
181
+ onGotpointercapture?: ((payload: PointerEvent) => void) | undefined;
182
+ onLostpointercapture?: ((payload: PointerEvent) => void) | undefined;
183
+ onPointerdown?: ((payload: PointerEvent) => void) | undefined;
184
+ onPointermove?: ((payload: PointerEvent) => void) | undefined;
185
+ onPointerup?: ((payload: PointerEvent) => void) | undefined;
186
+ onPointercancel?: ((payload: PointerEvent) => void) | undefined;
187
+ onPointerenter?: ((payload: PointerEvent) => void) | undefined;
188
+ onPointerleave?: ((payload: PointerEvent) => void) | undefined;
189
+ onPointerover?: ((payload: PointerEvent) => void) | undefined;
190
+ onPointerout?: ((payload: PointerEvent) => void) | undefined;
191
+ onBeforetoggle?: ((payload: ToggleEvent) => void) | undefined;
192
+ onToggle?: ((payload: ToggleEvent) => void) | undefined;
193
+ onWheel?: ((payload: WheelEvent) => void) | undefined;
194
+ onAnimationcancel?: ((payload: AnimationEvent) => void) | undefined;
195
+ onAnimationstart?: ((payload: AnimationEvent) => void) | undefined;
196
+ onAnimationend?: ((payload: AnimationEvent) => void) | undefined;
197
+ onAnimationiteration?: ((payload: AnimationEvent) => void) | undefined;
198
+ onSecuritypolicyviolation?: ((payload: SecurityPolicyViolationEvent) => void) | undefined;
199
+ onTransitioncancel?: ((payload: TransitionEvent) => void) | undefined;
200
+ onTransitionend?: ((payload: TransitionEvent) => void) | undefined;
201
+ onTransitionrun?: ((payload: TransitionEvent) => void) | undefined;
202
+ onTransitionstart?: ((payload: TransitionEvent) => void) | undefined;
203
+ }, Omit<import('vue').HTMLAttributes, "class" | "style">>>;
204
+ selected: import('vue').ComputedRef<boolean>;
205
+ };