@timebraid/vue 1.3.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.
@@ -0,0 +1,840 @@
1
+ import { ComponentOptionsMixin } from 'vue';
2
+ import { ComponentProvideOptions } from 'vue';
3
+ import { DefineComponent } from 'vue';
4
+ import { InjectionKey } from 'vue';
5
+ import { PublicProps } from 'vue';
6
+
7
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ flat: boolean;
9
+ plainTitle: boolean;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
11
+
12
+ declare const __VLS_component_10: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
13
+ width: number;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+
16
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{}>, {
17
+ side: "top" | "bottom" | "left" | "right";
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
19
+
20
+ declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
+ click: (event: MouseEvent | KeyboardEvent) => any;
22
+ }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
23
+ onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
24
+ }>, {
25
+ iconBg: string;
26
+ chevron: boolean;
27
+ danger: boolean;
28
+ dense: boolean;
29
+ last: boolean;
30
+ clickable: boolean;
31
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
32
+
33
+ declare const __VLS_component_3: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
34
+ click: (e: MouseEvent) => any;
35
+ }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
36
+ onClick?: ((e: MouseEvent) => any) | undefined;
37
+ }>, {
38
+ type: "button" | "submit" | "reset";
39
+ size: keyof typeof SIZES;
40
+ kind: keyof typeof KINDS;
41
+ full: boolean;
42
+ disabled: boolean;
43
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
44
+
45
+ declare const __VLS_component_4: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {
46
+ tone: keyof typeof TONES_2;
47
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
48
+
49
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
50
+
51
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
52
+ close: () => any;
53
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
54
+ onClose?: (() => any) | undefined;
55
+ }>, {
56
+ inline: boolean;
57
+ width: number;
58
+ mobile: boolean;
59
+ teleport: boolean;
60
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
61
+ dialog: HTMLDivElement;
62
+ }, any>;
63
+
64
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
65
+ stop: (id: string) => any;
66
+ start: () => any;
67
+ "update:open": (v: boolean) => any;
68
+ stopAll: () => any;
69
+ openApp: () => any;
70
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
71
+ onStop?: ((id: string) => any) | undefined;
72
+ onStart?: (() => any) | undefined;
73
+ "onUpdate:open"?: ((v: boolean) => any) | undefined;
74
+ onStopAll?: (() => any) | undefined;
75
+ onOpenApp?: (() => any) | undefined;
76
+ }>, {
77
+ open: boolean;
78
+ paused: boolean;
79
+ compact: boolean;
80
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
81
+
82
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
83
+
84
+ declare const __VLS_component_9: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
85
+
86
+ declare type __VLS_Props = {
87
+ title?: string;
88
+ footer?: string;
89
+ flat?: boolean;
90
+ plainTitle?: boolean;
91
+ };
92
+
93
+ declare type __VLS_Props_10 = {
94
+ name: string;
95
+ size?: number;
96
+ color?: string;
97
+ };
98
+
99
+ declare type __VLS_Props_11 = {
100
+ title: string;
101
+ sub?: string;
102
+ };
103
+
104
+ declare type __VLS_Props_12 = {
105
+ open: boolean;
106
+ title: string;
107
+ mobile?: boolean;
108
+ width?: number;
109
+ inline?: boolean;
110
+ teleport?: boolean;
111
+ };
112
+
113
+ declare type __VLS_Props_13 = {
114
+ color: string;
115
+ size?: number;
116
+ running?: boolean;
117
+ };
118
+
119
+ declare type __VLS_Props_14 = {
120
+ seconds: number;
121
+ mode?: DurationFormat;
122
+ size?: number;
123
+ weight?: number;
124
+ tone?: keyof typeof TONES_3;
125
+ };
126
+
127
+ declare type __VLS_Props_15 = {
128
+ rows: WaterfallRow[];
129
+ start?: number;
130
+ end?: number;
131
+ labelW?: number;
132
+ rowH?: number;
133
+ compact?: boolean;
134
+ };
135
+
136
+ declare type __VLS_Props_16 = {
137
+ running: PillTimer[];
138
+ compact?: boolean;
139
+ paused?: boolean;
140
+ open?: boolean;
141
+ };
142
+
143
+ declare type __VLS_Props_17 = {
144
+ workspaces: WorkspaceOption[];
145
+ modelValue: string;
146
+ };
147
+
148
+ declare type __VLS_Props_18 = {
149
+ task: string;
150
+ project: string;
151
+ color?: string;
152
+ seconds: number;
153
+ more?: number;
154
+ android?: boolean;
155
+ bottom?: number;
156
+ };
157
+
158
+ declare type __VLS_Props_19 = {
159
+ opacity?: number;
160
+ };
161
+
162
+ declare type __VLS_Props_2 = {
163
+ icon?: string;
164
+ iconBg?: string;
165
+ title?: string;
166
+ subtitle?: string;
167
+ value?: string;
168
+ chevron?: boolean;
169
+ danger?: boolean;
170
+ dense?: boolean;
171
+ last?: boolean;
172
+ clickable?: boolean;
173
+ };
174
+
175
+ declare type __VLS_Props_20 = {
176
+ title: string;
177
+ sub?: string;
178
+ scrolled: boolean;
179
+ };
180
+
181
+ declare type __VLS_Props_21 = {
182
+ items: TabItem[];
183
+ modelValue: string;
184
+ indicator?: boolean;
185
+ };
186
+
187
+ declare type __VLS_Props_22 = {
188
+ title: string;
189
+ };
190
+
191
+ declare type __VLS_Props_23 = {
192
+ items: TabItem[];
193
+ modelValue: string;
194
+ indicator?: boolean;
195
+ };
196
+
197
+ /**
198
+ * Lucide glyph painted with a CSS mask so it follows currentColor.
199
+ * SUBSTITUTION: Timebraid has no icon set of its own yet; Lucide is the closest match to the mark.
200
+ */
201
+ declare type __VLS_Props_24 = {
202
+ /** Lucide kebab-case name: play, pause, square, layers, file-text… */
203
+ name: string;
204
+ /** 16 in the app, 20 in the site header, 24 in marketing rows. */
205
+ size?: number;
206
+ color?: string;
207
+ /** Where this one glyph is masked from. Wins over the `TIMEBRAID_ICON_BASE` injection key, which every app can set once with `app.provide(TIMEBRAID_ICON_BASE, '/icons/')` and which itself falls back to `https://unpkg.com/lucide-static@latest/icons/`. Self-host and provide the key in an iOS WebView, which cannot paint a cross-origin mask. */
208
+ base?: string;
209
+ };
210
+
211
+ /** The Timebraid mark from shipped artwork. Below 64px it swaps to the three-upright small-size PNGs. */
212
+ declare type __VLS_Props_25 = {
213
+ size?: number;
214
+ wordmark?: boolean;
215
+ };
216
+
217
+ declare type __VLS_Props_26 = {
218
+ modelValue?: string;
219
+ length?: number;
220
+ error?: string;
221
+ autofocus?: boolean;
222
+ };
223
+
224
+ declare type __VLS_Props_27 = {
225
+ title: string;
226
+ description?: string;
227
+ width?: number;
228
+ };
229
+
230
+ declare type __VLS_Props_28 = {
231
+ modelValue?: boolean;
232
+ label: string;
233
+ description?: string;
234
+ indeterminate?: boolean;
235
+ disabled?: boolean;
236
+ };
237
+
238
+ declare type __VLS_Props_29 = {
239
+ content: string;
240
+ /** e.g. ⌘N - mono, muted, at the end. */
241
+ shortcut?: string;
242
+ side?: 'top' | 'bottom' | 'left' | 'right';
243
+ };
244
+
245
+ declare type __VLS_Props_3 = {
246
+ modelValue: string;
247
+ options: {
248
+ value: string;
249
+ label: string;
250
+ }[];
251
+ size?: 'sm' | 'md';
252
+ };
253
+
254
+ declare type __VLS_Props_4 = {
255
+ kind?: keyof typeof KINDS;
256
+ size?: keyof typeof SIZES;
257
+ icon?: string;
258
+ full?: boolean;
259
+ disabled?: boolean;
260
+ type?: 'button' | 'submit' | 'reset';
261
+ };
262
+
263
+ declare type __VLS_Props_5 = {
264
+ icon: string;
265
+ label: string;
266
+ size?: number;
267
+ tone?: keyof typeof TONES;
268
+ disabled?: boolean;
269
+ };
270
+
271
+ declare type __VLS_Props_6 = {
272
+ modelValue: boolean;
273
+ disabled?: boolean;
274
+ };
275
+
276
+ declare type __VLS_Props_7 = {
277
+ modelValue?: string;
278
+ label?: string;
279
+ placeholder?: string;
280
+ mono?: boolean;
281
+ right?: string;
282
+ type?: string;
283
+ autofocus?: boolean;
284
+ disabled?: boolean;
285
+ name?: string;
286
+ };
287
+
288
+ declare type __VLS_Props_8 = {
289
+ tone?: keyof typeof TONES_2;
290
+ };
291
+
292
+ declare type __VLS_Props_9 = {
293
+ value: number;
294
+ color?: string;
295
+ h?: number;
296
+ };
297
+
298
+ declare function __VLS_template(): {
299
+ attrs: Partial<{}>;
300
+ slots: {
301
+ title?(_: {}): any;
302
+ default?(_: {}): any;
303
+ footer?(_: {}): any;
304
+ };
305
+ refs: {};
306
+ rootEl: HTMLElement;
307
+ };
308
+
309
+ declare function __VLS_template_10(): {
310
+ attrs: Partial<{}>;
311
+ slots: {
312
+ title?(_: {}): any;
313
+ description?(_: {}): any;
314
+ default?(_: {}): any;
315
+ footer?(_: {}): any;
316
+ };
317
+ refs: {};
318
+ rootEl: HTMLDivElement;
319
+ };
320
+
321
+ declare function __VLS_template_11(): {
322
+ attrs: Partial<{}>;
323
+ slots: {
324
+ default?(_: {}): any;
325
+ };
326
+ refs: {};
327
+ rootEl: HTMLSpanElement;
328
+ };
329
+
330
+ declare function __VLS_template_2(): {
331
+ attrs: Partial<{}>;
332
+ slots: {
333
+ leading?(_: {}): any;
334
+ title?(_: {}): any;
335
+ subtitle?(_: {}): any;
336
+ trailing?(_: {}): any;
337
+ };
338
+ refs: {};
339
+ rootEl: HTMLDivElement;
340
+ };
341
+
342
+ declare function __VLS_template_3(): {
343
+ attrs: Partial<{}>;
344
+ slots: {
345
+ default?(_: {}): any;
346
+ };
347
+ refs: {};
348
+ rootEl: HTMLButtonElement;
349
+ };
350
+
351
+ declare function __VLS_template_4(): {
352
+ attrs: Partial<{}>;
353
+ slots: {
354
+ default?(_: {}): any;
355
+ };
356
+ refs: {};
357
+ rootEl: HTMLSpanElement;
358
+ };
359
+
360
+ declare function __VLS_template_5(): {
361
+ attrs: Partial<{}>;
362
+ slots: {
363
+ right?(_: {}): any;
364
+ };
365
+ refs: {};
366
+ rootEl: HTMLDivElement;
367
+ };
368
+
369
+ declare function __VLS_template_6(): {
370
+ attrs: Partial<{}>;
371
+ slots: {
372
+ primary?(_: {}): any;
373
+ default?(_: {}): any;
374
+ default?(_: {}): any;
375
+ footer?(_: {}): any;
376
+ footer?(_: {}): any;
377
+ };
378
+ refs: {
379
+ dialog: HTMLDivElement;
380
+ };
381
+ rootEl: any;
382
+ };
383
+
384
+ declare function __VLS_template_7(): {
385
+ attrs: Partial<{}>;
386
+ slots: {
387
+ popover?(_: {
388
+ running: PillTimer[];
389
+ }): any;
390
+ };
391
+ refs: {};
392
+ rootEl: HTMLDivElement;
393
+ };
394
+
395
+ declare function __VLS_template_8(): {
396
+ attrs: Partial<{}>;
397
+ slots: {
398
+ right?(_: {}): any;
399
+ };
400
+ refs: {};
401
+ rootEl: HTMLDivElement;
402
+ };
403
+
404
+ declare function __VLS_template_9(): {
405
+ attrs: Partial<{}>;
406
+ slots: {
407
+ right?(_: {}): any;
408
+ };
409
+ refs: {};
410
+ rootEl: HTMLDivElement;
411
+ };
412
+
413
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
414
+
415
+ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
416
+
417
+ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
418
+
419
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
420
+
421
+ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
422
+
423
+ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
424
+
425
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
426
+
427
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
428
+
429
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
430
+
431
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
432
+
433
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
434
+
435
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
436
+ new (): {
437
+ $slots: S;
438
+ };
439
+ };
440
+
441
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
442
+ new (): {
443
+ $slots: S;
444
+ };
445
+ };
446
+
447
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
448
+ new (): {
449
+ $slots: S;
450
+ };
451
+ };
452
+
453
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
454
+ new (): {
455
+ $slots: S;
456
+ };
457
+ };
458
+
459
+ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
460
+ new (): {
461
+ $slots: S;
462
+ };
463
+ };
464
+
465
+ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
466
+ new (): {
467
+ $slots: S;
468
+ };
469
+ };
470
+
471
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
472
+ new (): {
473
+ $slots: S;
474
+ };
475
+ };
476
+
477
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
478
+ new (): {
479
+ $slots: S;
480
+ };
481
+ };
482
+
483
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
484
+ new (): {
485
+ $slots: S;
486
+ };
487
+ };
488
+
489
+ declare type __VLS_WithTemplateSlots_8<T, S> = T & {
490
+ new (): {
491
+ $slots: S;
492
+ };
493
+ };
494
+
495
+ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
496
+ new (): {
497
+ $slots: S;
498
+ };
499
+ };
500
+
501
+ export declare function applyTheme(root: HTMLElement, theme: ResolvedTheme): void;
502
+
503
+ /** Where TIcon masks from when nothing overrides it. */
504
+ export declare const DEFAULT_ICON_BASE = "https://unpkg.com/lucide-static@latest/icons/";
505
+
506
+ export declare type DurationFormat = 'clock' | 'short' | 'compact';
507
+
508
+ /** 8047 → "2:14:07" (clock) · "2:14" (short) · "2h 14m" (compact) */
509
+ export declare function formatDuration(seconds: number, format?: DurationFormat): string;
510
+
511
+ declare const KINDS: {
512
+ readonly primary: {
513
+ readonly background: "var(--accent)";
514
+ readonly color: "var(--on-accent)";
515
+ };
516
+ readonly tinted: {
517
+ readonly background: "var(--accent-soft)";
518
+ readonly color: "var(--accent)";
519
+ };
520
+ readonly gray: {
521
+ readonly background: "var(--fill)";
522
+ readonly color: "var(--label)";
523
+ };
524
+ readonly plain: {
525
+ readonly background: "transparent";
526
+ readonly color: "var(--accent)";
527
+ };
528
+ readonly danger: {
529
+ readonly background: "var(--red-soft)";
530
+ readonly color: "var(--red)";
531
+ };
532
+ readonly white: {
533
+ readonly background: "var(--bg-elev)";
534
+ readonly color: "var(--label)";
535
+ readonly boxShadow: "var(--sh-card)";
536
+ };
537
+ };
538
+
539
+ export declare interface PillTimer {
540
+ id: string;
541
+ task: string;
542
+ project: string;
543
+ color: string;
544
+ since: string;
545
+ seconds: number;
546
+ }
547
+
548
+ /** Okabe-Ito, the only palette permitted for projects and charts. */
549
+ export declare const PROJECT_COLORS: string[];
550
+
551
+ export declare type ResolvedTheme = 'light' | 'dark';
552
+
553
+ export declare function resolveTheme(pref: ThemePreference, prefersDark: boolean): ResolvedTheme;
554
+
555
+ export declare interface SelectOption {
556
+ value: string;
557
+ label: string;
558
+ }
559
+
560
+ declare const SIZES: {
561
+ readonly sm: {
562
+ readonly height: "var(--control-h-sm)";
563
+ readonly fontSize: "var(--text-subtitle)";
564
+ readonly padding: "0 10px";
565
+ readonly icon: 13;
566
+ };
567
+ readonly md: {
568
+ readonly height: "var(--control-h-md)";
569
+ readonly fontSize: "13.5px";
570
+ readonly padding: "0 14px";
571
+ readonly icon: 15;
572
+ };
573
+ readonly lg: {
574
+ readonly height: "var(--control-h-lg)";
575
+ readonly fontSize: "var(--text-row)";
576
+ readonly padding: "0 14px";
577
+ readonly icon: 15;
578
+ };
579
+ readonly xl: {
580
+ readonly height: "var(--control-h-xl)";
581
+ readonly fontSize: "16px";
582
+ readonly padding: "0 14px";
583
+ readonly icon: 15;
584
+ };
585
+ };
586
+
587
+ export declare interface TabItem {
588
+ id: string;
589
+ label: string;
590
+ icon: string;
591
+ }
592
+
593
+ export declare const TAndroidNavBar: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
594
+ "update:modelValue": (id: string) => any;
595
+ }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
596
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
597
+ }>, {
598
+ indicator: boolean;
599
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
600
+
601
+ export declare const TAndroidTop: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
602
+
603
+ export declare const TAuthCard: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
604
+
605
+ export declare const TAvatar: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
606
+ size: number;
607
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
608
+
609
+ export declare const TBadge: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
610
+
611
+ export declare const TBar: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
612
+ color: string;
613
+ h: number;
614
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
615
+
616
+ export declare const TBtn: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
617
+
618
+ export declare const TCheckbox: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
619
+ "update:modelValue": (v: boolean) => any;
620
+ }, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
621
+ "onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
622
+ }>, {
623
+ modelValue: boolean;
624
+ disabled: boolean;
625
+ indeterminate: boolean;
626
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
627
+
628
+ export declare const TCodeInput: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
629
+ "update:modelValue": (v: string) => any;
630
+ }, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
631
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
632
+ }>, {
633
+ length: number;
634
+ modelValue: string;
635
+ autofocus: boolean;
636
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
637
+
638
+ export declare const TDot: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
639
+ size: number;
640
+ running: boolean;
641
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
642
+
643
+ export declare const TDur: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
644
+ size: number;
645
+ tone: keyof typeof TONES_3;
646
+ mode: DurationFormat;
647
+ weight: number;
648
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
649
+
650
+ export declare const TField: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
651
+ "update:modelValue": (v: string) => any;
652
+ submit: () => any;
653
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
654
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
655
+ onSubmit?: (() => any) | undefined;
656
+ }>, {
657
+ type: string;
658
+ modelValue: string;
659
+ disabled: boolean;
660
+ mono: boolean;
661
+ autofocus: boolean;
662
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
663
+
664
+ export declare const TGroup: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
665
+
666
+ export declare const THEME_PREFERENCES: ThemePreference[];
667
+
668
+ export declare type ThemePreference = 'system' | 'light' | 'dark';
669
+
670
+ export declare const TIcon: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
671
+ color: string;
672
+ size: number;
673
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
674
+
675
+ export declare const TIconBtn: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
676
+ click: (e: MouseEvent) => any;
677
+ }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
678
+ onClick?: ((e: MouseEvent) => any) | undefined;
679
+ }>, {
680
+ size: number;
681
+ disabled: boolean;
682
+ tone: keyof typeof TONES;
683
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
684
+
685
+ /** App-wide base URL every TIcon masks from: `app.provide(TIMEBRAID_ICON_BASE, '/icons/')`. */
686
+ export declare const TIMEBRAID_ICON_BASE: InjectionKey<string>;
687
+
688
+ export declare const TIOSNav: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
689
+
690
+ export declare const TIOSTabBar: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
691
+ "update:modelValue": (id: string) => any;
692
+ }, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
693
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
694
+ }>, {
695
+ indicator: boolean;
696
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
697
+
698
+ export declare const TLargeTitle: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
699
+
700
+ export declare const TLogo: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {
701
+ size: number;
702
+ wordmark: boolean;
703
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
704
+
705
+ declare const TONES: {
706
+ readonly default: {
707
+ readonly background: "var(--fill)";
708
+ readonly color: "var(--label)";
709
+ };
710
+ readonly soft: {
711
+ readonly background: "var(--accent-soft)";
712
+ readonly color: "var(--accent)";
713
+ };
714
+ readonly accent: {
715
+ readonly background: "var(--accent)";
716
+ readonly color: "var(--on-accent)";
717
+ };
718
+ };
719
+
720
+ declare const TONES_2: {
721
+ readonly neutral: readonly ["var(--fill)", "var(--label-2)"];
722
+ readonly running: readonly ["var(--running-soft)", "var(--running)"];
723
+ readonly green: readonly ["var(--green-soft)", "var(--green)"];
724
+ readonly red: readonly ["var(--red-soft)", "var(--red)"];
725
+ readonly soon: readonly ["transparent", "var(--label-3)"];
726
+ };
727
+
728
+ declare const TONES_3: {
729
+ readonly default: "var(--label)";
730
+ readonly running: "var(--running)";
731
+ readonly muted: "var(--label-2)";
732
+ readonly faint: "var(--label-3)";
733
+ };
734
+
735
+ export declare const TPill: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
736
+
737
+ export declare const TRow: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
738
+
739
+ export declare const TSeg: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
740
+ "update:modelValue": (v: string) => any;
741
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
742
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
743
+ }>, {
744
+ size: "sm" | "md";
745
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
746
+
747
+ export declare const TSelect: DefineComponent< {
748
+ modelValue: string;
749
+ options: SelectOption[];
750
+ disabled?: boolean;
751
+ label?: string;
752
+ ariaLabel?: string;
753
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
754
+ "update:modelValue": (v: string) => any;
755
+ }, string, PublicProps, Readonly<{
756
+ modelValue: string;
757
+ options: SelectOption[];
758
+ disabled?: boolean;
759
+ label?: string;
760
+ ariaLabel?: string;
761
+ }> & Readonly<{
762
+ "onUpdate:modelValue"?: ((v: string) => any) | undefined;
763
+ }>, {
764
+ disabled: boolean;
765
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
766
+
767
+ export declare const TSheet: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
768
+
769
+ export declare const TStrokes: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
770
+ opacity: number;
771
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
772
+
773
+ export declare const TTimerBar: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
774
+ stop: () => any;
775
+ open: () => any;
776
+ }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
777
+ onStop?: (() => any) | undefined;
778
+ onOpen?: (() => any) | undefined;
779
+ }>, {
780
+ color: string;
781
+ bottom: number;
782
+ more: number;
783
+ android: boolean;
784
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
785
+
786
+ export declare const TToggle: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
787
+ "update:modelValue": (v: boolean) => any;
788
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
789
+ "onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
790
+ }>, {
791
+ disabled: boolean;
792
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
793
+
794
+ export declare const TTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
795
+
796
+ export declare const TWaterfall: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
797
+ end: number;
798
+ start: number;
799
+ compact: boolean;
800
+ labelW: number;
801
+ rowH: number;
802
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
803
+
804
+ export declare const TWorkspaceSwitcher: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
805
+ "update:modelValue": (id: string) => any;
806
+ create: () => any;
807
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
808
+ "onUpdate:modelValue"?: ((id: string) => any) | undefined;
809
+ onCreate?: (() => any) | undefined;
810
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
811
+ root: HTMLDivElement;
812
+ }, HTMLDivElement>;
813
+
814
+ export declare function watchTheme(pref: () => ThemePreference, root: HTMLElement, media?: MediaQueryList | null): {
815
+ refresh(): void;
816
+ stop(): void;
817
+ };
818
+
819
+ export declare interface WaterfallRow {
820
+ label: string;
821
+ color: string;
822
+ segments: WaterfallSegment[];
823
+ }
824
+
825
+ export declare interface WaterfallSegment {
826
+ start: number;
827
+ end: number;
828
+ shared?: boolean;
829
+ }
830
+
831
+ export declare interface WorkspaceOption {
832
+ id: string;
833
+ name: string;
834
+ color: string;
835
+ memberCount: number;
836
+ isDefault: boolean;
837
+ personal: boolean;
838
+ }
839
+
840
+ export { }