@timebraid/vue 1.9.0 → 1.11.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/dist/index.d.ts +356 -117
- package/dist/timebraid-vue.js +2055 -1077
- package/dist/timebraid-vue.umd.cjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ 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_39, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_39> & Readonly<{}>, {
|
|
13
13
|
width: number;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
15
|
|
|
16
|
-
declare const __VLS_component_11: DefineComponent<
|
|
16
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_41, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_41> & Readonly<{}>, {
|
|
17
17
|
side: "top" | "bottom" | "left" | "right";
|
|
18
18
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
19
19
|
|
|
@@ -30,9 +30,9 @@ last: boolean;
|
|
|
30
30
|
clickable: boolean;
|
|
31
31
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
32
|
|
|
33
|
-
declare const __VLS_component_3: DefineComponent<
|
|
33
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
34
|
click: (e: MouseEvent) => any;
|
|
35
|
-
}, string, PublicProps, Readonly<
|
|
35
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
36
36
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
type: "button" | "submit" | "reset";
|
|
@@ -42,49 +42,52 @@ full: boolean;
|
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
44
44
|
|
|
45
|
-
declare const __VLS_component_4: DefineComponent<
|
|
45
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
|
|
46
46
|
tone: keyof typeof TONES_2;
|
|
47
47
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
48
48
|
|
|
49
|
-
declare const __VLS_component_5: DefineComponent<
|
|
49
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {
|
|
50
50
|
sticky: boolean;
|
|
51
51
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
52
52
|
|
|
53
|
-
declare const __VLS_component_6: DefineComponent<
|
|
53
|
+
declare const __VLS_component_6: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
54
54
|
close: () => any;
|
|
55
|
-
|
|
55
|
+
back: () => any;
|
|
56
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
56
57
|
onClose?: (() => any) | undefined;
|
|
58
|
+
onBack?: (() => any) | undefined;
|
|
57
59
|
}>, {
|
|
58
60
|
inline: boolean;
|
|
59
61
|
width: number;
|
|
60
62
|
mobile: boolean;
|
|
61
63
|
teleport: boolean;
|
|
62
64
|
cancelLabel: string;
|
|
65
|
+
cancelMode: "close" | "back";
|
|
63
66
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
64
67
|
dialog: HTMLDivElement;
|
|
65
68
|
}, any>;
|
|
66
69
|
|
|
67
|
-
declare const __VLS_component_7: DefineComponent<
|
|
70
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
68
71
|
stop: (id: string) => any;
|
|
69
72
|
start: () => any;
|
|
70
73
|
"update:open": (v: boolean) => any;
|
|
71
74
|
stopAll: () => any;
|
|
72
75
|
openApp: () => any;
|
|
73
|
-
}, string, PublicProps, Readonly<
|
|
76
|
+
}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
|
|
74
77
|
onStop?: ((id: string) => any) | undefined;
|
|
75
78
|
onStart?: (() => any) | undefined;
|
|
76
79
|
"onUpdate:open"?: ((v: boolean) => any) | undefined;
|
|
77
80
|
onStopAll?: (() => any) | undefined;
|
|
78
81
|
onOpenApp?: (() => any) | undefined;
|
|
79
82
|
}>, {
|
|
83
|
+
compact: boolean;
|
|
80
84
|
open: boolean;
|
|
81
85
|
paused: boolean;
|
|
82
|
-
compact: boolean;
|
|
83
86
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
84
87
|
|
|
85
|
-
declare const __VLS_component_8: DefineComponent<
|
|
88
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_32, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_32> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
86
89
|
|
|
87
|
-
declare const __VLS_component_9: DefineComponent<
|
|
90
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_34, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_34> & Readonly<{}>, {
|
|
88
91
|
scrolled: boolean;
|
|
89
92
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
90
93
|
|
|
@@ -96,37 +99,88 @@ declare type __VLS_Props = {
|
|
|
96
99
|
};
|
|
97
100
|
|
|
98
101
|
declare type __VLS_Props_10 = {
|
|
102
|
+
value?: string;
|
|
103
|
+
from?: string;
|
|
104
|
+
to?: string;
|
|
105
|
+
today: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
declare type __VLS_Props_11 = {
|
|
109
|
+
modelValue: string;
|
|
110
|
+
label?: string;
|
|
111
|
+
mobile?: boolean;
|
|
112
|
+
today?: string;
|
|
113
|
+
teleport?: boolean;
|
|
114
|
+
inline?: boolean;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
declare type __VLS_Props_12 = {
|
|
118
|
+
from: string;
|
|
119
|
+
to: string;
|
|
120
|
+
label?: string;
|
|
121
|
+
mobile?: boolean;
|
|
122
|
+
today?: string;
|
|
123
|
+
teleport?: boolean;
|
|
124
|
+
presets?: boolean;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
declare type __VLS_Props_13 = {
|
|
128
|
+
tone?: keyof typeof TONES_2;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
declare type __VLS_Props_14 = {
|
|
132
|
+
value: number;
|
|
133
|
+
color?: string;
|
|
134
|
+
h?: number;
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
declare type __VLS_Props_15 = {
|
|
99
138
|
name: string;
|
|
100
139
|
size?: number;
|
|
101
140
|
color?: string;
|
|
102
141
|
src?: string;
|
|
103
142
|
};
|
|
104
143
|
|
|
105
|
-
declare type
|
|
144
|
+
declare type __VLS_Props_16 = {
|
|
106
145
|
people: Person[];
|
|
107
146
|
size?: number;
|
|
108
147
|
max?: number;
|
|
109
148
|
};
|
|
110
149
|
|
|
111
|
-
declare type
|
|
150
|
+
declare type __VLS_Props_17 = {
|
|
112
151
|
name: string;
|
|
113
152
|
color: string;
|
|
114
153
|
};
|
|
115
154
|
|
|
116
|
-
declare type
|
|
155
|
+
declare type __VLS_Props_18 = {
|
|
117
156
|
name?: string;
|
|
118
157
|
color?: string;
|
|
119
158
|
all?: boolean;
|
|
120
159
|
size?: number;
|
|
160
|
+
ring?: boolean;
|
|
161
|
+
src?: string;
|
|
121
162
|
};
|
|
122
163
|
|
|
123
|
-
declare type
|
|
164
|
+
declare type __VLS_Props_19 = {
|
|
124
165
|
title: string;
|
|
125
166
|
sub?: string;
|
|
126
167
|
sticky?: boolean;
|
|
127
168
|
};
|
|
128
169
|
|
|
129
|
-
declare type
|
|
170
|
+
declare type __VLS_Props_2 = {
|
|
171
|
+
icon?: string;
|
|
172
|
+
iconBg?: string;
|
|
173
|
+
title?: string;
|
|
174
|
+
subtitle?: string;
|
|
175
|
+
value?: string;
|
|
176
|
+
chevron?: boolean;
|
|
177
|
+
danger?: boolean;
|
|
178
|
+
dense?: boolean;
|
|
179
|
+
last?: boolean;
|
|
180
|
+
clickable?: boolean;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
declare type __VLS_Props_20 = {
|
|
130
184
|
open: boolean;
|
|
131
185
|
title: string;
|
|
132
186
|
mobile?: boolean;
|
|
@@ -134,15 +188,25 @@ declare type __VLS_Props_15 = {
|
|
|
134
188
|
inline?: boolean;
|
|
135
189
|
teleport?: boolean;
|
|
136
190
|
cancelLabel?: string;
|
|
191
|
+
cancelMode?: 'close' | 'back';
|
|
137
192
|
};
|
|
138
193
|
|
|
139
|
-
declare type
|
|
194
|
+
declare type __VLS_Props_21 = {
|
|
195
|
+
open: boolean;
|
|
196
|
+
current?: string | null;
|
|
197
|
+
mobile?: boolean;
|
|
198
|
+
subject?: 'photo' | 'icon';
|
|
199
|
+
name?: string;
|
|
200
|
+
teleport?: boolean;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
declare type __VLS_Props_22 = {
|
|
140
204
|
color: string;
|
|
141
205
|
size?: number;
|
|
142
206
|
running?: boolean;
|
|
143
207
|
};
|
|
144
208
|
|
|
145
|
-
declare type
|
|
209
|
+
declare type __VLS_Props_23 = {
|
|
146
210
|
seconds: number;
|
|
147
211
|
mode?: DurationFormat;
|
|
148
212
|
size?: number;
|
|
@@ -150,7 +214,7 @@ declare type __VLS_Props_17 = {
|
|
|
150
214
|
tone?: keyof typeof TONES_3;
|
|
151
215
|
};
|
|
152
216
|
|
|
153
|
-
declare type
|
|
217
|
+
declare type __VLS_Props_24 = {
|
|
154
218
|
rows: WaterfallProject[];
|
|
155
219
|
start?: number;
|
|
156
220
|
end?: number;
|
|
@@ -160,102 +224,86 @@ declare type __VLS_Props_18 = {
|
|
|
160
224
|
showWs?: boolean;
|
|
161
225
|
};
|
|
162
226
|
|
|
163
|
-
declare type
|
|
227
|
+
declare type __VLS_Props_25 = {
|
|
164
228
|
running: PillTimer[];
|
|
165
229
|
compact?: boolean;
|
|
166
230
|
paused?: boolean;
|
|
167
231
|
open?: boolean;
|
|
168
232
|
};
|
|
169
233
|
|
|
170
|
-
declare type
|
|
171
|
-
icon?: string;
|
|
172
|
-
iconBg?: string;
|
|
173
|
-
title?: string;
|
|
174
|
-
subtitle?: string;
|
|
175
|
-
value?: string;
|
|
176
|
-
chevron?: boolean;
|
|
177
|
-
danger?: boolean;
|
|
178
|
-
dense?: boolean;
|
|
179
|
-
last?: boolean;
|
|
180
|
-
clickable?: boolean;
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
declare type __VLS_Props_20 = {
|
|
234
|
+
declare type __VLS_Props_26 = {
|
|
184
235
|
workspaces: WorkspaceOption[];
|
|
185
236
|
modelValue: string;
|
|
186
237
|
showAll?: boolean;
|
|
187
238
|
};
|
|
188
239
|
|
|
189
|
-
declare type
|
|
240
|
+
declare type __VLS_Props_27 = {
|
|
190
241
|
workspaces: WorkspaceOption[];
|
|
191
242
|
modelValue: string;
|
|
192
243
|
showAll?: boolean;
|
|
193
244
|
embedded?: boolean;
|
|
194
245
|
};
|
|
195
246
|
|
|
196
|
-
declare type
|
|
247
|
+
declare type __VLS_Props_28 = {
|
|
197
248
|
open: boolean;
|
|
198
249
|
workspaces: WorkspaceOption[];
|
|
199
250
|
modelValue: string;
|
|
200
251
|
showAll?: boolean;
|
|
201
252
|
teleport?: boolean;
|
|
253
|
+
user?: DrawerUser | null;
|
|
202
254
|
};
|
|
203
255
|
|
|
204
|
-
declare type
|
|
256
|
+
declare type __VLS_Props_29 = {
|
|
205
257
|
timers: PillTimer[];
|
|
206
258
|
android?: boolean;
|
|
207
259
|
bottom?: number | string;
|
|
208
260
|
};
|
|
209
261
|
|
|
210
|
-
declare type
|
|
262
|
+
declare type __VLS_Props_3 = {
|
|
263
|
+
label: string;
|
|
264
|
+
icon?: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
declare type __VLS_Props_30 = {
|
|
211
268
|
opacity?: number;
|
|
212
269
|
};
|
|
213
270
|
|
|
214
|
-
declare type
|
|
271
|
+
declare type __VLS_Props_31 = {
|
|
215
272
|
recent?: RecentTask[];
|
|
216
273
|
hasRunning?: boolean;
|
|
217
274
|
mobile?: boolean;
|
|
218
275
|
shortcut?: string;
|
|
219
276
|
};
|
|
220
277
|
|
|
221
|
-
declare type
|
|
278
|
+
declare type __VLS_Props_32 = {
|
|
222
279
|
title: string;
|
|
223
280
|
sub?: string;
|
|
224
281
|
scrolled: boolean;
|
|
225
282
|
};
|
|
226
283
|
|
|
227
|
-
declare type
|
|
284
|
+
declare type __VLS_Props_33 = {
|
|
228
285
|
items: TabItem[];
|
|
229
286
|
modelValue: string;
|
|
230
287
|
indicator?: boolean;
|
|
231
288
|
};
|
|
232
289
|
|
|
233
|
-
declare type
|
|
290
|
+
declare type __VLS_Props_34 = {
|
|
234
291
|
title: string;
|
|
235
292
|
sub?: string;
|
|
236
293
|
scrolled?: boolean;
|
|
237
294
|
};
|
|
238
295
|
|
|
239
|
-
declare type
|
|
296
|
+
declare type __VLS_Props_35 = {
|
|
240
297
|
items: TabItem[];
|
|
241
298
|
modelValue: string;
|
|
242
299
|
indicator?: boolean;
|
|
243
300
|
};
|
|
244
301
|
|
|
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
302
|
/**
|
|
255
303
|
* Lucide glyph rendered inline from the bundled table, so it follows currentColor and fetches nothing.
|
|
256
304
|
* SUBSTITUTION: Timebraid has no icon set of its own yet; Lucide is the closest match to the mark.
|
|
257
305
|
*/
|
|
258
|
-
declare type
|
|
306
|
+
declare type __VLS_Props_36 = {
|
|
259
307
|
/** Lucide kebab-case name from the bundled table: play, square, plus, folder-kanban... */
|
|
260
308
|
name: string;
|
|
261
309
|
/** 16 in the app, 20 in the site header, 24 in marketing rows. */
|
|
@@ -266,26 +314,35 @@ declare type __VLS_Props_30 = {
|
|
|
266
314
|
};
|
|
267
315
|
|
|
268
316
|
/** 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. */
|
|
269
|
-
declare type
|
|
317
|
+
declare type __VLS_Props_37 = {
|
|
270
318
|
size?: number;
|
|
271
319
|
wordmark?: boolean;
|
|
272
320
|
mono?: boolean;
|
|
273
321
|
};
|
|
274
322
|
|
|
275
|
-
declare type
|
|
323
|
+
declare type __VLS_Props_38 = {
|
|
276
324
|
modelValue?: string;
|
|
277
325
|
length?: number;
|
|
278
326
|
error?: string;
|
|
279
327
|
autofocus?: boolean;
|
|
280
328
|
};
|
|
281
329
|
|
|
282
|
-
declare type
|
|
330
|
+
declare type __VLS_Props_39 = {
|
|
283
331
|
title: string;
|
|
284
332
|
description?: string;
|
|
285
333
|
width?: number;
|
|
286
334
|
};
|
|
287
335
|
|
|
288
|
-
declare type
|
|
336
|
+
declare type __VLS_Props_4 = {
|
|
337
|
+
icon?: string;
|
|
338
|
+
title: string;
|
|
339
|
+
body?: string;
|
|
340
|
+
action?: string;
|
|
341
|
+
actionIcon?: string;
|
|
342
|
+
compact?: boolean;
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
declare type __VLS_Props_40 = {
|
|
289
346
|
modelValue?: boolean;
|
|
290
347
|
label: string;
|
|
291
348
|
description?: string;
|
|
@@ -293,14 +350,24 @@ declare type __VLS_Props_34 = {
|
|
|
293
350
|
disabled?: boolean;
|
|
294
351
|
};
|
|
295
352
|
|
|
296
|
-
declare type
|
|
353
|
+
declare type __VLS_Props_41 = {
|
|
297
354
|
content: string;
|
|
298
355
|
/** e.g. ⌘N - mono, muted, at the end. */
|
|
299
356
|
shortcut?: string;
|
|
300
357
|
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
301
358
|
};
|
|
302
359
|
|
|
303
|
-
declare type
|
|
360
|
+
declare type __VLS_Props_5 = {
|
|
361
|
+
modelValue: string;
|
|
362
|
+
options: {
|
|
363
|
+
value: string;
|
|
364
|
+
label: string;
|
|
365
|
+
count?: number;
|
|
366
|
+
}[];
|
|
367
|
+
size?: 'sm' | 'md';
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
declare type __VLS_Props_6 = {
|
|
304
371
|
kind?: keyof typeof KINDS;
|
|
305
372
|
size?: keyof typeof SIZES;
|
|
306
373
|
icon?: string;
|
|
@@ -309,7 +376,7 @@ declare type __VLS_Props_4 = {
|
|
|
309
376
|
type?: 'button' | 'submit' | 'reset';
|
|
310
377
|
};
|
|
311
378
|
|
|
312
|
-
declare type
|
|
379
|
+
declare type __VLS_Props_7 = {
|
|
313
380
|
icon: string;
|
|
314
381
|
label: string;
|
|
315
382
|
size?: number;
|
|
@@ -317,12 +384,12 @@ declare type __VLS_Props_5 = {
|
|
|
317
384
|
disabled?: boolean;
|
|
318
385
|
};
|
|
319
386
|
|
|
320
|
-
declare type
|
|
387
|
+
declare type __VLS_Props_8 = {
|
|
321
388
|
modelValue: boolean;
|
|
322
389
|
disabled?: boolean;
|
|
323
390
|
};
|
|
324
391
|
|
|
325
|
-
declare type
|
|
392
|
+
declare type __VLS_Props_9 = {
|
|
326
393
|
modelValue?: string;
|
|
327
394
|
label?: string;
|
|
328
395
|
placeholder?: string;
|
|
@@ -334,16 +401,6 @@ declare type __VLS_Props_7 = {
|
|
|
334
401
|
name?: string;
|
|
335
402
|
};
|
|
336
403
|
|
|
337
|
-
declare type __VLS_Props_8 = {
|
|
338
|
-
tone?: keyof typeof TONES_2;
|
|
339
|
-
};
|
|
340
|
-
|
|
341
|
-
declare type __VLS_Props_9 = {
|
|
342
|
-
value: number;
|
|
343
|
-
color?: string;
|
|
344
|
-
h?: number;
|
|
345
|
-
};
|
|
346
|
-
|
|
347
404
|
declare function __VLS_template(): {
|
|
348
405
|
attrs: Partial<{}>;
|
|
349
406
|
slots: {
|
|
@@ -549,20 +606,59 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
549
606
|
};
|
|
550
607
|
};
|
|
551
608
|
|
|
609
|
+
export declare function addDaysIso(iso: string, days: number): string;
|
|
610
|
+
|
|
552
611
|
export declare const ALL_WORKSPACES = "all";
|
|
553
612
|
|
|
554
613
|
export declare function applyTheme(root: HTMLElement, theme: ResolvedTheme): void;
|
|
555
614
|
|
|
615
|
+
export declare function blobFromDataUrl(dataUrl: string): Blob;
|
|
616
|
+
|
|
617
|
+
/** 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. */
|
|
618
|
+
export declare function clampOffset(x: number, y: number, z: number, stage: number, inset?: number): {
|
|
619
|
+
x: number;
|
|
620
|
+
y: number;
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
export declare const clampZoom: (z: number) => number;
|
|
624
|
+
|
|
625
|
+
export declare const coverScale: (width: number, height: number, stage: number) => number;
|
|
626
|
+
|
|
627
|
+
/** Where to draw the natural image on an `output` px canvas so the mask's bounding square fills it. */
|
|
628
|
+
export declare function cropRect(natural: NaturalSize, placement: Placement, stage: number, inset?: number, output?: number): {
|
|
629
|
+
dx: number;
|
|
630
|
+
dy: number;
|
|
631
|
+
dw: number;
|
|
632
|
+
dh: number;
|
|
633
|
+
};
|
|
634
|
+
|
|
556
635
|
/** Where TIcon masks from when nothing overrides it. */
|
|
557
636
|
export declare const DEFAULT_ICON_BASE = "https://unpkg.com/lucide-static@0.545.0/icons/";
|
|
558
637
|
|
|
638
|
+
export declare interface DrawerUser {
|
|
639
|
+
name: string;
|
|
640
|
+
email?: string;
|
|
641
|
+
avatarUrl?: string;
|
|
642
|
+
}
|
|
643
|
+
|
|
559
644
|
export declare type DurationFormat = 'clock' | 'short' | 'compact';
|
|
560
645
|
|
|
561
646
|
export declare const FILLED_NAMES: ReadonlySet<string>;
|
|
562
647
|
|
|
648
|
+
export declare function formatDay(iso: string): string;
|
|
649
|
+
|
|
563
650
|
/** 8047 → "2:14:07" (clock) · "2:14" (short) · "2h 14m" (compact) */
|
|
564
651
|
export declare function formatDuration(seconds: number, format?: DurationFormat): string;
|
|
565
652
|
|
|
653
|
+
export declare const formatMonth: (ym: YearMonth) => string;
|
|
654
|
+
|
|
655
|
+
export declare function formatRange(from: string, to: string): string;
|
|
656
|
+
|
|
657
|
+
export declare interface GridDay {
|
|
658
|
+
iso: string;
|
|
659
|
+
inMonth: boolean;
|
|
660
|
+
}
|
|
661
|
+
|
|
566
662
|
export declare function groupTimers(timers: PillTimer[]): TimerGroup[];
|
|
567
663
|
|
|
568
664
|
export declare const hasIcon: (name: string) => boolean;
|
|
@@ -599,6 +695,27 @@ declare const KINDS: {
|
|
|
599
695
|
|
|
600
696
|
export declare function longestTimer(timers: PillTimer[]): PillTimer | null;
|
|
601
697
|
|
|
698
|
+
export declare const MASK_INSET = 6;
|
|
699
|
+
|
|
700
|
+
/** Six Monday-first rows, forty-two days, so the grid never changes height. */
|
|
701
|
+
export declare function monthGrid(ym: YearMonth): GridDay[];
|
|
702
|
+
|
|
703
|
+
export declare function monthOf(iso: string): YearMonth;
|
|
704
|
+
|
|
705
|
+
export declare interface NaturalSize {
|
|
706
|
+
width: number;
|
|
707
|
+
height: number;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export declare function orderRange(a: string, b: string): {
|
|
711
|
+
from: string;
|
|
712
|
+
to: string;
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
export declare const OUTPUT_SIZE = 512;
|
|
716
|
+
|
|
717
|
+
export declare function parseIso(iso: string): Date | null;
|
|
718
|
+
|
|
602
719
|
export declare interface Person {
|
|
603
720
|
name: string;
|
|
604
721
|
src?: string;
|
|
@@ -620,9 +737,27 @@ export declare interface PillTimer {
|
|
|
620
737
|
};
|
|
621
738
|
}
|
|
622
739
|
|
|
740
|
+
export declare interface Placement {
|
|
741
|
+
x: number;
|
|
742
|
+
y: number;
|
|
743
|
+
z: number;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
export declare function presetRange(kind: RangePreset, today: string): {
|
|
747
|
+
from: string;
|
|
748
|
+
to: string;
|
|
749
|
+
};
|
|
750
|
+
|
|
623
751
|
/** Okabe-Ito, the only palette permitted for projects and charts. */
|
|
624
752
|
export declare const PROJECT_COLORS: string[];
|
|
625
753
|
|
|
754
|
+
export declare const RANGE_PRESETS: {
|
|
755
|
+
value: RangePreset;
|
|
756
|
+
label: string;
|
|
757
|
+
}[];
|
|
758
|
+
|
|
759
|
+
export declare type RangePreset = 'today' | 'week' | 'last7' | 'month';
|
|
760
|
+
|
|
626
761
|
export declare interface RecentTask {
|
|
627
762
|
id: string;
|
|
628
763
|
task: string;
|
|
@@ -639,6 +774,8 @@ export declare interface SelectOption {
|
|
|
639
774
|
label: string;
|
|
640
775
|
}
|
|
641
776
|
|
|
777
|
+
export declare function shiftMonth(ym: YearMonth, by: number): YearMonth;
|
|
778
|
+
|
|
642
779
|
declare const SIZES: {
|
|
643
780
|
readonly sm: {
|
|
644
781
|
readonly height: "var(--control-h-sm)";
|
|
@@ -666,15 +803,25 @@ declare const SIZES: {
|
|
|
666
803
|
};
|
|
667
804
|
};
|
|
668
805
|
|
|
806
|
+
export declare function startOfWeekIso(iso: string): string;
|
|
807
|
+
|
|
669
808
|
export declare interface TabItem {
|
|
670
809
|
id: string;
|
|
671
810
|
label: string;
|
|
672
811
|
icon: string;
|
|
673
812
|
}
|
|
674
813
|
|
|
675
|
-
export declare const
|
|
814
|
+
export declare const TAddRow: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
815
|
+
click: () => any;
|
|
816
|
+
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
817
|
+
onClick?: (() => any) | undefined;
|
|
818
|
+
}>, {
|
|
819
|
+
icon: string;
|
|
820
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
821
|
+
|
|
822
|
+
export declare const TAndroidNavBar: DefineComponent<__VLS_Props_35, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
676
823
|
"update:modelValue": (id: string) => any;
|
|
677
|
-
}, string, PublicProps, Readonly<
|
|
824
|
+
}, string, PublicProps, Readonly<__VLS_Props_35> & Readonly<{
|
|
678
825
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
679
826
|
}>, {
|
|
680
827
|
indicator: boolean;
|
|
@@ -684,37 +831,47 @@ export declare const TAndroidTop: __VLS_WithTemplateSlots_9<typeof __VLS_compone
|
|
|
684
831
|
|
|
685
832
|
export declare const TAuthCard: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
686
833
|
|
|
687
|
-
export declare const TAvatar: DefineComponent<
|
|
834
|
+
export declare const TAvatar: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
688
835
|
size: number;
|
|
689
836
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
690
837
|
|
|
691
|
-
export declare const TAvatarStack: DefineComponent<
|
|
838
|
+
export declare const TAvatarStack: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
692
839
|
size: number;
|
|
693
840
|
max: number;
|
|
694
841
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
695
842
|
|
|
696
843
|
export declare const TBadge: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
697
844
|
|
|
698
|
-
export declare const TBar: DefineComponent<
|
|
845
|
+
export declare const TBar: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
699
846
|
color: string;
|
|
700
847
|
h: number;
|
|
701
848
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
702
849
|
|
|
703
850
|
export declare const TBtn: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
704
851
|
|
|
705
|
-
export declare const
|
|
852
|
+
export declare const TCalendar: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
853
|
+
pick: (iso: string) => any;
|
|
854
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
855
|
+
onPick?: ((iso: string) => any) | undefined;
|
|
856
|
+
}>, {
|
|
857
|
+
value: string;
|
|
858
|
+
from: string;
|
|
859
|
+
to: string;
|
|
860
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
861
|
+
|
|
862
|
+
export declare const TCheckbox: DefineComponent<__VLS_Props_40, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
706
863
|
"update:modelValue": (v: boolean) => any;
|
|
707
|
-
}, string, PublicProps, Readonly<
|
|
864
|
+
}, string, PublicProps, Readonly<__VLS_Props_40> & Readonly<{
|
|
708
865
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
709
866
|
}>, {
|
|
710
|
-
modelValue: boolean;
|
|
711
867
|
disabled: boolean;
|
|
868
|
+
modelValue: boolean;
|
|
712
869
|
indeterminate: boolean;
|
|
713
870
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
714
871
|
|
|
715
|
-
export declare const TCodeInput: DefineComponent<
|
|
872
|
+
export declare const TCodeInput: DefineComponent<__VLS_Props_38, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
716
873
|
"update:modelValue": (v: string) => any;
|
|
717
|
-
}, string, PublicProps, Readonly<
|
|
874
|
+
}, string, PublicProps, Readonly<__VLS_Props_38> & Readonly<{
|
|
718
875
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
719
876
|
}>, {
|
|
720
877
|
length: number;
|
|
@@ -722,28 +879,70 @@ modelValue: string;
|
|
|
722
879
|
autofocus: boolean;
|
|
723
880
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
724
881
|
|
|
725
|
-
export declare const
|
|
882
|
+
export declare const TDatePicker: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
883
|
+
"update:modelValue": (iso: string) => any;
|
|
884
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
885
|
+
"onUpdate:modelValue"?: ((iso: string) => any) | undefined;
|
|
886
|
+
}>, {
|
|
887
|
+
label: string;
|
|
888
|
+
inline: boolean;
|
|
889
|
+
today: string;
|
|
890
|
+
mobile: boolean;
|
|
891
|
+
teleport: boolean;
|
|
892
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
893
|
+
root: HTMLDivElement;
|
|
894
|
+
}, HTMLDivElement>;
|
|
895
|
+
|
|
896
|
+
export declare const TDateRangePicker: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
897
|
+
"update:from": (iso: string) => any;
|
|
898
|
+
"update:to": (iso: string) => any;
|
|
899
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
900
|
+
"onUpdate:from"?: ((iso: string) => any) | undefined;
|
|
901
|
+
"onUpdate:to"?: ((iso: string) => any) | undefined;
|
|
902
|
+
}>, {
|
|
903
|
+
label: string;
|
|
904
|
+
today: string;
|
|
905
|
+
mobile: boolean;
|
|
906
|
+
teleport: boolean;
|
|
907
|
+
presets: boolean;
|
|
908
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
909
|
+
root: HTMLDivElement;
|
|
910
|
+
}, HTMLDivElement>;
|
|
911
|
+
|
|
912
|
+
export declare const TDot: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
|
|
726
913
|
size: number;
|
|
727
914
|
running: boolean;
|
|
728
915
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
729
916
|
|
|
730
|
-
export declare const TDur: DefineComponent<
|
|
917
|
+
export declare const TDur: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
731
918
|
size: number;
|
|
732
919
|
tone: keyof typeof TONES_3;
|
|
733
920
|
mode: DurationFormat;
|
|
734
921
|
weight: number;
|
|
735
922
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
736
923
|
|
|
737
|
-
export declare const
|
|
738
|
-
|
|
924
|
+
export declare const TEmpty: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
925
|
+
action: () => any;
|
|
926
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
927
|
+
onAction?: (() => any) | undefined;
|
|
928
|
+
}>, {
|
|
929
|
+
body: string;
|
|
930
|
+
icon: string;
|
|
931
|
+
action: string;
|
|
932
|
+
actionIcon: string;
|
|
933
|
+
compact: boolean;
|
|
934
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
935
|
+
|
|
936
|
+
export declare const TField: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
739
937
|
submit: () => any;
|
|
740
|
-
|
|
741
|
-
|
|
938
|
+
"update:modelValue": (v: string) => any;
|
|
939
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
742
940
|
onSubmit?: (() => any) | undefined;
|
|
941
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
743
942
|
}>, {
|
|
744
943
|
type: string;
|
|
745
|
-
modelValue: string;
|
|
746
944
|
disabled: boolean;
|
|
945
|
+
modelValue: string;
|
|
747
946
|
mono: boolean;
|
|
748
947
|
autofocus: boolean;
|
|
749
948
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
@@ -754,14 +953,14 @@ export declare const THEME_PREFERENCES: ThemePreference[];
|
|
|
754
953
|
|
|
755
954
|
export declare type ThemePreference = 'system' | 'light' | 'dark';
|
|
756
955
|
|
|
757
|
-
export declare const TIcon: DefineComponent<
|
|
956
|
+
export declare const TIcon: DefineComponent<__VLS_Props_36, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_36> & Readonly<{}>, {
|
|
758
957
|
color: string;
|
|
759
958
|
size: number;
|
|
760
959
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
761
960
|
|
|
762
|
-
export declare const TIconBtn: DefineComponent<
|
|
961
|
+
export declare const TIconBtn: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
763
962
|
click: (e: MouseEvent) => any;
|
|
764
|
-
}, string, PublicProps, Readonly<
|
|
963
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
765
964
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
766
965
|
}>, {
|
|
767
966
|
size: number;
|
|
@@ -792,9 +991,9 @@ export declare interface TimerWorkspace {
|
|
|
792
991
|
|
|
793
992
|
export declare const TIOSNav: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
794
993
|
|
|
795
|
-
export declare const TIOSTabBar: DefineComponent<
|
|
994
|
+
export declare const TIOSTabBar: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
796
995
|
"update:modelValue": (id: string) => any;
|
|
797
|
-
}, string, PublicProps, Readonly<
|
|
996
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
798
997
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
799
998
|
}>, {
|
|
800
999
|
indicator: boolean;
|
|
@@ -802,12 +1001,16 @@ indicator: boolean;
|
|
|
802
1001
|
|
|
803
1002
|
export declare const TLargeTitle: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
804
1003
|
|
|
805
|
-
export declare const TLogo: DefineComponent<
|
|
1004
|
+
export declare const TLogo: DefineComponent<__VLS_Props_37, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_37> & Readonly<{}>, {
|
|
806
1005
|
size: number;
|
|
807
1006
|
mono: boolean;
|
|
808
1007
|
wordmark: boolean;
|
|
809
1008
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
810
1009
|
|
|
1010
|
+
export declare const todayIso: (now?: Date) => string;
|
|
1011
|
+
|
|
1012
|
+
export declare const toIso: (d: Date) => string;
|
|
1013
|
+
|
|
811
1014
|
declare const TONES: {
|
|
812
1015
|
readonly default: {
|
|
813
1016
|
readonly background: "var(--fill)";
|
|
@@ -838,13 +1041,32 @@ declare const TONES_3: {
|
|
|
838
1041
|
readonly faint: "var(--label-3)";
|
|
839
1042
|
};
|
|
840
1043
|
|
|
1044
|
+
export declare const TPhotoSheet: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1045
|
+
close: () => any;
|
|
1046
|
+
save: (blob: Blob) => any;
|
|
1047
|
+
remove: () => any;
|
|
1048
|
+
}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
|
|
1049
|
+
onClose?: (() => any) | undefined;
|
|
1050
|
+
onSave?: ((blob: Blob) => any) | undefined;
|
|
1051
|
+
onRemove?: (() => any) | undefined;
|
|
1052
|
+
}>, {
|
|
1053
|
+
name: string;
|
|
1054
|
+
mobile: boolean;
|
|
1055
|
+
teleport: boolean;
|
|
1056
|
+
current: string | null;
|
|
1057
|
+
subject: "photo" | "icon";
|
|
1058
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1059
|
+
input: HTMLInputElement;
|
|
1060
|
+
stage: HTMLDivElement;
|
|
1061
|
+
}, any>;
|
|
1062
|
+
|
|
841
1063
|
export declare const TPill: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
842
1064
|
|
|
843
1065
|
export declare const TRow: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
844
1066
|
|
|
845
|
-
export declare const TSeg: DefineComponent<
|
|
1067
|
+
export declare const TSeg: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
846
1068
|
"update:modelValue": (v: string) => any;
|
|
847
|
-
}, string, PublicProps, Readonly<
|
|
1069
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
848
1070
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
849
1071
|
}>, {
|
|
850
1072
|
size: "sm" | "md";
|
|
@@ -872,12 +1094,12 @@ disabled: boolean;
|
|
|
872
1094
|
|
|
873
1095
|
export declare const TSheet: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
874
1096
|
|
|
875
|
-
export declare const TStartHero: DefineComponent<
|
|
876
|
-
open: () => any;
|
|
1097
|
+
export declare const TStartHero: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
877
1098
|
pick: (taskId: string) => any;
|
|
878
|
-
|
|
879
|
-
|
|
1099
|
+
open: () => any;
|
|
1100
|
+
}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{
|
|
880
1101
|
onPick?: ((taskId: string) => any) | undefined;
|
|
1102
|
+
onOpen?: (() => any) | undefined;
|
|
881
1103
|
}>, {
|
|
882
1104
|
mobile: boolean;
|
|
883
1105
|
recent: RecentTask[];
|
|
@@ -885,15 +1107,15 @@ hasRunning: boolean;
|
|
|
885
1107
|
shortcut: string;
|
|
886
1108
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
887
1109
|
|
|
888
|
-
export declare const TStrokes: DefineComponent<
|
|
1110
|
+
export declare const TStrokes: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {
|
|
889
1111
|
opacity: number;
|
|
890
1112
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
891
1113
|
|
|
892
|
-
export declare const TTimerBar: DefineComponent<
|
|
1114
|
+
export declare const TTimerBar: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
893
1115
|
stop: (id: string) => any;
|
|
894
1116
|
open: () => any;
|
|
895
1117
|
stopAll: () => any;
|
|
896
|
-
}, string, PublicProps, Readonly<
|
|
1118
|
+
}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{
|
|
897
1119
|
onStop?: ((id: string) => any) | undefined;
|
|
898
1120
|
onOpen?: (() => any) | undefined;
|
|
899
1121
|
onStopAll?: (() => any) | undefined;
|
|
@@ -902,9 +1124,9 @@ bottom: number | string;
|
|
|
902
1124
|
android: boolean;
|
|
903
1125
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
904
1126
|
|
|
905
|
-
export declare const TToggle: DefineComponent<
|
|
1127
|
+
export declare const TToggle: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
906
1128
|
"update:modelValue": (v: boolean) => any;
|
|
907
|
-
}, string, PublicProps, Readonly<
|
|
1129
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
908
1130
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
909
1131
|
}>, {
|
|
910
1132
|
disabled: boolean;
|
|
@@ -912,7 +1134,7 @@ disabled: boolean;
|
|
|
912
1134
|
|
|
913
1135
|
export declare const TTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
914
1136
|
|
|
915
|
-
export declare const TWaterfall: DefineComponent<
|
|
1137
|
+
export declare const TWaterfall: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
916
1138
|
end: number;
|
|
917
1139
|
start: number;
|
|
918
1140
|
compact: boolean;
|
|
@@ -921,29 +1143,32 @@ rowH: number;
|
|
|
921
1143
|
showWs: boolean;
|
|
922
1144
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
923
1145
|
|
|
924
|
-
export declare const TWorkspaceDrawer: DefineComponent<
|
|
1146
|
+
export declare const TWorkspaceDrawer: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
925
1147
|
help: () => any;
|
|
926
1148
|
"update:modelValue": (id: string) => any;
|
|
927
1149
|
close: () => any;
|
|
928
1150
|
create: () => any;
|
|
929
1151
|
preferences: () => any;
|
|
930
1152
|
actions: () => any;
|
|
931
|
-
|
|
1153
|
+
account: () => any;
|
|
1154
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
932
1155
|
onHelp?: (() => any) | undefined;
|
|
933
1156
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
934
1157
|
onClose?: (() => any) | undefined;
|
|
935
1158
|
onCreate?: (() => any) | undefined;
|
|
936
1159
|
onPreferences?: (() => any) | undefined;
|
|
937
1160
|
onActions?: (() => any) | undefined;
|
|
1161
|
+
onAccount?: (() => any) | undefined;
|
|
938
1162
|
}>, {
|
|
939
1163
|
teleport: boolean;
|
|
940
1164
|
showAll: boolean;
|
|
1165
|
+
user: DrawerUser | null;
|
|
941
1166
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
942
1167
|
|
|
943
|
-
export declare const TWorkspaceMenu: DefineComponent<
|
|
1168
|
+
export declare const TWorkspaceMenu: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
944
1169
|
"update:modelValue": (id: string) => any;
|
|
945
1170
|
create: () => any;
|
|
946
|
-
}, string, PublicProps, Readonly<
|
|
1171
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
947
1172
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
948
1173
|
onCreate?: (() => any) | undefined;
|
|
949
1174
|
}>, {
|
|
@@ -951,10 +1176,10 @@ showAll: boolean;
|
|
|
951
1176
|
embedded: boolean;
|
|
952
1177
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
953
1178
|
|
|
954
|
-
export declare const TWorkspaceSwitcher: DefineComponent<
|
|
1179
|
+
export declare const TWorkspaceSwitcher: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
955
1180
|
"update:modelValue": (id: string) => any;
|
|
956
1181
|
create: () => any;
|
|
957
|
-
}, string, PublicProps, Readonly<
|
|
1182
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
958
1183
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
959
1184
|
onCreate?: (() => any) | undefined;
|
|
960
1185
|
}>, {
|
|
@@ -963,14 +1188,16 @@ showAll: boolean;
|
|
|
963
1188
|
root: HTMLDivElement;
|
|
964
1189
|
}, HTMLDivElement>;
|
|
965
1190
|
|
|
966
|
-
export declare const TWsIcon: DefineComponent<
|
|
1191
|
+
export declare const TWsIcon: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
|
|
967
1192
|
color: string;
|
|
968
1193
|
name: string;
|
|
969
1194
|
size: number;
|
|
970
1195
|
all: boolean;
|
|
1196
|
+
src: string;
|
|
1197
|
+
ring: boolean;
|
|
971
1198
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
972
1199
|
|
|
973
|
-
export declare const TWsTag: DefineComponent<
|
|
1200
|
+
export declare const TWsTag: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
974
1201
|
|
|
975
1202
|
export declare function watchTheme(pref: () => ThemePreference, root: HTMLElement, media?: MediaQueryList | null): {
|
|
976
1203
|
refresh(): void;
|
|
@@ -998,6 +1225,8 @@ export declare interface WaterfallSegment {
|
|
|
998
1225
|
shared?: boolean;
|
|
999
1226
|
}
|
|
1000
1227
|
|
|
1228
|
+
export declare const WEEKDAYS: string[];
|
|
1229
|
+
|
|
1001
1230
|
export declare interface WorkspaceOption {
|
|
1002
1231
|
id: string;
|
|
1003
1232
|
name: string;
|
|
@@ -1006,6 +1235,16 @@ export declare interface WorkspaceOption {
|
|
|
1006
1235
|
projectCount?: number;
|
|
1007
1236
|
isDefault: boolean;
|
|
1008
1237
|
personal: boolean;
|
|
1238
|
+
iconUrl?: string;
|
|
1009
1239
|
}
|
|
1010
1240
|
|
|
1241
|
+
export declare interface YearMonth {
|
|
1242
|
+
year: number;
|
|
1243
|
+
month: number;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
export declare const ZOOM_MAX = 3;
|
|
1247
|
+
|
|
1248
|
+
export declare const ZOOM_MIN = 1;
|
|
1249
|
+
|
|
1011
1250
|
export { }
|