@timebraid/vue 1.15.0 → 1.17.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.
- package/README.md +25 -5
- package/dist/index.d.ts +947 -192
- package/dist/style.css +1 -1
- package/dist/timebraid-vue.js +4130 -1893
- package/dist/timebraid-vue.umd.cjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -9,19 +9,65 @@ flat: boolean;
|
|
|
9
9
|
plainTitle: boolean;
|
|
10
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
11
11
|
|
|
12
|
-
declare const __VLS_component_10: DefineComponent<
|
|
12
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
stop: (id: string) => any;
|
|
14
|
+
start: () => any;
|
|
15
|
+
"update:open": (v: boolean) => any;
|
|
16
|
+
stopAll: () => any;
|
|
17
|
+
openApp: () => any;
|
|
18
|
+
}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{
|
|
19
|
+
onStop?: ((id: string) => any) | undefined;
|
|
20
|
+
onStart?: (() => any) | undefined;
|
|
21
|
+
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
22
|
+
onStopAll?: (() => any) | undefined;
|
|
23
|
+
onOpenApp?: (() => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
compact: boolean;
|
|
26
|
+
open: boolean;
|
|
27
|
+
paused: boolean;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
|
|
30
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_41, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_41> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
31
|
|
|
14
|
-
declare const
|
|
32
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_43, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_43> & Readonly<{}>, {
|
|
15
33
|
scrolled: boolean;
|
|
16
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
35
|
|
|
18
|
-
declare const
|
|
36
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_48, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_48> & Readonly<{}>, {
|
|
19
37
|
width: number;
|
|
20
38
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
39
|
|
|
22
|
-
declare const
|
|
23
|
-
side:
|
|
24
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
40
|
+
declare const __VLS_component_14: DefineComponent<__VLS_Props_50, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_50> & Readonly<{}>, {
|
|
41
|
+
side: Side;
|
|
42
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
43
|
+
anchor: HTMLSpanElement;
|
|
44
|
+
}, HTMLSpanElement>;
|
|
45
|
+
|
|
46
|
+
declare const __VLS_component_15: DefineComponent<__VLS_Props_59, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
47
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
48
|
+
add: () => any;
|
|
49
|
+
}, string, PublicProps, Readonly<__VLS_Props_59> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
51
|
+
onAdd?: (() => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
label: string;
|
|
54
|
+
modelValue: string | readonly string[] | null;
|
|
55
|
+
empty: string;
|
|
56
|
+
multiple: boolean;
|
|
57
|
+
addLabel: string;
|
|
58
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
59
|
+
|
|
60
|
+
declare const __VLS_component_16: DefineComponent<__VLS_Props_66, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
61
|
+
action: () => any;
|
|
62
|
+
}, string, PublicProps, Readonly<__VLS_Props_66> & Readonly<{
|
|
63
|
+
onAction?: (() => any) | undefined;
|
|
64
|
+
}>, {
|
|
65
|
+
text: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
tone: keyof typeof TONES_5;
|
|
68
|
+
action: string;
|
|
69
|
+
compact: boolean;
|
|
70
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
71
|
|
|
26
72
|
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
73
|
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
@@ -77,49 +123,44 @@ full: boolean;
|
|
|
77
123
|
disabled: boolean;
|
|
78
124
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
79
125
|
|
|
80
|
-
declare const __VLS_component_6: DefineComponent<
|
|
126
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
127
|
+
close: () => any;
|
|
128
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
129
|
+
onClose?: (() => any) | undefined;
|
|
130
|
+
}>, {
|
|
131
|
+
padding: number;
|
|
132
|
+
width: number;
|
|
133
|
+
align: "start" | "end";
|
|
134
|
+
teleport: boolean;
|
|
135
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
136
|
+
panel: HTMLDivElement;
|
|
137
|
+
}, any>;
|
|
138
|
+
|
|
139
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
|
|
81
140
|
tone: keyof typeof TONES_3;
|
|
82
141
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
83
142
|
|
|
84
|
-
declare const
|
|
143
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
85
144
|
sticky: boolean;
|
|
86
145
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
87
146
|
|
|
88
|
-
declare const
|
|
147
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
89
148
|
close: () => any;
|
|
90
149
|
back: () => any;
|
|
91
|
-
}, string, PublicProps, Readonly<
|
|
150
|
+
}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{
|
|
92
151
|
onClose?: (() => any) | undefined;
|
|
93
152
|
onBack?: (() => any) | undefined;
|
|
94
153
|
}>, {
|
|
95
154
|
inline: boolean;
|
|
96
155
|
width: number;
|
|
97
|
-
mobile: boolean;
|
|
98
156
|
teleport: boolean;
|
|
99
|
-
|
|
157
|
+
mobile: boolean;
|
|
158
|
+
cancelLabel: string | null;
|
|
100
159
|
cancelMode: "close" | "back";
|
|
101
160
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
102
161
|
dialog: HTMLDivElement;
|
|
103
162
|
}, any>;
|
|
104
163
|
|
|
105
|
-
declare const __VLS_component_9: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
106
|
-
stop: (id: string) => any;
|
|
107
|
-
start: () => any;
|
|
108
|
-
"update:open": (v: boolean) => any;
|
|
109
|
-
stopAll: () => any;
|
|
110
|
-
openApp: () => any;
|
|
111
|
-
}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{
|
|
112
|
-
onStop?: ((id: string) => any) | undefined;
|
|
113
|
-
onStart?: (() => any) | undefined;
|
|
114
|
-
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
115
|
-
onStopAll?: (() => any) | undefined;
|
|
116
|
-
onOpenApp?: (() => any) | undefined;
|
|
117
|
-
}>, {
|
|
118
|
-
compact: boolean;
|
|
119
|
-
open: boolean;
|
|
120
|
-
paused: boolean;
|
|
121
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
122
|
-
|
|
123
164
|
declare type __VLS_Props = {
|
|
124
165
|
title?: string;
|
|
125
166
|
footer?: string;
|
|
@@ -147,36 +188,59 @@ declare type __VLS_Props_11 = {
|
|
|
147
188
|
declare type __VLS_Props_12 = {
|
|
148
189
|
modelValue: string;
|
|
149
190
|
label?: string;
|
|
150
|
-
|
|
151
|
-
|
|
191
|
+
title?: string;
|
|
192
|
+
placeholder?: string;
|
|
193
|
+
now?: string;
|
|
194
|
+
minuteStep?: number;
|
|
195
|
+
mobile?: boolean;
|
|
196
|
+
teleport?: boolean;
|
|
152
197
|
};
|
|
153
198
|
|
|
154
199
|
declare type __VLS_Props_13 = {
|
|
200
|
+
open: boolean;
|
|
201
|
+
anchor: HTMLElement | null;
|
|
202
|
+
width?: number;
|
|
203
|
+
align?: 'start' | 'end';
|
|
204
|
+
padding?: number;
|
|
205
|
+
teleport?: boolean;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
declare type __VLS_Props_14 = {
|
|
209
|
+
options: WheelOption[];
|
|
210
|
+
modelValue: number;
|
|
211
|
+
label?: string;
|
|
212
|
+
rows?: number;
|
|
213
|
+
name?: string;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
declare type __VLS_Props_15 = {
|
|
155
217
|
modelValue: number;
|
|
156
218
|
label?: string;
|
|
219
|
+
title?: string;
|
|
157
220
|
mobile?: boolean;
|
|
158
221
|
teleport?: boolean;
|
|
159
222
|
presets?: number[];
|
|
160
223
|
minuteStep?: number;
|
|
224
|
+
hoursMax?: number;
|
|
161
225
|
};
|
|
162
226
|
|
|
163
|
-
declare type
|
|
227
|
+
declare type __VLS_Props_16 = {
|
|
164
228
|
value?: string;
|
|
165
229
|
from?: string;
|
|
166
230
|
to?: string;
|
|
167
231
|
today: string;
|
|
168
232
|
};
|
|
169
233
|
|
|
170
|
-
declare type
|
|
234
|
+
declare type __VLS_Props_17 = {
|
|
171
235
|
modelValue: string;
|
|
172
236
|
label?: string;
|
|
237
|
+
title?: string;
|
|
173
238
|
mobile?: boolean;
|
|
174
239
|
today?: string;
|
|
175
240
|
teleport?: boolean;
|
|
176
|
-
inline?: boolean;
|
|
177
241
|
};
|
|
178
242
|
|
|
179
|
-
declare type
|
|
243
|
+
declare type __VLS_Props_18 = {
|
|
180
244
|
from: string;
|
|
181
245
|
to: string;
|
|
182
246
|
label?: string;
|
|
@@ -186,11 +250,24 @@ declare type __VLS_Props_16 = {
|
|
|
186
250
|
presets?: boolean;
|
|
187
251
|
};
|
|
188
252
|
|
|
189
|
-
declare type
|
|
253
|
+
declare type __VLS_Props_19 = {
|
|
190
254
|
tone?: keyof typeof TONES_3;
|
|
191
255
|
};
|
|
192
256
|
|
|
193
|
-
declare type
|
|
257
|
+
declare type __VLS_Props_2 = {
|
|
258
|
+
icon?: string;
|
|
259
|
+
iconBg?: string;
|
|
260
|
+
title?: string;
|
|
261
|
+
subtitle?: string;
|
|
262
|
+
value?: string;
|
|
263
|
+
chevron?: boolean;
|
|
264
|
+
danger?: boolean;
|
|
265
|
+
dense?: boolean;
|
|
266
|
+
last?: boolean;
|
|
267
|
+
clickable?: boolean;
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
declare type __VLS_Props_20 = {
|
|
194
271
|
value: number;
|
|
195
272
|
color?: string;
|
|
196
273
|
to?: string | string[];
|
|
@@ -198,51 +275,46 @@ declare type __VLS_Props_18 = {
|
|
|
198
275
|
h?: number;
|
|
199
276
|
};
|
|
200
277
|
|
|
201
|
-
declare type
|
|
278
|
+
declare type __VLS_Props_21 = {
|
|
202
279
|
pct: number;
|
|
203
280
|
catchup?: number;
|
|
204
281
|
height?: 6 | 8;
|
|
205
282
|
color?: string;
|
|
206
283
|
};
|
|
207
284
|
|
|
208
|
-
declare type
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
chevron?: boolean;
|
|
215
|
-
danger?: boolean;
|
|
216
|
-
dense?: boolean;
|
|
217
|
-
last?: boolean;
|
|
218
|
-
clickable?: boolean;
|
|
285
|
+
declare type __VLS_Props_22 = {
|
|
286
|
+
used: number;
|
|
287
|
+
target: number;
|
|
288
|
+
expected?: number;
|
|
289
|
+
color?: string;
|
|
290
|
+
height?: number;
|
|
219
291
|
};
|
|
220
292
|
|
|
221
|
-
declare type
|
|
293
|
+
declare type __VLS_Props_23 = {
|
|
222
294
|
status: GoalStatus;
|
|
223
295
|
catchup?: number;
|
|
224
296
|
short?: boolean;
|
|
225
297
|
};
|
|
226
298
|
|
|
227
|
-
declare type
|
|
299
|
+
declare type __VLS_Props_24 = {
|
|
228
300
|
name: string;
|
|
229
301
|
size?: number;
|
|
230
302
|
color?: string;
|
|
231
303
|
src?: string;
|
|
232
304
|
};
|
|
233
305
|
|
|
234
|
-
declare type
|
|
306
|
+
declare type __VLS_Props_25 = {
|
|
235
307
|
people: Person[];
|
|
236
308
|
size?: number;
|
|
237
309
|
max?: number;
|
|
238
310
|
};
|
|
239
311
|
|
|
240
|
-
declare type
|
|
312
|
+
declare type __VLS_Props_26 = {
|
|
241
313
|
name: string;
|
|
242
314
|
color: string;
|
|
243
315
|
};
|
|
244
316
|
|
|
245
|
-
declare type
|
|
317
|
+
declare type __VLS_Props_27 = {
|
|
246
318
|
name?: string;
|
|
247
319
|
color?: string;
|
|
248
320
|
all?: boolean;
|
|
@@ -251,24 +323,29 @@ declare type __VLS_Props_24 = {
|
|
|
251
323
|
src?: string;
|
|
252
324
|
};
|
|
253
325
|
|
|
254
|
-
declare type
|
|
326
|
+
declare type __VLS_Props_28 = {
|
|
255
327
|
title: string;
|
|
256
328
|
sub?: string;
|
|
257
329
|
sticky?: boolean;
|
|
258
330
|
};
|
|
259
331
|
|
|
260
|
-
declare type
|
|
332
|
+
declare type __VLS_Props_29 = {
|
|
261
333
|
open: boolean;
|
|
262
334
|
title: string;
|
|
263
335
|
mobile?: boolean;
|
|
264
336
|
width?: number;
|
|
265
337
|
inline?: boolean;
|
|
266
338
|
teleport?: boolean;
|
|
267
|
-
cancelLabel?: string;
|
|
339
|
+
cancelLabel?: string | null;
|
|
268
340
|
cancelMode?: 'close' | 'back';
|
|
269
341
|
};
|
|
270
342
|
|
|
271
|
-
declare type
|
|
343
|
+
declare type __VLS_Props_3 = {
|
|
344
|
+
label: string;
|
|
345
|
+
icon?: string;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
declare type __VLS_Props_30 = {
|
|
272
349
|
open: boolean;
|
|
273
350
|
current?: string | null;
|
|
274
351
|
mobile?: boolean;
|
|
@@ -277,13 +354,13 @@ declare type __VLS_Props_27 = {
|
|
|
277
354
|
teleport?: boolean;
|
|
278
355
|
};
|
|
279
356
|
|
|
280
|
-
declare type
|
|
357
|
+
declare type __VLS_Props_31 = {
|
|
281
358
|
color: string;
|
|
282
359
|
size?: number;
|
|
283
360
|
running?: boolean;
|
|
284
361
|
};
|
|
285
362
|
|
|
286
|
-
declare type
|
|
363
|
+
declare type __VLS_Props_32 = {
|
|
287
364
|
seconds: number;
|
|
288
365
|
mode?: DurationFormat;
|
|
289
366
|
size?: number;
|
|
@@ -291,12 +368,7 @@ declare type __VLS_Props_29 = {
|
|
|
291
368
|
tone?: keyof typeof TONES_4;
|
|
292
369
|
};
|
|
293
370
|
|
|
294
|
-
declare type
|
|
295
|
-
label: string;
|
|
296
|
-
icon?: string;
|
|
297
|
-
};
|
|
298
|
-
|
|
299
|
-
declare type __VLS_Props_30 = {
|
|
371
|
+
declare type __VLS_Props_33 = {
|
|
300
372
|
rows: WaterfallProject[];
|
|
301
373
|
start?: number;
|
|
302
374
|
end?: number;
|
|
@@ -306,62 +378,47 @@ declare type __VLS_Props_30 = {
|
|
|
306
378
|
showWs?: boolean;
|
|
307
379
|
};
|
|
308
380
|
|
|
309
|
-
declare type
|
|
381
|
+
declare type __VLS_Props_34 = {
|
|
310
382
|
running: PillTimer[];
|
|
311
383
|
compact?: boolean;
|
|
312
384
|
paused?: boolean;
|
|
313
385
|
open?: boolean;
|
|
314
386
|
};
|
|
315
387
|
|
|
316
|
-
declare type
|
|
388
|
+
declare type __VLS_Props_35 = {
|
|
317
389
|
workspaces: WorkspaceOption[];
|
|
318
390
|
modelValue: string;
|
|
319
391
|
showAll?: boolean;
|
|
392
|
+
teleport?: boolean;
|
|
393
|
+
actions?: readonly WorkspaceAction[];
|
|
320
394
|
};
|
|
321
395
|
|
|
322
|
-
declare type
|
|
396
|
+
declare type __VLS_Props_36 = {
|
|
323
397
|
workspaces: WorkspaceOption[];
|
|
324
398
|
modelValue: string;
|
|
325
399
|
showAll?: boolean;
|
|
326
400
|
embedded?: boolean;
|
|
401
|
+
actions?: readonly WorkspaceAction[];
|
|
327
402
|
};
|
|
328
403
|
|
|
329
|
-
declare type
|
|
404
|
+
declare type __VLS_Props_37 = {
|
|
330
405
|
open: boolean;
|
|
331
406
|
workspaces: WorkspaceOption[];
|
|
332
407
|
modelValue: string;
|
|
333
408
|
showAll?: boolean;
|
|
334
409
|
teleport?: boolean;
|
|
335
410
|
user?: DrawerUser | null;
|
|
411
|
+
actions?: readonly WorkspaceAction[];
|
|
336
412
|
};
|
|
337
413
|
|
|
338
|
-
declare type
|
|
414
|
+
declare type __VLS_Props_38 = {
|
|
339
415
|
timers: PillTimer[];
|
|
340
416
|
android?: boolean;
|
|
341
417
|
bottom?: number | string;
|
|
342
418
|
};
|
|
343
419
|
|
|
344
|
-
declare type __VLS_Props_36 = {
|
|
345
|
-
opacity?: number;
|
|
346
|
-
};
|
|
347
|
-
|
|
348
|
-
declare type __VLS_Props_37 = {
|
|
349
|
-
recent?: RecentTask[];
|
|
350
|
-
hasRunning?: boolean;
|
|
351
|
-
mobile?: boolean;
|
|
352
|
-
shortcut?: string;
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
declare type __VLS_Props_38 = {
|
|
356
|
-
title: string;
|
|
357
|
-
sub?: string;
|
|
358
|
-
scrolled: boolean;
|
|
359
|
-
};
|
|
360
|
-
|
|
361
420
|
declare type __VLS_Props_39 = {
|
|
362
|
-
|
|
363
|
-
modelValue: string;
|
|
364
|
-
indicator?: boolean;
|
|
421
|
+
opacity?: number;
|
|
365
422
|
};
|
|
366
423
|
|
|
367
424
|
declare type __VLS_Props_4 = {
|
|
@@ -380,12 +437,31 @@ declare type __VLS_Props_4 = {
|
|
|
380
437
|
};
|
|
381
438
|
|
|
382
439
|
declare type __VLS_Props_40 = {
|
|
440
|
+
recent?: RecentTask[];
|
|
441
|
+
hasRunning?: boolean;
|
|
442
|
+
mobile?: boolean;
|
|
443
|
+
shortcut?: string;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
declare type __VLS_Props_41 = {
|
|
447
|
+
title: string;
|
|
448
|
+
sub?: string;
|
|
449
|
+
scrolled: boolean;
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
declare type __VLS_Props_42 = {
|
|
453
|
+
items: TabItem[];
|
|
454
|
+
modelValue: string;
|
|
455
|
+
indicator?: boolean;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
declare type __VLS_Props_43 = {
|
|
383
459
|
title: string;
|
|
384
460
|
sub?: string;
|
|
385
461
|
scrolled?: boolean;
|
|
386
462
|
};
|
|
387
463
|
|
|
388
|
-
declare type
|
|
464
|
+
declare type __VLS_Props_44 = {
|
|
389
465
|
items: TabItem[];
|
|
390
466
|
modelValue: string;
|
|
391
467
|
indicator?: boolean;
|
|
@@ -395,7 +471,7 @@ declare type __VLS_Props_41 = {
|
|
|
395
471
|
* Lucide glyph rendered inline from the bundled table, so it follows currentColor and fetches nothing.
|
|
396
472
|
* SUBSTITUTION: Timebraid has no icon set of its own yet; Lucide is the closest match to the mark.
|
|
397
473
|
*/
|
|
398
|
-
declare type
|
|
474
|
+
declare type __VLS_Props_45 = {
|
|
399
475
|
/** Lucide kebab-case name from the bundled table: play, square, plus, folder-kanban... */
|
|
400
476
|
name: string;
|
|
401
477
|
/** 16 in the app, 20 in the site header, 24 in marketing rows. */
|
|
@@ -406,26 +482,26 @@ declare type __VLS_Props_42 = {
|
|
|
406
482
|
};
|
|
407
483
|
|
|
408
484
|
/** The Timebraid stopwatch from shipped artwork: the detailed PNG plate at 64px and up, the flat small mark below, the 16px PNG under 24px. `mono` paints the one-colour mark in currentColor. */
|
|
409
|
-
declare type
|
|
485
|
+
declare type __VLS_Props_46 = {
|
|
410
486
|
size?: number;
|
|
411
487
|
wordmark?: boolean;
|
|
412
488
|
mono?: boolean;
|
|
413
489
|
};
|
|
414
490
|
|
|
415
|
-
declare type
|
|
491
|
+
declare type __VLS_Props_47 = {
|
|
416
492
|
modelValue?: string;
|
|
417
493
|
length?: number;
|
|
418
494
|
error?: string;
|
|
419
495
|
autofocus?: boolean;
|
|
420
496
|
};
|
|
421
497
|
|
|
422
|
-
declare type
|
|
498
|
+
declare type __VLS_Props_48 = {
|
|
423
499
|
title: string;
|
|
424
500
|
description?: string;
|
|
425
501
|
width?: number;
|
|
426
502
|
};
|
|
427
503
|
|
|
428
|
-
declare type
|
|
504
|
+
declare type __VLS_Props_49 = {
|
|
429
505
|
modelValue?: boolean;
|
|
430
506
|
label: string;
|
|
431
507
|
description?: string;
|
|
@@ -433,17 +509,87 @@ declare type __VLS_Props_46 = {
|
|
|
433
509
|
disabled?: boolean;
|
|
434
510
|
};
|
|
435
511
|
|
|
436
|
-
declare type
|
|
512
|
+
declare type __VLS_Props_5 = {
|
|
513
|
+
verb: string;
|
|
514
|
+
disabled?: boolean;
|
|
515
|
+
armed?: boolean;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
declare type __VLS_Props_50 = {
|
|
437
519
|
content: string;
|
|
438
520
|
/** e.g. ⌘N - mono, muted, at the end. */
|
|
439
521
|
shortcut?: string;
|
|
522
|
+
side?: Side;
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
declare type __VLS_Props_51 = {
|
|
526
|
+
days: TimelineDay[];
|
|
527
|
+
hiddenIds?: ReadonlySet<string> | null;
|
|
528
|
+
highlightIds?: ReadonlySet<string> | null;
|
|
529
|
+
hoverId?: string | null;
|
|
530
|
+
compact?: boolean;
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
declare type __VLS_Props_52 = {
|
|
534
|
+
hidden: boolean;
|
|
535
|
+
label: string;
|
|
536
|
+
hint?: string | null;
|
|
537
|
+
size?: number;
|
|
440
538
|
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
441
539
|
};
|
|
442
540
|
|
|
443
|
-
declare type
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
541
|
+
declare type __VLS_Props_53 = {
|
|
542
|
+
newestFirst: boolean;
|
|
543
|
+
compact?: boolean;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
declare type __VLS_Props_54 = {
|
|
547
|
+
unit: PeriodUnit;
|
|
548
|
+
offset: number;
|
|
549
|
+
customRange?: CustomRange | null;
|
|
550
|
+
today?: string;
|
|
551
|
+
mobile?: boolean;
|
|
552
|
+
teleport?: boolean;
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
declare type __VLS_Props_55 = {
|
|
556
|
+
items: readonly MenuItem[];
|
|
557
|
+
modelValue: string | null;
|
|
558
|
+
open: boolean;
|
|
559
|
+
anchor: HTMLElement | null;
|
|
560
|
+
title?: string;
|
|
561
|
+
mobile?: boolean;
|
|
562
|
+
teleport?: boolean;
|
|
563
|
+
width?: number;
|
|
564
|
+
align?: 'start' | 'end';
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
declare type __VLS_Props_56 = {
|
|
568
|
+
modelValue?: string;
|
|
569
|
+
placeholder?: string;
|
|
570
|
+
label?: string;
|
|
571
|
+
shortcut?: string | null;
|
|
572
|
+
compact?: boolean;
|
|
573
|
+
size?: keyof typeof SIZES_2;
|
|
574
|
+
busy?: boolean;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
declare type __VLS_Props_57 = {
|
|
578
|
+
others?: string[];
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
declare type __VLS_Props_58 = {
|
|
582
|
+
count?: number;
|
|
583
|
+
compact?: boolean;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
declare type __VLS_Props_59 = {
|
|
587
|
+
options: ChipOption[];
|
|
588
|
+
modelValue?: string | readonly string[] | null;
|
|
589
|
+
multiple?: boolean;
|
|
590
|
+
label?: string;
|
|
591
|
+
empty?: string;
|
|
592
|
+
addLabel?: string;
|
|
447
593
|
};
|
|
448
594
|
|
|
449
595
|
declare type __VLS_Props_6 = {
|
|
@@ -455,6 +601,72 @@ declare type __VLS_Props_6 = {
|
|
|
455
601
|
compact?: boolean;
|
|
456
602
|
};
|
|
457
603
|
|
|
604
|
+
declare type __VLS_Props_60 = {
|
|
605
|
+
open: boolean;
|
|
606
|
+
modelValue: EntryFilters;
|
|
607
|
+
showWorkspace: boolean;
|
|
608
|
+
fetchOptions: (dimension: FilterDimension, query: string, draft: EntryFilters, cursor: string | null, limit: number) => Promise<PickPage>;
|
|
609
|
+
nameOf: (dimension: FilterDimension, id: string) => string;
|
|
610
|
+
parentOf: ParentOf;
|
|
611
|
+
scopeLine: (dimension: FilterDimension, draft: EntryFilters) => string | null;
|
|
612
|
+
flagCounts: (draft: EntryFilters) => Partial<Record<EntryFlag, number>>;
|
|
613
|
+
noteCounts: (draft: EntryFilters) => Record<NoteFilter, number>;
|
|
614
|
+
optionCount?: (dimension: FilterDimension, draft: EntryFilters) => number;
|
|
615
|
+
showFlags?: boolean;
|
|
616
|
+
showNotes?: boolean;
|
|
617
|
+
mobile?: boolean;
|
|
618
|
+
teleport?: boolean;
|
|
619
|
+
};
|
|
620
|
+
|
|
621
|
+
declare type __VLS_Props_61 = {
|
|
622
|
+
fetchPage: (query: string, cursor: string | null, limit: number) => Promise<PickPage>;
|
|
623
|
+
modelValue: string[];
|
|
624
|
+
visibleRows?: number;
|
|
625
|
+
pageSize?: number;
|
|
626
|
+
searchPlaceholder?: string;
|
|
627
|
+
scope?: string | null;
|
|
628
|
+
compact?: boolean;
|
|
629
|
+
emptyTime?: string;
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
declare type __VLS_Props_62 = {
|
|
633
|
+
text: string;
|
|
634
|
+
query?: string;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
declare type __VLS_Props_63 = {
|
|
638
|
+
page: number;
|
|
639
|
+
pageSize: number;
|
|
640
|
+
total: number;
|
|
641
|
+
sizes?: readonly number[];
|
|
642
|
+
compact?: boolean;
|
|
643
|
+
mobile?: boolean;
|
|
644
|
+
teleport?: boolean;
|
|
645
|
+
last?: boolean;
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
declare type __VLS_Props_64 = {
|
|
649
|
+
width?: string;
|
|
650
|
+
height?: number;
|
|
651
|
+
shape?: keyof typeof RADIUS;
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
declare type __VLS_Props_65 = {
|
|
655
|
+
rows?: number;
|
|
656
|
+
leading?: keyof typeof LEADING;
|
|
657
|
+
trailing?: boolean;
|
|
658
|
+
subtitle?: boolean;
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
declare type __VLS_Props_66 = {
|
|
662
|
+
title: string;
|
|
663
|
+
text?: string;
|
|
664
|
+
icon?: string;
|
|
665
|
+
action?: string;
|
|
666
|
+
tone?: keyof typeof TONES_5;
|
|
667
|
+
compact?: boolean;
|
|
668
|
+
};
|
|
669
|
+
|
|
458
670
|
declare type __VLS_Props_7 = {
|
|
459
671
|
modelValue: string;
|
|
460
672
|
options: {
|
|
@@ -494,6 +706,17 @@ declare function __VLS_template(): {
|
|
|
494
706
|
};
|
|
495
707
|
|
|
496
708
|
declare function __VLS_template_10(): {
|
|
709
|
+
attrs: Partial<{}>;
|
|
710
|
+
slots: {
|
|
711
|
+
popover?(_: {
|
|
712
|
+
running: PillTimer[];
|
|
713
|
+
}): any;
|
|
714
|
+
};
|
|
715
|
+
refs: {};
|
|
716
|
+
rootEl: HTMLDivElement;
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
declare function __VLS_template_11(): {
|
|
497
720
|
attrs: Partial<{}>;
|
|
498
721
|
slots: {
|
|
499
722
|
leading?(_: {}): any;
|
|
@@ -503,7 +726,7 @@ declare function __VLS_template_10(): {
|
|
|
503
726
|
rootEl: HTMLDivElement;
|
|
504
727
|
};
|
|
505
728
|
|
|
506
|
-
declare function
|
|
729
|
+
declare function __VLS_template_12(): {
|
|
507
730
|
attrs: Partial<{}>;
|
|
508
731
|
slots: {
|
|
509
732
|
title?(_: {}): any;
|
|
@@ -513,7 +736,7 @@ declare function __VLS_template_11(): {
|
|
|
513
736
|
rootEl: HTMLDivElement;
|
|
514
737
|
};
|
|
515
738
|
|
|
516
|
-
declare function
|
|
739
|
+
declare function __VLS_template_13(): {
|
|
517
740
|
attrs: Partial<{}>;
|
|
518
741
|
slots: {
|
|
519
742
|
title?(_: {}): any;
|
|
@@ -525,15 +748,43 @@ declare function __VLS_template_12(): {
|
|
|
525
748
|
rootEl: HTMLDivElement;
|
|
526
749
|
};
|
|
527
750
|
|
|
528
|
-
declare function
|
|
751
|
+
declare function __VLS_template_14(): {
|
|
529
752
|
attrs: Partial<{}>;
|
|
530
753
|
slots: {
|
|
531
754
|
default?(_: {}): any;
|
|
532
755
|
};
|
|
533
|
-
refs: {
|
|
756
|
+
refs: {
|
|
757
|
+
anchor: HTMLSpanElement;
|
|
758
|
+
};
|
|
534
759
|
rootEl: HTMLSpanElement;
|
|
535
760
|
};
|
|
536
761
|
|
|
762
|
+
declare function __VLS_template_15(): {
|
|
763
|
+
attrs: Partial<{}>;
|
|
764
|
+
slots: Readonly<{
|
|
765
|
+
label?: () => unknown;
|
|
766
|
+
icon?: (scope: {
|
|
767
|
+
option: ChipOption;
|
|
768
|
+
}) => unknown;
|
|
769
|
+
}> & {
|
|
770
|
+
label?: () => unknown;
|
|
771
|
+
icon?: (scope: {
|
|
772
|
+
option: ChipOption;
|
|
773
|
+
}) => unknown;
|
|
774
|
+
};
|
|
775
|
+
refs: {};
|
|
776
|
+
rootEl: HTMLDivElement;
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
declare function __VLS_template_16(): {
|
|
780
|
+
attrs: Partial<{}>;
|
|
781
|
+
slots: {
|
|
782
|
+
default?(_: {}): any;
|
|
783
|
+
};
|
|
784
|
+
refs: {};
|
|
785
|
+
rootEl: HTMLDivElement;
|
|
786
|
+
};
|
|
787
|
+
|
|
537
788
|
declare function __VLS_template_2(): {
|
|
538
789
|
attrs: Partial<{}>;
|
|
539
790
|
slots: {
|
|
@@ -574,6 +825,17 @@ declare function __VLS_template_5(): {
|
|
|
574
825
|
};
|
|
575
826
|
|
|
576
827
|
declare function __VLS_template_6(): {
|
|
828
|
+
attrs: Partial<{}>;
|
|
829
|
+
slots: {
|
|
830
|
+
default?(_: {}): any;
|
|
831
|
+
};
|
|
832
|
+
refs: {
|
|
833
|
+
panel: HTMLDivElement;
|
|
834
|
+
};
|
|
835
|
+
rootEl: any;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
declare function __VLS_template_7(): {
|
|
577
839
|
attrs: Partial<{}>;
|
|
578
840
|
slots: {
|
|
579
841
|
default?(_: {}): any;
|
|
@@ -582,7 +844,7 @@ declare function __VLS_template_6(): {
|
|
|
582
844
|
rootEl: HTMLSpanElement;
|
|
583
845
|
};
|
|
584
846
|
|
|
585
|
-
declare function
|
|
847
|
+
declare function __VLS_template_8(): {
|
|
586
848
|
attrs: Partial<{}>;
|
|
587
849
|
slots: {
|
|
588
850
|
right?(_: {}): any;
|
|
@@ -591,9 +853,10 @@ declare function __VLS_template_7(): {
|
|
|
591
853
|
rootEl: HTMLDivElement;
|
|
592
854
|
};
|
|
593
855
|
|
|
594
|
-
declare function
|
|
856
|
+
declare function __VLS_template_9(): {
|
|
595
857
|
attrs: Partial<{}>;
|
|
596
858
|
slots: {
|
|
859
|
+
left?(_: {}): any;
|
|
597
860
|
primary?(_: {}): any;
|
|
598
861
|
default?(_: {}): any;
|
|
599
862
|
default?(_: {}): any;
|
|
@@ -606,17 +869,6 @@ declare function __VLS_template_8(): {
|
|
|
606
869
|
rootEl: any;
|
|
607
870
|
};
|
|
608
871
|
|
|
609
|
-
declare function __VLS_template_9(): {
|
|
610
|
-
attrs: Partial<{}>;
|
|
611
|
-
slots: {
|
|
612
|
-
popover?(_: {
|
|
613
|
-
running: PillTimer[];
|
|
614
|
-
}): any;
|
|
615
|
-
};
|
|
616
|
-
refs: {};
|
|
617
|
-
rootEl: HTMLDivElement;
|
|
618
|
-
};
|
|
619
|
-
|
|
620
872
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
621
873
|
|
|
622
874
|
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
@@ -627,6 +879,12 @@ declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
|
627
879
|
|
|
628
880
|
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
629
881
|
|
|
882
|
+
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
883
|
+
|
|
884
|
+
declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
885
|
+
|
|
886
|
+
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
887
|
+
|
|
630
888
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
631
889
|
|
|
632
890
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -673,6 +931,24 @@ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
|
673
931
|
};
|
|
674
932
|
};
|
|
675
933
|
|
|
934
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
935
|
+
new (): {
|
|
936
|
+
$slots: S;
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
941
|
+
new (): {
|
|
942
|
+
$slots: S;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
947
|
+
new (): {
|
|
948
|
+
$slots: S;
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
|
|
676
952
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
677
953
|
new (): {
|
|
678
954
|
$slots: S;
|
|
@@ -729,16 +1005,27 @@ export declare function applyTheme(root: HTMLElement, theme: ResolvedTheme): voi
|
|
|
729
1005
|
|
|
730
1006
|
export declare function blobFromDataUrl(dataUrl: string): Blob;
|
|
731
1007
|
|
|
1008
|
+
export declare interface ChipOption {
|
|
1009
|
+
id: string;
|
|
1010
|
+
label: string;
|
|
1011
|
+
color?: string;
|
|
1012
|
+
icon?: string;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
732
1015
|
/** Keeps the mask fully covered: the image, scaled by z over a stage of `stage` px, may only slide until its edge meets the mask's edge. */
|
|
733
1016
|
export declare function clampOffset(x: number, y: number, z: number, stage: number, inset?: number): {
|
|
734
1017
|
x: number;
|
|
735
1018
|
y: number;
|
|
736
1019
|
};
|
|
737
1020
|
|
|
1021
|
+
export declare const clampPage: (page: number, total: number, size: number) => number;
|
|
1022
|
+
|
|
738
1023
|
export declare const clampZoom: (z: number) => number;
|
|
739
1024
|
|
|
740
1025
|
export declare function clockToMinutes(clock: string): number | null;
|
|
741
1026
|
|
|
1027
|
+
export declare const copyFilters: (f: EntryFilters) => EntryFilters;
|
|
1028
|
+
|
|
742
1029
|
export declare const coverScale: (width: number, height: number, stage: number) => number;
|
|
743
1030
|
|
|
744
1031
|
/** Where to draw the natural image on an `output` px canvas so the mask's bounding square fills it. */
|
|
@@ -749,9 +1036,18 @@ export declare function cropRect(natural: NaturalSize, placement: Placement, sta
|
|
|
749
1036
|
dh: number;
|
|
750
1037
|
};
|
|
751
1038
|
|
|
1039
|
+
export declare interface CustomRange {
|
|
1040
|
+
from: string;
|
|
1041
|
+
to: string;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
752
1044
|
/** Where TIcon masks from when nothing overrides it. */
|
|
753
1045
|
export declare const DEFAULT_ICON_BASE = "https://unpkg.com/lucide-static@0.545.0/icons/";
|
|
754
1046
|
|
|
1047
|
+
export declare const DEFAULT_PAGE_SIZE = 10;
|
|
1048
|
+
|
|
1049
|
+
export declare const DIMENSION_KEYS: Readonly<Record<FilterDimension, 'workspaces' | 'projects' | 'tasks' | 'people'>>;
|
|
1050
|
+
|
|
755
1051
|
export declare interface DrawerUser {
|
|
756
1052
|
name: string;
|
|
757
1053
|
email?: string;
|
|
@@ -760,13 +1056,38 @@ export declare interface DrawerUser {
|
|
|
760
1056
|
|
|
761
1057
|
export declare const DURATION_PRESETS: number[];
|
|
762
1058
|
|
|
763
|
-
export declare type DurationFormat = 'clock' | 'short' | 'compact';
|
|
1059
|
+
export declare type DurationFormat = 'clock' | 'short' | 'compact' | 'friendly';
|
|
1060
|
+
|
|
1061
|
+
export declare const emptyFilters: () => EntryFilters;
|
|
1062
|
+
|
|
1063
|
+
export declare const entriesText: (n: number) => string;
|
|
1064
|
+
|
|
1065
|
+
export declare const ENTRY_FLAGS: readonly EntryFlag[];
|
|
1066
|
+
|
|
1067
|
+
export declare interface EntryFilters {
|
|
1068
|
+
workspaces: string[];
|
|
1069
|
+
projects: string[];
|
|
1070
|
+
tasks: string[];
|
|
1071
|
+
people: string[];
|
|
1072
|
+
flags: EntryFlag[];
|
|
1073
|
+
notes: NoteFilter;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export declare type EntryFlag = 'parallel' | 'autoStop' | 'running' | 'micro';
|
|
764
1077
|
|
|
765
1078
|
export declare const FILLED_NAMES: ReadonlySet<string>;
|
|
766
1079
|
|
|
1080
|
+
export declare const filterCount: (f: EntryFilters) => number;
|
|
1081
|
+
|
|
1082
|
+
export declare type FilterDimension = 'workspace' | 'project' | 'task' | 'person';
|
|
1083
|
+
|
|
1084
|
+
export declare const FLAG_HINTS: Readonly<Record<EntryFlag, string>>;
|
|
1085
|
+
|
|
1086
|
+
export declare const FLAG_LABELS: Readonly<Record<EntryFlag, string>>;
|
|
1087
|
+
|
|
767
1088
|
export declare function formatDay(iso: string): string;
|
|
768
1089
|
|
|
769
|
-
/** 8047 → "2:14:07" (clock) · "2:14" (short) · "2h 14m" (compact) */
|
|
1090
|
+
/** 8047 → "2:14:07" (clock) · "2:14" (short) · "2h 14m" (compact) · "2h 14m" (friendly: "18s", "48m", "2h") */
|
|
770
1091
|
export declare function formatDuration(seconds: number, format?: DurationFormat): string;
|
|
771
1092
|
|
|
772
1093
|
export declare function formatMinutes(minutes: number): string;
|
|
@@ -786,8 +1107,24 @@ export declare function groupTimers(timers: PillTimer[]): TimerGroup[];
|
|
|
786
1107
|
|
|
787
1108
|
export declare const hasIcon: (name: string) => boolean;
|
|
788
1109
|
|
|
1110
|
+
export declare interface HighlightSegment {
|
|
1111
|
+
text: string;
|
|
1112
|
+
hit: boolean;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export declare function highlightSegments(text: string, query: string): HighlightSegment[];
|
|
1116
|
+
|
|
1117
|
+
export declare const hourLabel: (hour: number) => string;
|
|
1118
|
+
|
|
1119
|
+
/** 0..max as wheel rows, two digits when `clock`. */
|
|
1120
|
+
export declare const hourOptions: (max: number, clock?: boolean) => WheelOption[];
|
|
1121
|
+
|
|
789
1122
|
export declare const ICON_NAMES: readonly string[];
|
|
790
1123
|
|
|
1124
|
+
export declare const isCurrentPeriod: (unit: PeriodUnit, offset: number) => boolean;
|
|
1125
|
+
|
|
1126
|
+
export declare const isRunningEntry: (e: TimelineEntry) => boolean;
|
|
1127
|
+
|
|
791
1128
|
declare const KINDS: {
|
|
792
1129
|
readonly primary: {
|
|
793
1130
|
readonly background: "var(--accent)";
|
|
@@ -820,13 +1157,43 @@ declare const KINDS: {
|
|
|
820
1157
|
};
|
|
821
1158
|
};
|
|
822
1159
|
|
|
1160
|
+
declare const LEADING: {
|
|
1161
|
+
readonly none: null;
|
|
1162
|
+
readonly dot: {
|
|
1163
|
+
readonly width: "10px";
|
|
1164
|
+
readonly height: 10;
|
|
1165
|
+
readonly shape: "circle";
|
|
1166
|
+
};
|
|
1167
|
+
readonly avatar: {
|
|
1168
|
+
readonly width: "30px";
|
|
1169
|
+
readonly height: 30;
|
|
1170
|
+
readonly shape: "circle";
|
|
1171
|
+
};
|
|
1172
|
+
readonly square: {
|
|
1173
|
+
readonly width: "var(--icon-square)";
|
|
1174
|
+
readonly height: 30;
|
|
1175
|
+
readonly shape: "block";
|
|
1176
|
+
};
|
|
1177
|
+
};
|
|
1178
|
+
|
|
823
1179
|
export declare function longestTimer(timers: PillTimer[]): PillTimer | null;
|
|
824
1180
|
|
|
825
1181
|
export declare const MASK_INSET = 6;
|
|
826
1182
|
|
|
1183
|
+
export declare interface MenuItem {
|
|
1184
|
+
id: string;
|
|
1185
|
+
label: string;
|
|
1186
|
+
sub?: string;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/** Every `step` minutes in the hour, plus `current` so a picked minute off the step stays on the wheel. */
|
|
1190
|
+
export declare function minuteOptions(step: number, current: number): WheelOption[];
|
|
1191
|
+
|
|
827
1192
|
/** Minutes from one clock time to a later one on the same day, wrapping past midnight. */
|
|
828
1193
|
export declare function minutesBetween(startClock: string, endClock: string): number | null;
|
|
829
1194
|
|
|
1195
|
+
export declare const minutesToAmPm: (minutes: number) => string;
|
|
1196
|
+
|
|
830
1197
|
export declare const minutesToClock: (minutes: number) => string;
|
|
831
1198
|
|
|
832
1199
|
/** Six Monday-first rows, forty-two days, so the grid never changes height. */
|
|
@@ -834,11 +1201,19 @@ export declare function monthGrid(ym: YearMonth): GridDay[];
|
|
|
834
1201
|
|
|
835
1202
|
export declare function monthOf(iso: string): YearMonth;
|
|
836
1203
|
|
|
1204
|
+
export declare const MONTHS_LONG: string[];
|
|
1205
|
+
|
|
837
1206
|
export declare interface NaturalSize {
|
|
838
1207
|
width: number;
|
|
839
1208
|
height: number;
|
|
840
1209
|
}
|
|
841
1210
|
|
|
1211
|
+
export declare const NOTE_FILTERS: readonly NoteFilter[];
|
|
1212
|
+
|
|
1213
|
+
export declare const NOTE_LABELS: Readonly<Record<NoteFilter, string>>;
|
|
1214
|
+
|
|
1215
|
+
export declare type NoteFilter = 'any' | 'with' | 'without';
|
|
1216
|
+
|
|
842
1217
|
export declare function orderRange(a: string, b: string): {
|
|
843
1218
|
from: string;
|
|
844
1219
|
to: string;
|
|
@@ -846,14 +1221,84 @@ export declare function orderRange(a: string, b: string): {
|
|
|
846
1221
|
|
|
847
1222
|
export declare const OUTPUT_SIZE = 512;
|
|
848
1223
|
|
|
1224
|
+
export declare const PAGE_SIZES: readonly number[];
|
|
1225
|
+
|
|
1226
|
+
export declare const pageable: (total: number, sizes?: readonly number[]) => boolean;
|
|
1227
|
+
|
|
1228
|
+
export declare interface PageBounds {
|
|
1229
|
+
page: number;
|
|
1230
|
+
pages: number;
|
|
1231
|
+
from: number;
|
|
1232
|
+
to: number;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
export declare function pageBounds(page: number, total: number, size: number): PageBounds;
|
|
1236
|
+
|
|
1237
|
+
export declare const pageCount: (total: number, size: number) => number;
|
|
1238
|
+
|
|
1239
|
+
export declare const pageRangeLabel: ({ from, to }: Pick<PageBounds, "from" | "to">, total: number) => string;
|
|
1240
|
+
|
|
1241
|
+
export declare const pageSizeLabel: (size: number) => string;
|
|
1242
|
+
|
|
1243
|
+
export declare interface PageSlice<T> extends PageBounds {
|
|
1244
|
+
rows: T[];
|
|
1245
|
+
total: number;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
export declare function pageSlice<T>(items: readonly T[], page: number, size: number): PageSlice<T>;
|
|
1249
|
+
|
|
1250
|
+
export declare function parallelMinutes(spans: readonly TimelineSpan[]): number;
|
|
1251
|
+
|
|
1252
|
+
export declare function parallelPartners(spans: readonly TimelineSpan[]): Map<string, string[]>;
|
|
1253
|
+
|
|
1254
|
+
export declare type ParentOf = (dimension: 'project' | 'task', id: string) => string | null;
|
|
1255
|
+
|
|
849
1256
|
export declare function parseIso(iso: string): Date | null;
|
|
850
1257
|
|
|
1258
|
+
export declare const PERIOD_DASH = "\u2013";
|
|
1259
|
+
|
|
1260
|
+
export declare const PERIOD_UNITS: readonly PeriodItem[];
|
|
1261
|
+
|
|
1262
|
+
export declare interface PeriodBounds {
|
|
1263
|
+
from: string;
|
|
1264
|
+
to: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
export declare function periodBounds(unit: PeriodUnit, offset: number, today: string, custom?: CustomRange | null): PeriodBounds;
|
|
1268
|
+
|
|
1269
|
+
export declare interface PeriodItem {
|
|
1270
|
+
id: PeriodUnit;
|
|
1271
|
+
label: string;
|
|
1272
|
+
sub: string;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export declare function periodLabel(unit: PeriodUnit, offset: number, today: string, custom?: CustomRange | null): string;
|
|
1276
|
+
|
|
1277
|
+
export declare const periodReturnLabel: (unit: PeriodUnit) => string;
|
|
1278
|
+
|
|
1279
|
+
export declare type PeriodUnit = 'day' | 'week' | 'month' | 'custom';
|
|
1280
|
+
|
|
851
1281
|
export declare interface Person {
|
|
852
1282
|
name: string;
|
|
853
1283
|
src?: string;
|
|
854
1284
|
color?: string;
|
|
855
1285
|
}
|
|
856
1286
|
|
|
1287
|
+
export declare interface PickItem {
|
|
1288
|
+
id: string;
|
|
1289
|
+
label: string;
|
|
1290
|
+
context?: string;
|
|
1291
|
+
seconds: number;
|
|
1292
|
+
kind: 'workspace' | 'project' | 'task' | 'person';
|
|
1293
|
+
color?: string;
|
|
1294
|
+
iconUrl?: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export declare interface PickPage {
|
|
1298
|
+
items: PickItem[];
|
|
1299
|
+
nextCursor: string | null;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
857
1302
|
export declare interface PillTimer {
|
|
858
1303
|
id: string;
|
|
859
1304
|
task: string;
|
|
@@ -883,6 +1328,13 @@ export declare function presetRange(kind: RangePreset, today: string): {
|
|
|
883
1328
|
/** Okabe-Ito, the only palette permitted for projects and charts. */
|
|
884
1329
|
export declare const PROJECT_COLORS: string[];
|
|
885
1330
|
|
|
1331
|
+
declare const RADIUS: {
|
|
1332
|
+
readonly text: "6px";
|
|
1333
|
+
readonly block: "var(--r-btn)";
|
|
1334
|
+
readonly circle: "50%";
|
|
1335
|
+
readonly pill: "var(--r-pill)";
|
|
1336
|
+
};
|
|
1337
|
+
|
|
886
1338
|
export declare const RANGE_PRESETS: {
|
|
887
1339
|
value: RangePreset;
|
|
888
1340
|
label: string;
|
|
@@ -890,6 +1342,9 @@ export declare const RANGE_PRESETS: {
|
|
|
890
1342
|
|
|
891
1343
|
export declare type RangePreset = 'today' | 'week' | 'last7' | 'month';
|
|
892
1344
|
|
|
1345
|
+
/** Draws an SVG document onto a square canvas and hands back a PNG, the way the sheet saves an uploaded icon. */
|
|
1346
|
+
export declare function rasterizeSvg(svg: string, size?: number): Promise<Blob>;
|
|
1347
|
+
|
|
893
1348
|
export declare interface RecentTask {
|
|
894
1349
|
id: string;
|
|
895
1350
|
task: string;
|
|
@@ -901,6 +1356,8 @@ export declare type ResolvedTheme = 'light' | 'dark';
|
|
|
901
1356
|
|
|
902
1357
|
export declare function resolveTheme(pref: ThemePreference, prefersDark: boolean): ResolvedTheme;
|
|
903
1358
|
|
|
1359
|
+
export declare const RUNNING_SHEEN = "linear-gradient(90deg, transparent 55%, rgba(255,255,255,.55))";
|
|
1360
|
+
|
|
904
1361
|
export declare interface SelectOption {
|
|
905
1362
|
value: string;
|
|
906
1363
|
label: string;
|
|
@@ -908,6 +1365,8 @@ export declare interface SelectOption {
|
|
|
908
1365
|
|
|
909
1366
|
export declare function shiftMonth(ym: YearMonth, by: number): YearMonth;
|
|
910
1367
|
|
|
1368
|
+
declare type Side = 'top' | 'bottom' | 'left' | 'right';
|
|
1369
|
+
|
|
911
1370
|
declare const SIZES: {
|
|
912
1371
|
readonly sm: {
|
|
913
1372
|
readonly height: "var(--control-h-sm)";
|
|
@@ -935,8 +1394,37 @@ declare const SIZES: {
|
|
|
935
1394
|
};
|
|
936
1395
|
};
|
|
937
1396
|
|
|
1397
|
+
declare const SIZES_2: {
|
|
1398
|
+
readonly md: {
|
|
1399
|
+
readonly height: 36;
|
|
1400
|
+
readonly compactHeight: 38;
|
|
1401
|
+
readonly icon: 15;
|
|
1402
|
+
readonly font: 15;
|
|
1403
|
+
readonly clear: 22;
|
|
1404
|
+
readonly padding: "0 7px 0 11px";
|
|
1405
|
+
};
|
|
1406
|
+
readonly sm: {
|
|
1407
|
+
readonly height: 32;
|
|
1408
|
+
readonly compactHeight: 36;
|
|
1409
|
+
readonly icon: 13;
|
|
1410
|
+
readonly font: 14;
|
|
1411
|
+
readonly clear: 20;
|
|
1412
|
+
readonly padding: "0 6px 0 10px";
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
export declare function spanLabel(from: string, to: string, today: string): string;
|
|
1417
|
+
|
|
938
1418
|
export declare function startOfWeekIso(iso: string): string;
|
|
939
1419
|
|
|
1420
|
+
export declare const STRIPES = "repeating-linear-gradient(135deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px)";
|
|
1421
|
+
|
|
1422
|
+
export declare const SWATCH_COLORS: readonly string[];
|
|
1423
|
+
|
|
1424
|
+
export declare const swatchFill: (color: string, hatched?: boolean, running?: boolean) => string;
|
|
1425
|
+
|
|
1426
|
+
export declare const swatchInk: (color: string) => string;
|
|
1427
|
+
|
|
940
1428
|
export declare interface TabItem {
|
|
941
1429
|
id: string;
|
|
942
1430
|
label: string;
|
|
@@ -951,30 +1439,41 @@ onClick?: (() => any) | undefined;
|
|
|
951
1439
|
icon: string;
|
|
952
1440
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
953
1441
|
|
|
954
|
-
export declare const TAndroidNavBar: DefineComponent<
|
|
1442
|
+
export declare const TAndroidNavBar: DefineComponent<__VLS_Props_44, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
955
1443
|
"update:modelValue": (id: string) => any;
|
|
956
|
-
}, string, PublicProps, Readonly<
|
|
1444
|
+
}, string, PublicProps, Readonly<__VLS_Props_44> & Readonly<{
|
|
957
1445
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
958
1446
|
}>, {
|
|
959
1447
|
indicator: boolean;
|
|
960
1448
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
961
1449
|
|
|
962
|
-
export declare const TAndroidTop:
|
|
1450
|
+
export declare const TAndroidTop: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1451
|
+
|
|
1452
|
+
export declare interface TaskSwatch {
|
|
1453
|
+
color: string;
|
|
1454
|
+
hatched: boolean;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
export declare function taskSwatches(ids: readonly string[]): Map<string, TaskSwatch>;
|
|
1458
|
+
|
|
1459
|
+
export declare const TAuthCard: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
963
1460
|
|
|
964
|
-
export declare const
|
|
1461
|
+
export declare const TAutoStopMark: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLSpanElement>;
|
|
965
1462
|
|
|
966
|
-
export declare const TAvatar: DefineComponent<
|
|
1463
|
+
export declare const TAvatar: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
967
1464
|
size: number;
|
|
968
1465
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
969
1466
|
|
|
970
|
-
export declare const TAvatarStack: DefineComponent<
|
|
1467
|
+
export declare const TAvatarStack: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {
|
|
971
1468
|
size: number;
|
|
972
1469
|
max: number;
|
|
973
1470
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
974
1471
|
|
|
975
|
-
export declare const TBadge:
|
|
1472
|
+
export declare const TBadge: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
976
1473
|
|
|
977
|
-
export declare const
|
|
1474
|
+
export declare const TBanner: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1475
|
+
|
|
1476
|
+
export declare const TBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {
|
|
978
1477
|
color: string;
|
|
979
1478
|
to: string | string[];
|
|
980
1479
|
over: string;
|
|
@@ -983,9 +1482,15 @@ h: number;
|
|
|
983
1482
|
|
|
984
1483
|
export declare const TBtn: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
985
1484
|
|
|
986
|
-
export declare const
|
|
1485
|
+
export declare const TBudgetBar: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
|
|
1486
|
+
color: string;
|
|
1487
|
+
height: number;
|
|
1488
|
+
expected: number;
|
|
1489
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1490
|
+
|
|
1491
|
+
export declare const TCalendar: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
987
1492
|
pick: (iso: string) => any;
|
|
988
|
-
}, string, PublicProps, Readonly<
|
|
1493
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
989
1494
|
onPick?: ((iso: string) => any) | undefined;
|
|
990
1495
|
}>, {
|
|
991
1496
|
value: string;
|
|
@@ -993,9 +1498,9 @@ to: string;
|
|
|
993
1498
|
from: string;
|
|
994
1499
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
995
1500
|
|
|
996
|
-
export declare const TCheckbox: DefineComponent<
|
|
1501
|
+
export declare const TCheckbox: DefineComponent<__VLS_Props_49, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
997
1502
|
"update:modelValue": (v: boolean) => any;
|
|
998
|
-
}, string, PublicProps, Readonly<
|
|
1503
|
+
}, string, PublicProps, Readonly<__VLS_Props_49> & Readonly<{
|
|
999
1504
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
1000
1505
|
}>, {
|
|
1001
1506
|
disabled: boolean;
|
|
@@ -1003,9 +1508,11 @@ modelValue: boolean;
|
|
|
1003
1508
|
indeterminate: boolean;
|
|
1004
1509
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
1005
1510
|
|
|
1006
|
-
export declare const
|
|
1511
|
+
export declare const TChipRow: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1512
|
+
|
|
1513
|
+
export declare const TCodeInput: DefineComponent<__VLS_Props_47, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1007
1514
|
"update:modelValue": (v: string) => any;
|
|
1008
|
-
}, string, PublicProps, Readonly<
|
|
1515
|
+
}, string, PublicProps, Readonly<__VLS_Props_47> & Readonly<{
|
|
1009
1516
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
1010
1517
|
}>, {
|
|
1011
1518
|
length: number;
|
|
@@ -1017,60 +1524,77 @@ export declare const TConfirmButton: __VLS_WithTemplateSlots_4<typeof __VLS_comp
|
|
|
1017
1524
|
|
|
1018
1525
|
export declare const TConfirmRow: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1019
1526
|
|
|
1020
|
-
export declare const TDatePicker: DefineComponent<
|
|
1527
|
+
export declare const TDatePicker: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1021
1528
|
"update:modelValue": (iso: string) => any;
|
|
1022
|
-
}, string, PublicProps, Readonly<
|
|
1529
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1023
1530
|
"onUpdate:modelValue"?: ((iso: string) => any) | undefined;
|
|
1024
1531
|
}>, {
|
|
1532
|
+
title: string;
|
|
1025
1533
|
label: string;
|
|
1026
|
-
inline: boolean;
|
|
1027
|
-
mobile: boolean;
|
|
1028
1534
|
teleport: boolean;
|
|
1535
|
+
mobile: boolean;
|
|
1029
1536
|
today: string;
|
|
1030
1537
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1031
|
-
|
|
1538
|
+
anchor: HTMLButtonElement;
|
|
1032
1539
|
}, HTMLDivElement>;
|
|
1033
1540
|
|
|
1034
|
-
export declare const TDateRangePicker: DefineComponent<
|
|
1541
|
+
export declare const TDateRangePicker: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1035
1542
|
"update:from": (iso: string) => any;
|
|
1036
1543
|
"update:to": (iso: string) => any;
|
|
1037
|
-
}, string, PublicProps, Readonly<
|
|
1544
|
+
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
1038
1545
|
"onUpdate:from"?: ((iso: string) => any) | undefined;
|
|
1039
1546
|
"onUpdate:to"?: ((iso: string) => any) | undefined;
|
|
1040
1547
|
}>, {
|
|
1041
1548
|
label: string;
|
|
1042
|
-
mobile: boolean;
|
|
1043
1549
|
teleport: boolean;
|
|
1550
|
+
mobile: boolean;
|
|
1044
1551
|
presets: boolean;
|
|
1045
1552
|
today: string;
|
|
1046
1553
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1047
1554
|
root: HTMLDivElement;
|
|
1048
1555
|
}, HTMLDivElement>;
|
|
1049
1556
|
|
|
1050
|
-
export declare const
|
|
1557
|
+
export declare const TDaysTimeline: DefineComponent<__VLS_Props_51, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1558
|
+
open: (id: string) => any;
|
|
1559
|
+
hover: (id: string | null) => any;
|
|
1560
|
+
}, string, PublicProps, Readonly<__VLS_Props_51> & Readonly<{
|
|
1561
|
+
onOpen?: ((id: string) => any) | undefined;
|
|
1562
|
+
onHover?: ((id: string | null) => any) | undefined;
|
|
1563
|
+
}>, {
|
|
1564
|
+
compact: boolean;
|
|
1565
|
+
highlightIds: ReadonlySet<string> | null;
|
|
1566
|
+
hiddenIds: ReadonlySet<string> | null;
|
|
1567
|
+
hoverId: string | null;
|
|
1568
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1569
|
+
axisEl: HTMLDivElement;
|
|
1570
|
+
}, HTMLDivElement>;
|
|
1571
|
+
|
|
1572
|
+
export declare const TDot: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{}>, {
|
|
1051
1573
|
size: number;
|
|
1052
1574
|
running: boolean;
|
|
1053
1575
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1054
1576
|
|
|
1055
|
-
export declare const TDur: DefineComponent<
|
|
1577
|
+
export declare const TDur: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{}>, {
|
|
1056
1578
|
size: number;
|
|
1057
1579
|
tone: keyof typeof TONES_4;
|
|
1058
1580
|
mode: DurationFormat;
|
|
1059
1581
|
weight: number;
|
|
1060
1582
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1061
1583
|
|
|
1062
|
-
export declare const TDurationField: DefineComponent<
|
|
1584
|
+
export declare const TDurationField: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1063
1585
|
"update:modelValue": (minutes: number) => any;
|
|
1064
|
-
}, string, PublicProps, Readonly<
|
|
1586
|
+
}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
|
|
1065
1587
|
"onUpdate:modelValue"?: ((minutes: number) => any) | undefined;
|
|
1066
1588
|
}>, {
|
|
1589
|
+
title: string;
|
|
1067
1590
|
label: string;
|
|
1068
|
-
mobile: boolean;
|
|
1069
1591
|
teleport: boolean;
|
|
1070
|
-
|
|
1592
|
+
mobile: boolean;
|
|
1071
1593
|
minuteStep: number;
|
|
1594
|
+
presets: number[];
|
|
1595
|
+
hoursMax: number;
|
|
1072
1596
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1073
|
-
|
|
1597
|
+
anchor: HTMLButtonElement;
|
|
1074
1598
|
}, HTMLDivElement>;
|
|
1075
1599
|
|
|
1076
1600
|
export declare const TEmpty: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -1085,6 +1609,16 @@ actionIcon: string;
|
|
|
1085
1609
|
compact: boolean;
|
|
1086
1610
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1087
1611
|
|
|
1612
|
+
export declare const TEyeToggle: DefineComponent<__VLS_Props_52, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1613
|
+
toggle: () => any;
|
|
1614
|
+
}, string, PublicProps, Readonly<__VLS_Props_52> & Readonly<{
|
|
1615
|
+
onToggle?: (() => any) | undefined;
|
|
1616
|
+
}>, {
|
|
1617
|
+
size: number;
|
|
1618
|
+
hint: string | null;
|
|
1619
|
+
side: "top" | "bottom" | "left" | "right";
|
|
1620
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1621
|
+
|
|
1088
1622
|
export declare const TField: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1089
1623
|
submit: () => any;
|
|
1090
1624
|
"update:modelValue": (v: string) => any;
|
|
@@ -1099,13 +1633,36 @@ mono: boolean;
|
|
|
1099
1633
|
autofocus: boolean;
|
|
1100
1634
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
1101
1635
|
|
|
1102
|
-
export declare const
|
|
1636
|
+
export declare const TFilterButton: DefineComponent<__VLS_Props_58, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1637
|
+
click: (e: MouseEvent) => any;
|
|
1638
|
+
}, string, PublicProps, Readonly<__VLS_Props_58> & Readonly<{
|
|
1639
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
1640
|
+
}>, {
|
|
1641
|
+
compact: boolean;
|
|
1642
|
+
count: number;
|
|
1643
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1644
|
+
|
|
1645
|
+
export declare const TFilterSheet: DefineComponent<__VLS_Props_60, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1646
|
+
close: () => any;
|
|
1647
|
+
apply: (filters: EntryFilters) => any;
|
|
1648
|
+
}, string, PublicProps, Readonly<__VLS_Props_60> & Readonly<{
|
|
1649
|
+
onClose?: (() => any) | undefined;
|
|
1650
|
+
onApply?: ((filters: EntryFilters) => any) | undefined;
|
|
1651
|
+
}>, {
|
|
1652
|
+
teleport: boolean;
|
|
1653
|
+
mobile: boolean;
|
|
1654
|
+
optionCount: (dimension: FilterDimension, draft: EntryFilters) => number;
|
|
1655
|
+
showFlags: boolean;
|
|
1656
|
+
showNotes: boolean;
|
|
1657
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1658
|
+
|
|
1659
|
+
export declare const TGoalBar: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
|
|
1103
1660
|
color: string;
|
|
1104
1661
|
height: 6 | 8;
|
|
1105
1662
|
catchup: number;
|
|
1106
1663
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1107
1664
|
|
|
1108
|
-
export declare const TGoalStatus: DefineComponent<
|
|
1665
|
+
export declare const TGoalStatus: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
1109
1666
|
catchup: number;
|
|
1110
1667
|
short: boolean;
|
|
1111
1668
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1116,7 +1673,11 @@ export declare const THEME_PREFERENCES: ThemePreference[];
|
|
|
1116
1673
|
|
|
1117
1674
|
export declare type ThemePreference = 'system' | 'light' | 'dark';
|
|
1118
1675
|
|
|
1119
|
-
export declare const
|
|
1676
|
+
export declare const THighlight: DefineComponent<__VLS_Props_62, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_62> & Readonly<{}>, {
|
|
1677
|
+
query: string;
|
|
1678
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1679
|
+
|
|
1680
|
+
export declare const TIcon: DefineComponent<__VLS_Props_45, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_45> & Readonly<{}>, {
|
|
1120
1681
|
color: string;
|
|
1121
1682
|
size: number;
|
|
1122
1683
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1134,6 +1695,34 @@ tone: keyof typeof TONES_2;
|
|
|
1134
1695
|
/** App-wide base URL every TIcon masks from: `app.provide(TIMEBRAID_ICON_BASE, '/icons/')`. */
|
|
1135
1696
|
export declare const TIMEBRAID_ICON_BASE: InjectionKey<string>;
|
|
1136
1697
|
|
|
1698
|
+
export declare interface TimelineDay {
|
|
1699
|
+
key: string;
|
|
1700
|
+
label: string;
|
|
1701
|
+
sub?: string | null;
|
|
1702
|
+
today?: boolean;
|
|
1703
|
+
entries: TimelineEntry[];
|
|
1704
|
+
nowMin?: number | null;
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
export declare interface TimelineEntry {
|
|
1708
|
+
id: string;
|
|
1709
|
+
task: string;
|
|
1710
|
+
start: number;
|
|
1711
|
+
end?: number | null;
|
|
1712
|
+
color: string;
|
|
1713
|
+
hatched?: boolean;
|
|
1714
|
+
running?: boolean;
|
|
1715
|
+
micro?: boolean;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
export declare interface TimelineSpan {
|
|
1719
|
+
id: string;
|
|
1720
|
+
start: number;
|
|
1721
|
+
end: number;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
export declare function timelineSpan(e: TimelineEntry, nowMin?: number | null): TimelineSpan;
|
|
1725
|
+
|
|
1137
1726
|
export declare interface TimerGroup {
|
|
1138
1727
|
workspace: TimerWorkspace | null;
|
|
1139
1728
|
projects: TimerProjectGroup[];
|
|
@@ -1152,26 +1741,43 @@ export declare interface TimerWorkspace {
|
|
|
1152
1741
|
color: string;
|
|
1153
1742
|
}
|
|
1154
1743
|
|
|
1155
|
-
export declare const TIOSNav:
|
|
1744
|
+
export declare const TIOSNav: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1156
1745
|
|
|
1157
|
-
export declare const TIOSTabBar: DefineComponent<
|
|
1746
|
+
export declare const TIOSTabBar: DefineComponent<__VLS_Props_42, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1158
1747
|
"update:modelValue": (id: string) => any;
|
|
1159
|
-
}, string, PublicProps, Readonly<
|
|
1748
|
+
}, string, PublicProps, Readonly<__VLS_Props_42> & Readonly<{
|
|
1160
1749
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
1161
1750
|
}>, {
|
|
1162
1751
|
indicator: boolean;
|
|
1163
1752
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1164
1753
|
|
|
1165
|
-
export declare const TLargeTitle:
|
|
1754
|
+
export declare const TLargeTitle: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1166
1755
|
|
|
1167
|
-
export declare const TLogo: DefineComponent<
|
|
1756
|
+
export declare const TLogo: DefineComponent<__VLS_Props_46, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_46> & Readonly<{}>, {
|
|
1168
1757
|
size: number;
|
|
1169
1758
|
mono: boolean;
|
|
1170
1759
|
wordmark: boolean;
|
|
1171
1760
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1172
1761
|
|
|
1762
|
+
export declare const TMenu: DefineComponent<__VLS_Props_55, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1763
|
+
close: () => any;
|
|
1764
|
+
pick: (id: string) => any;
|
|
1765
|
+
}, string, PublicProps, Readonly<__VLS_Props_55> & Readonly<{
|
|
1766
|
+
onClose?: (() => any) | undefined;
|
|
1767
|
+
onPick?: ((id: string) => any) | undefined;
|
|
1768
|
+
}>, {
|
|
1769
|
+
title: string;
|
|
1770
|
+
width: number;
|
|
1771
|
+
modelValue: string | null;
|
|
1772
|
+
align: "start" | "end";
|
|
1773
|
+
teleport: boolean;
|
|
1774
|
+
mobile: boolean;
|
|
1775
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1776
|
+
|
|
1173
1777
|
export declare const todayIso: (now?: Date) => string;
|
|
1174
1778
|
|
|
1779
|
+
export declare const toggleId: <T extends string>(list: readonly T[], id: T) => T[];
|
|
1780
|
+
|
|
1175
1781
|
export declare const toIso: (d: Date) => string;
|
|
1176
1782
|
|
|
1177
1783
|
declare const TONES: {
|
|
@@ -1221,18 +1827,74 @@ declare const TONES_4: {
|
|
|
1221
1827
|
readonly faint: "var(--label-3)";
|
|
1222
1828
|
};
|
|
1223
1829
|
|
|
1224
|
-
|
|
1830
|
+
declare const TONES_5: {
|
|
1831
|
+
readonly inverse: {
|
|
1832
|
+
readonly bar: readonly ["var(--label)", "var(--bg)"];
|
|
1833
|
+
readonly pill: readonly ["var(--bg)", "var(--label)"];
|
|
1834
|
+
};
|
|
1835
|
+
readonly accent: {
|
|
1836
|
+
readonly bar: readonly ["var(--accent)", "var(--on-accent)"];
|
|
1837
|
+
readonly pill: readonly ["var(--on-accent)", "var(--accent)"];
|
|
1838
|
+
};
|
|
1839
|
+
};
|
|
1840
|
+
|
|
1841
|
+
export declare const TOrderButton: DefineComponent<__VLS_Props_53, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1842
|
+
click: (e: MouseEvent) => any;
|
|
1843
|
+
}, string, PublicProps, Readonly<__VLS_Props_53> & Readonly<{
|
|
1844
|
+
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
1845
|
+
}>, {
|
|
1846
|
+
compact: boolean;
|
|
1847
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1848
|
+
|
|
1849
|
+
export declare const TPager: DefineComponent<__VLS_Props_63, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1850
|
+
"update:page": (page: number) => any;
|
|
1851
|
+
"update:pageSize": (size: number) => any;
|
|
1852
|
+
}, string, PublicProps, Readonly<__VLS_Props_63> & Readonly<{
|
|
1853
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
1854
|
+
"onUpdate:pageSize"?: ((size: number) => any) | undefined;
|
|
1855
|
+
}>, {
|
|
1856
|
+
last: boolean;
|
|
1857
|
+
compact: boolean;
|
|
1858
|
+
teleport: boolean;
|
|
1859
|
+
mobile: boolean;
|
|
1860
|
+
sizes: readonly number[];
|
|
1861
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1862
|
+
anchor: HTMLButtonElement;
|
|
1863
|
+
}, HTMLDivElement>;
|
|
1864
|
+
|
|
1865
|
+
export declare const TParallelMark: DefineComponent<__VLS_Props_57, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_57> & Readonly<{}>, {
|
|
1866
|
+
others: string[];
|
|
1867
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1868
|
+
|
|
1869
|
+
export declare const TPeriodStepper: DefineComponent<__VLS_Props_54, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1870
|
+
custom: () => any;
|
|
1871
|
+
"update:unit": (unit: PeriodUnit) => any;
|
|
1872
|
+
"update:offset": (offset: number) => any;
|
|
1873
|
+
}, string, PublicProps, Readonly<__VLS_Props_54> & Readonly<{
|
|
1874
|
+
onCustom?: (() => any) | undefined;
|
|
1875
|
+
"onUpdate:unit"?: ((unit: PeriodUnit) => any) | undefined;
|
|
1876
|
+
"onUpdate:offset"?: ((offset: number) => any) | undefined;
|
|
1877
|
+
}>, {
|
|
1878
|
+
teleport: boolean;
|
|
1879
|
+
mobile: boolean;
|
|
1880
|
+
today: string;
|
|
1881
|
+
customRange: CustomRange | null;
|
|
1882
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1883
|
+
anchor: HTMLButtonElement;
|
|
1884
|
+
}, HTMLDivElement>;
|
|
1885
|
+
|
|
1886
|
+
export declare const TPhotoSheet: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1225
1887
|
close: () => any;
|
|
1226
1888
|
save: (blob: Blob) => any;
|
|
1227
1889
|
remove: () => any;
|
|
1228
|
-
}, string, PublicProps, Readonly<
|
|
1890
|
+
}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{
|
|
1229
1891
|
onClose?: (() => any) | undefined;
|
|
1230
1892
|
onSave?: ((blob: Blob) => any) | undefined;
|
|
1231
1893
|
onRemove?: (() => any) | undefined;
|
|
1232
1894
|
}>, {
|
|
1233
1895
|
name: string;
|
|
1234
|
-
mobile: boolean;
|
|
1235
1896
|
teleport: boolean;
|
|
1897
|
+
mobile: boolean;
|
|
1236
1898
|
current: string | null;
|
|
1237
1899
|
subject: "photo" | "icon";
|
|
1238
1900
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -1240,10 +1902,45 @@ input: HTMLInputElement;
|
|
|
1240
1902
|
stage: HTMLDivElement;
|
|
1241
1903
|
}, any>;
|
|
1242
1904
|
|
|
1243
|
-
export declare const
|
|
1905
|
+
export declare const TPickList: DefineComponent<__VLS_Props_61, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1906
|
+
"update:modelValue": (ids: string[]) => any;
|
|
1907
|
+
}, string, PublicProps, Readonly<__VLS_Props_61> & Readonly<{
|
|
1908
|
+
"onUpdate:modelValue"?: ((ids: string[]) => any) | undefined;
|
|
1909
|
+
}>, {
|
|
1910
|
+
compact: boolean;
|
|
1911
|
+
visibleRows: number;
|
|
1912
|
+
pageSize: number;
|
|
1913
|
+
searchPlaceholder: string;
|
|
1914
|
+
scope: string | null;
|
|
1915
|
+
emptyTime: string;
|
|
1916
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1917
|
+
list: HTMLDivElement;
|
|
1918
|
+
}, HTMLDivElement>;
|
|
1919
|
+
|
|
1920
|
+
export declare const TPill: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1921
|
+
|
|
1922
|
+
export declare const TPopover: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1244
1923
|
|
|
1245
1924
|
export declare const TRow: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1246
1925
|
|
|
1926
|
+
export declare const TSearchField: DefineComponent<__VLS_Props_56, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1927
|
+
"update:modelValue": (value: string) => any;
|
|
1928
|
+
clear: () => any;
|
|
1929
|
+
}, string, PublicProps, Readonly<__VLS_Props_56> & Readonly<{
|
|
1930
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1931
|
+
onClear?: (() => any) | undefined;
|
|
1932
|
+
}>, {
|
|
1933
|
+
label: string;
|
|
1934
|
+
size: keyof typeof SIZES_2;
|
|
1935
|
+
placeholder: string;
|
|
1936
|
+
compact: boolean;
|
|
1937
|
+
modelValue: string;
|
|
1938
|
+
shortcut: string | null;
|
|
1939
|
+
busy: boolean;
|
|
1940
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1941
|
+
input: HTMLInputElement;
|
|
1942
|
+
}, HTMLDivElement>;
|
|
1943
|
+
|
|
1247
1944
|
export declare const TSeg: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1248
1945
|
"update:modelValue": (v: string) => any;
|
|
1249
1946
|
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
@@ -1272,12 +1969,25 @@ ariaLabel?: string;
|
|
|
1272
1969
|
disabled: boolean;
|
|
1273
1970
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1274
1971
|
|
|
1275
|
-
export declare const TSheet:
|
|
1972
|
+
export declare const TSheet: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1973
|
+
|
|
1974
|
+
export declare const TSkeleton: DefineComponent<__VLS_Props_64, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_64> & Readonly<{}>, {
|
|
1975
|
+
width: string;
|
|
1976
|
+
height: number;
|
|
1977
|
+
shape: keyof typeof RADIUS;
|
|
1978
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1979
|
+
|
|
1980
|
+
export declare const TSkeletonList: DefineComponent<__VLS_Props_65, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_65> & Readonly<{}>, {
|
|
1981
|
+
subtitle: boolean;
|
|
1982
|
+
leading: keyof typeof LEADING;
|
|
1983
|
+
trailing: boolean;
|
|
1984
|
+
rows: number;
|
|
1985
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1276
1986
|
|
|
1277
|
-
export declare const TStartHero: DefineComponent<
|
|
1987
|
+
export declare const TStartHero: DefineComponent<__VLS_Props_40, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1278
1988
|
open: () => any;
|
|
1279
1989
|
pick: (taskId: string) => any;
|
|
1280
|
-
}, string, PublicProps, Readonly<
|
|
1990
|
+
}, string, PublicProps, Readonly<__VLS_Props_40> & Readonly<{
|
|
1281
1991
|
onOpen?: (() => any) | undefined;
|
|
1282
1992
|
onPick?: ((taskId: string) => any) | undefined;
|
|
1283
1993
|
}>, {
|
|
@@ -1287,25 +1997,31 @@ hasRunning: boolean;
|
|
|
1287
1997
|
shortcut: string;
|
|
1288
1998
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1289
1999
|
|
|
1290
|
-
export declare const TStrokes: DefineComponent<
|
|
2000
|
+
export declare const TStrokes: DefineComponent<__VLS_Props_39, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_39> & Readonly<{}>, {
|
|
1291
2001
|
opacity: number;
|
|
1292
2002
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1293
2003
|
|
|
1294
|
-
export declare const
|
|
1295
|
-
"update:modelValue": (
|
|
2004
|
+
export declare const TTimePicker: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2005
|
+
"update:modelValue": (clock: string) => any;
|
|
1296
2006
|
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
1297
|
-
"onUpdate:modelValue"?: ((
|
|
2007
|
+
"onUpdate:modelValue"?: ((clock: string) => any) | undefined;
|
|
1298
2008
|
}>, {
|
|
2009
|
+
title: string;
|
|
1299
2010
|
label: string;
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
2011
|
+
placeholder: string;
|
|
2012
|
+
teleport: boolean;
|
|
2013
|
+
mobile: boolean;
|
|
2014
|
+
now: string;
|
|
2015
|
+
minuteStep: number;
|
|
2016
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2017
|
+
anchor: HTMLButtonElement;
|
|
2018
|
+
}, HTMLDivElement>;
|
|
1303
2019
|
|
|
1304
|
-
export declare const TTimerBar: DefineComponent<
|
|
2020
|
+
export declare const TTimerBar: DefineComponent<__VLS_Props_38, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1305
2021
|
stop: (id: string) => any;
|
|
1306
2022
|
open: () => any;
|
|
1307
2023
|
stopAll: () => any;
|
|
1308
|
-
}, string, PublicProps, Readonly<
|
|
2024
|
+
}, string, PublicProps, Readonly<__VLS_Props_38> & Readonly<{
|
|
1309
2025
|
onStop?: ((id: string) => any) | undefined;
|
|
1310
2026
|
onOpen?: (() => any) | undefined;
|
|
1311
2027
|
onStopAll?: (() => any) | undefined;
|
|
@@ -1322,9 +2038,9 @@ export declare const TToggle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, Co
|
|
|
1322
2038
|
disabled: boolean;
|
|
1323
2039
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
1324
2040
|
|
|
1325
|
-
export declare const TTooltip:
|
|
2041
|
+
export declare const TTooltip: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1326
2042
|
|
|
1327
|
-
export declare const TWaterfall: DefineComponent<
|
|
2043
|
+
export declare const TWaterfall: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{}>, {
|
|
1328
2044
|
end: number;
|
|
1329
2045
|
start: number;
|
|
1330
2046
|
compact: boolean;
|
|
@@ -1333,54 +2049,70 @@ rowH: number;
|
|
|
1333
2049
|
showWs: boolean;
|
|
1334
2050
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1335
2051
|
|
|
1336
|
-
export declare const
|
|
2052
|
+
export declare const TWheel: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2053
|
+
"update:modelValue": (value: number) => any;
|
|
2054
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
2055
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
2056
|
+
}>, {
|
|
2057
|
+
label: string;
|
|
2058
|
+
name: string;
|
|
2059
|
+
rows: number;
|
|
2060
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2061
|
+
list: HTMLDivElement;
|
|
2062
|
+
}, HTMLDivElement>;
|
|
2063
|
+
|
|
2064
|
+
export declare const TWorkspaceDrawer: DefineComponent<__VLS_Props_37, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1337
2065
|
help: () => any;
|
|
2066
|
+
action: (id: string) => any;
|
|
1338
2067
|
"update:modelValue": (id: string) => any;
|
|
1339
2068
|
close: () => any;
|
|
1340
2069
|
create: () => any;
|
|
1341
|
-
preferences: () => any;
|
|
1342
2070
|
account: () => any;
|
|
1343
|
-
}, string, PublicProps, Readonly<
|
|
2071
|
+
}, string, PublicProps, Readonly<__VLS_Props_37> & Readonly<{
|
|
1344
2072
|
onHelp?: (() => any) | undefined;
|
|
2073
|
+
onAction?: ((id: string) => any) | undefined;
|
|
1345
2074
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
1346
2075
|
onClose?: (() => any) | undefined;
|
|
1347
2076
|
onCreate?: (() => any) | undefined;
|
|
1348
|
-
onPreferences?: (() => any) | undefined;
|
|
1349
2077
|
onAccount?: (() => any) | undefined;
|
|
1350
2078
|
}>, {
|
|
1351
2079
|
teleport: boolean;
|
|
1352
2080
|
showAll: boolean;
|
|
2081
|
+
actions: readonly WorkspaceAction[];
|
|
1353
2082
|
user: DrawerUser | null;
|
|
1354
2083
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1355
2084
|
|
|
1356
|
-
export declare const TWorkspaceMenu: DefineComponent<
|
|
2085
|
+
export declare const TWorkspaceMenu: DefineComponent<__VLS_Props_36, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2086
|
+
action: (id: string) => any;
|
|
1357
2087
|
"update:modelValue": (id: string) => any;
|
|
1358
2088
|
create: () => any;
|
|
1359
|
-
|
|
1360
|
-
|
|
2089
|
+
}, string, PublicProps, Readonly<__VLS_Props_36> & Readonly<{
|
|
2090
|
+
onAction?: ((id: string) => any) | undefined;
|
|
1361
2091
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
1362
2092
|
onCreate?: (() => any) | undefined;
|
|
1363
|
-
onManage?: ((id: string | null) => any) | undefined;
|
|
1364
2093
|
}>, {
|
|
1365
2094
|
showAll: boolean;
|
|
1366
2095
|
embedded: boolean;
|
|
2096
|
+
actions: readonly WorkspaceAction[];
|
|
1367
2097
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1368
2098
|
|
|
1369
|
-
export declare const TWorkspaceSwitcher: DefineComponent<
|
|
2099
|
+
export declare const TWorkspaceSwitcher: DefineComponent<__VLS_Props_35, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2100
|
+
action: (id: string) => any;
|
|
1370
2101
|
"update:modelValue": (id: string) => any;
|
|
1371
2102
|
create: () => any;
|
|
1372
|
-
|
|
1373
|
-
|
|
2103
|
+
}, string, PublicProps, Readonly<__VLS_Props_35> & Readonly<{
|
|
2104
|
+
onAction?: ((id: string) => any) | undefined;
|
|
1374
2105
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
1375
2106
|
onCreate?: (() => any) | undefined;
|
|
1376
|
-
onManage?: ((id: string | null) => any) | undefined;
|
|
1377
2107
|
}>, {
|
|
2108
|
+
teleport: boolean;
|
|
1378
2109
|
showAll: boolean;
|
|
2110
|
+
actions: readonly WorkspaceAction[];
|
|
1379
2111
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1380
|
-
|
|
2112
|
+
trigger: HTMLButtonElement;
|
|
1381
2113
|
}, HTMLDivElement>;
|
|
1382
2114
|
|
|
1383
|
-
export declare const TWsIcon: DefineComponent<
|
|
2115
|
+
export declare const TWsIcon: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
1384
2116
|
color: string;
|
|
1385
2117
|
name: string;
|
|
1386
2118
|
size: number;
|
|
@@ -1389,7 +2121,7 @@ src: string;
|
|
|
1389
2121
|
ring: boolean;
|
|
1390
2122
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1391
2123
|
|
|
1392
|
-
export declare const TWsTag: DefineComponent<
|
|
2124
|
+
export declare const TWsTag: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
1393
2125
|
|
|
1394
2126
|
export declare function watchTheme(pref: () => ThemePreference, root: HTMLElement, media?: MediaQueryList | null): {
|
|
1395
2127
|
refresh(): void;
|
|
@@ -1419,6 +2151,29 @@ export declare interface WaterfallSegment {
|
|
|
1419
2151
|
|
|
1420
2152
|
export declare const WEEKDAYS: string[];
|
|
1421
2153
|
|
|
2154
|
+
export declare const WHEEL_TICK = "timebraid-tick";
|
|
2155
|
+
|
|
2156
|
+
export declare interface WheelOption {
|
|
2157
|
+
value: number;
|
|
2158
|
+
label: string;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
export declare const WORKSPACE_ICONS: readonly WorkspaceGalleryIcon[];
|
|
2162
|
+
|
|
2163
|
+
export declare interface WorkspaceAction {
|
|
2164
|
+
id: string;
|
|
2165
|
+
label: string;
|
|
2166
|
+
icon: string;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
export declare interface WorkspaceGalleryIcon {
|
|
2170
|
+
id: string;
|
|
2171
|
+
label: string;
|
|
2172
|
+
svg: string;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2175
|
+
export declare const workspaceIconDataUrl: (icon: WorkspaceGalleryIcon) => string;
|
|
2176
|
+
|
|
1422
2177
|
export declare interface WorkspaceOption {
|
|
1423
2178
|
id: string;
|
|
1424
2179
|
name: string;
|