@timebraid/vue 1.10.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 +346 -117
- package/dist/timebraid-vue.js +2033 -1094
- 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,40 +224,27 @@ 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;
|
|
@@ -202,61 +253,57 @@ declare type __VLS_Props_22 = {
|
|
|
202
253
|
user?: DrawerUser | null;
|
|
203
254
|
};
|
|
204
255
|
|
|
205
|
-
declare type
|
|
256
|
+
declare type __VLS_Props_29 = {
|
|
206
257
|
timers: PillTimer[];
|
|
207
258
|
android?: boolean;
|
|
208
259
|
bottom?: number | string;
|
|
209
260
|
};
|
|
210
261
|
|
|
211
|
-
declare type
|
|
262
|
+
declare type __VLS_Props_3 = {
|
|
263
|
+
label: string;
|
|
264
|
+
icon?: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
declare type __VLS_Props_30 = {
|
|
212
268
|
opacity?: number;
|
|
213
269
|
};
|
|
214
270
|
|
|
215
|
-
declare type
|
|
271
|
+
declare type __VLS_Props_31 = {
|
|
216
272
|
recent?: RecentTask[];
|
|
217
273
|
hasRunning?: boolean;
|
|
218
274
|
mobile?: boolean;
|
|
219
275
|
shortcut?: string;
|
|
220
276
|
};
|
|
221
277
|
|
|
222
|
-
declare type
|
|
278
|
+
declare type __VLS_Props_32 = {
|
|
223
279
|
title: string;
|
|
224
280
|
sub?: string;
|
|
225
281
|
scrolled: boolean;
|
|
226
282
|
};
|
|
227
283
|
|
|
228
|
-
declare type
|
|
284
|
+
declare type __VLS_Props_33 = {
|
|
229
285
|
items: TabItem[];
|
|
230
286
|
modelValue: string;
|
|
231
287
|
indicator?: boolean;
|
|
232
288
|
};
|
|
233
289
|
|
|
234
|
-
declare type
|
|
290
|
+
declare type __VLS_Props_34 = {
|
|
235
291
|
title: string;
|
|
236
292
|
sub?: string;
|
|
237
293
|
scrolled?: boolean;
|
|
238
294
|
};
|
|
239
295
|
|
|
240
|
-
declare type
|
|
296
|
+
declare type __VLS_Props_35 = {
|
|
241
297
|
items: TabItem[];
|
|
242
298
|
modelValue: string;
|
|
243
299
|
indicator?: boolean;
|
|
244
300
|
};
|
|
245
301
|
|
|
246
|
-
declare type __VLS_Props_3 = {
|
|
247
|
-
modelValue: string;
|
|
248
|
-
options: {
|
|
249
|
-
value: string;
|
|
250
|
-
label: string;
|
|
251
|
-
}[];
|
|
252
|
-
size?: 'sm' | 'md';
|
|
253
|
-
};
|
|
254
|
-
|
|
255
302
|
/**
|
|
256
303
|
* Lucide glyph rendered inline from the bundled table, so it follows currentColor and fetches nothing.
|
|
257
304
|
* SUBSTITUTION: Timebraid has no icon set of its own yet; Lucide is the closest match to the mark.
|
|
258
305
|
*/
|
|
259
|
-
declare type
|
|
306
|
+
declare type __VLS_Props_36 = {
|
|
260
307
|
/** Lucide kebab-case name from the bundled table: play, square, plus, folder-kanban... */
|
|
261
308
|
name: string;
|
|
262
309
|
/** 16 in the app, 20 in the site header, 24 in marketing rows. */
|
|
@@ -267,26 +314,35 @@ declare type __VLS_Props_30 = {
|
|
|
267
314
|
};
|
|
268
315
|
|
|
269
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. */
|
|
270
|
-
declare type
|
|
317
|
+
declare type __VLS_Props_37 = {
|
|
271
318
|
size?: number;
|
|
272
319
|
wordmark?: boolean;
|
|
273
320
|
mono?: boolean;
|
|
274
321
|
};
|
|
275
322
|
|
|
276
|
-
declare type
|
|
323
|
+
declare type __VLS_Props_38 = {
|
|
277
324
|
modelValue?: string;
|
|
278
325
|
length?: number;
|
|
279
326
|
error?: string;
|
|
280
327
|
autofocus?: boolean;
|
|
281
328
|
};
|
|
282
329
|
|
|
283
|
-
declare type
|
|
330
|
+
declare type __VLS_Props_39 = {
|
|
284
331
|
title: string;
|
|
285
332
|
description?: string;
|
|
286
333
|
width?: number;
|
|
287
334
|
};
|
|
288
335
|
|
|
289
|
-
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 = {
|
|
290
346
|
modelValue?: boolean;
|
|
291
347
|
label: string;
|
|
292
348
|
description?: string;
|
|
@@ -294,14 +350,24 @@ declare type __VLS_Props_34 = {
|
|
|
294
350
|
disabled?: boolean;
|
|
295
351
|
};
|
|
296
352
|
|
|
297
|
-
declare type
|
|
353
|
+
declare type __VLS_Props_41 = {
|
|
298
354
|
content: string;
|
|
299
355
|
/** e.g. ⌘N - mono, muted, at the end. */
|
|
300
356
|
shortcut?: string;
|
|
301
357
|
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
302
358
|
};
|
|
303
359
|
|
|
304
|
-
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 = {
|
|
305
371
|
kind?: keyof typeof KINDS;
|
|
306
372
|
size?: keyof typeof SIZES;
|
|
307
373
|
icon?: string;
|
|
@@ -310,7 +376,7 @@ declare type __VLS_Props_4 = {
|
|
|
310
376
|
type?: 'button' | 'submit' | 'reset';
|
|
311
377
|
};
|
|
312
378
|
|
|
313
|
-
declare type
|
|
379
|
+
declare type __VLS_Props_7 = {
|
|
314
380
|
icon: string;
|
|
315
381
|
label: string;
|
|
316
382
|
size?: number;
|
|
@@ -318,12 +384,12 @@ declare type __VLS_Props_5 = {
|
|
|
318
384
|
disabled?: boolean;
|
|
319
385
|
};
|
|
320
386
|
|
|
321
|
-
declare type
|
|
387
|
+
declare type __VLS_Props_8 = {
|
|
322
388
|
modelValue: boolean;
|
|
323
389
|
disabled?: boolean;
|
|
324
390
|
};
|
|
325
391
|
|
|
326
|
-
declare type
|
|
392
|
+
declare type __VLS_Props_9 = {
|
|
327
393
|
modelValue?: string;
|
|
328
394
|
label?: string;
|
|
329
395
|
placeholder?: string;
|
|
@@ -335,16 +401,6 @@ declare type __VLS_Props_7 = {
|
|
|
335
401
|
name?: string;
|
|
336
402
|
};
|
|
337
403
|
|
|
338
|
-
declare type __VLS_Props_8 = {
|
|
339
|
-
tone?: keyof typeof TONES_2;
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
declare type __VLS_Props_9 = {
|
|
343
|
-
value: number;
|
|
344
|
-
color?: string;
|
|
345
|
-
h?: number;
|
|
346
|
-
};
|
|
347
|
-
|
|
348
404
|
declare function __VLS_template(): {
|
|
349
405
|
attrs: Partial<{}>;
|
|
350
406
|
slots: {
|
|
@@ -550,10 +606,32 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
550
606
|
};
|
|
551
607
|
};
|
|
552
608
|
|
|
609
|
+
export declare function addDaysIso(iso: string, days: number): string;
|
|
610
|
+
|
|
553
611
|
export declare const ALL_WORKSPACES = "all";
|
|
554
612
|
|
|
555
613
|
export declare function applyTheme(root: HTMLElement, theme: ResolvedTheme): void;
|
|
556
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
|
+
|
|
557
635
|
/** Where TIcon masks from when nothing overrides it. */
|
|
558
636
|
export declare const DEFAULT_ICON_BASE = "https://unpkg.com/lucide-static@0.545.0/icons/";
|
|
559
637
|
|
|
@@ -567,9 +645,20 @@ export declare type DurationFormat = 'clock' | 'short' | 'compact';
|
|
|
567
645
|
|
|
568
646
|
export declare const FILLED_NAMES: ReadonlySet<string>;
|
|
569
647
|
|
|
648
|
+
export declare function formatDay(iso: string): string;
|
|
649
|
+
|
|
570
650
|
/** 8047 → "2:14:07" (clock) · "2:14" (short) · "2h 14m" (compact) */
|
|
571
651
|
export declare function formatDuration(seconds: number, format?: DurationFormat): string;
|
|
572
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
|
+
|
|
573
662
|
export declare function groupTimers(timers: PillTimer[]): TimerGroup[];
|
|
574
663
|
|
|
575
664
|
export declare const hasIcon: (name: string) => boolean;
|
|
@@ -606,6 +695,27 @@ declare const KINDS: {
|
|
|
606
695
|
|
|
607
696
|
export declare function longestTimer(timers: PillTimer[]): PillTimer | null;
|
|
608
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
|
+
|
|
609
719
|
export declare interface Person {
|
|
610
720
|
name: string;
|
|
611
721
|
src?: string;
|
|
@@ -627,9 +737,27 @@ export declare interface PillTimer {
|
|
|
627
737
|
};
|
|
628
738
|
}
|
|
629
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
|
+
|
|
630
751
|
/** Okabe-Ito, the only palette permitted for projects and charts. */
|
|
631
752
|
export declare const PROJECT_COLORS: string[];
|
|
632
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
|
+
|
|
633
761
|
export declare interface RecentTask {
|
|
634
762
|
id: string;
|
|
635
763
|
task: string;
|
|
@@ -646,6 +774,8 @@ export declare interface SelectOption {
|
|
|
646
774
|
label: string;
|
|
647
775
|
}
|
|
648
776
|
|
|
777
|
+
export declare function shiftMonth(ym: YearMonth, by: number): YearMonth;
|
|
778
|
+
|
|
649
779
|
declare const SIZES: {
|
|
650
780
|
readonly sm: {
|
|
651
781
|
readonly height: "var(--control-h-sm)";
|
|
@@ -673,15 +803,25 @@ declare const SIZES: {
|
|
|
673
803
|
};
|
|
674
804
|
};
|
|
675
805
|
|
|
806
|
+
export declare function startOfWeekIso(iso: string): string;
|
|
807
|
+
|
|
676
808
|
export declare interface TabItem {
|
|
677
809
|
id: string;
|
|
678
810
|
label: string;
|
|
679
811
|
icon: string;
|
|
680
812
|
}
|
|
681
813
|
|
|
682
|
-
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, {
|
|
683
823
|
"update:modelValue": (id: string) => any;
|
|
684
|
-
}, string, PublicProps, Readonly<
|
|
824
|
+
}, string, PublicProps, Readonly<__VLS_Props_35> & Readonly<{
|
|
685
825
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
686
826
|
}>, {
|
|
687
827
|
indicator: boolean;
|
|
@@ -691,37 +831,47 @@ export declare const TAndroidTop: __VLS_WithTemplateSlots_9<typeof __VLS_compone
|
|
|
691
831
|
|
|
692
832
|
export declare const TAuthCard: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
693
833
|
|
|
694
|
-
export declare const TAvatar: DefineComponent<
|
|
834
|
+
export declare const TAvatar: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
695
835
|
size: number;
|
|
696
836
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
697
837
|
|
|
698
|
-
export declare const TAvatarStack: DefineComponent<
|
|
838
|
+
export declare const TAvatarStack: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {
|
|
699
839
|
size: number;
|
|
700
840
|
max: number;
|
|
701
841
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
702
842
|
|
|
703
843
|
export declare const TBadge: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
704
844
|
|
|
705
|
-
export declare const TBar: DefineComponent<
|
|
845
|
+
export declare const TBar: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
706
846
|
color: string;
|
|
707
847
|
h: number;
|
|
708
848
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
709
849
|
|
|
710
850
|
export declare const TBtn: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
711
851
|
|
|
712
|
-
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, {
|
|
713
863
|
"update:modelValue": (v: boolean) => any;
|
|
714
|
-
}, string, PublicProps, Readonly<
|
|
864
|
+
}, string, PublicProps, Readonly<__VLS_Props_40> & Readonly<{
|
|
715
865
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
716
866
|
}>, {
|
|
717
|
-
modelValue: boolean;
|
|
718
867
|
disabled: boolean;
|
|
868
|
+
modelValue: boolean;
|
|
719
869
|
indeterminate: boolean;
|
|
720
870
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
721
871
|
|
|
722
|
-
export declare const TCodeInput: DefineComponent<
|
|
872
|
+
export declare const TCodeInput: DefineComponent<__VLS_Props_38, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
723
873
|
"update:modelValue": (v: string) => any;
|
|
724
|
-
}, string, PublicProps, Readonly<
|
|
874
|
+
}, string, PublicProps, Readonly<__VLS_Props_38> & Readonly<{
|
|
725
875
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
726
876
|
}>, {
|
|
727
877
|
length: number;
|
|
@@ -729,28 +879,70 @@ modelValue: string;
|
|
|
729
879
|
autofocus: boolean;
|
|
730
880
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
731
881
|
|
|
732
|
-
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<{}>, {
|
|
733
913
|
size: number;
|
|
734
914
|
running: boolean;
|
|
735
915
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
736
916
|
|
|
737
|
-
export declare const TDur: DefineComponent<
|
|
917
|
+
export declare const TDur: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
|
|
738
918
|
size: number;
|
|
739
919
|
tone: keyof typeof TONES_3;
|
|
740
920
|
mode: DurationFormat;
|
|
741
921
|
weight: number;
|
|
742
922
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
743
923
|
|
|
744
|
-
export declare const
|
|
745
|
-
|
|
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, {
|
|
746
937
|
submit: () => any;
|
|
747
|
-
|
|
748
|
-
|
|
938
|
+
"update:modelValue": (v: string) => any;
|
|
939
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
749
940
|
onSubmit?: (() => any) | undefined;
|
|
941
|
+
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
750
942
|
}>, {
|
|
751
943
|
type: string;
|
|
752
|
-
modelValue: string;
|
|
753
944
|
disabled: boolean;
|
|
945
|
+
modelValue: string;
|
|
754
946
|
mono: boolean;
|
|
755
947
|
autofocus: boolean;
|
|
756
948
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
@@ -761,14 +953,14 @@ export declare const THEME_PREFERENCES: ThemePreference[];
|
|
|
761
953
|
|
|
762
954
|
export declare type ThemePreference = 'system' | 'light' | 'dark';
|
|
763
955
|
|
|
764
|
-
export declare const TIcon: DefineComponent<
|
|
956
|
+
export declare const TIcon: DefineComponent<__VLS_Props_36, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_36> & Readonly<{}>, {
|
|
765
957
|
color: string;
|
|
766
958
|
size: number;
|
|
767
959
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
768
960
|
|
|
769
|
-
export declare const TIconBtn: DefineComponent<
|
|
961
|
+
export declare const TIconBtn: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
770
962
|
click: (e: MouseEvent) => any;
|
|
771
|
-
}, string, PublicProps, Readonly<
|
|
963
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
772
964
|
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
773
965
|
}>, {
|
|
774
966
|
size: number;
|
|
@@ -799,9 +991,9 @@ export declare interface TimerWorkspace {
|
|
|
799
991
|
|
|
800
992
|
export declare const TIOSNav: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
801
993
|
|
|
802
|
-
export declare const TIOSTabBar: DefineComponent<
|
|
994
|
+
export declare const TIOSTabBar: DefineComponent<__VLS_Props_33, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
803
995
|
"update:modelValue": (id: string) => any;
|
|
804
|
-
}, string, PublicProps, Readonly<
|
|
996
|
+
}, string, PublicProps, Readonly<__VLS_Props_33> & Readonly<{
|
|
805
997
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
806
998
|
}>, {
|
|
807
999
|
indicator: boolean;
|
|
@@ -809,12 +1001,16 @@ indicator: boolean;
|
|
|
809
1001
|
|
|
810
1002
|
export declare const TLargeTitle: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
811
1003
|
|
|
812
|
-
export declare const TLogo: DefineComponent<
|
|
1004
|
+
export declare const TLogo: DefineComponent<__VLS_Props_37, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_37> & Readonly<{}>, {
|
|
813
1005
|
size: number;
|
|
814
1006
|
mono: boolean;
|
|
815
1007
|
wordmark: boolean;
|
|
816
1008
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
817
1009
|
|
|
1010
|
+
export declare const todayIso: (now?: Date) => string;
|
|
1011
|
+
|
|
1012
|
+
export declare const toIso: (d: Date) => string;
|
|
1013
|
+
|
|
818
1014
|
declare const TONES: {
|
|
819
1015
|
readonly default: {
|
|
820
1016
|
readonly background: "var(--fill)";
|
|
@@ -845,13 +1041,32 @@ declare const TONES_3: {
|
|
|
845
1041
|
readonly faint: "var(--label-3)";
|
|
846
1042
|
};
|
|
847
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
|
+
|
|
848
1063
|
export declare const TPill: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
849
1064
|
|
|
850
1065
|
export declare const TRow: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
851
1066
|
|
|
852
|
-
export declare const TSeg: DefineComponent<
|
|
1067
|
+
export declare const TSeg: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
853
1068
|
"update:modelValue": (v: string) => any;
|
|
854
|
-
}, string, PublicProps, Readonly<
|
|
1069
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
855
1070
|
"onUpdate:modelValue"?: ((v: string) => any) | undefined;
|
|
856
1071
|
}>, {
|
|
857
1072
|
size: "sm" | "md";
|
|
@@ -879,12 +1094,12 @@ disabled: boolean;
|
|
|
879
1094
|
|
|
880
1095
|
export declare const TSheet: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
881
1096
|
|
|
882
|
-
export declare const TStartHero: DefineComponent<
|
|
883
|
-
open: () => any;
|
|
1097
|
+
export declare const TStartHero: DefineComponent<__VLS_Props_31, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
884
1098
|
pick: (taskId: string) => any;
|
|
885
|
-
|
|
886
|
-
|
|
1099
|
+
open: () => any;
|
|
1100
|
+
}, string, PublicProps, Readonly<__VLS_Props_31> & Readonly<{
|
|
887
1101
|
onPick?: ((taskId: string) => any) | undefined;
|
|
1102
|
+
onOpen?: (() => any) | undefined;
|
|
888
1103
|
}>, {
|
|
889
1104
|
mobile: boolean;
|
|
890
1105
|
recent: RecentTask[];
|
|
@@ -892,15 +1107,15 @@ hasRunning: boolean;
|
|
|
892
1107
|
shortcut: string;
|
|
893
1108
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
894
1109
|
|
|
895
|
-
export declare const TStrokes: DefineComponent<
|
|
1110
|
+
export declare const TStrokes: DefineComponent<__VLS_Props_30, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_30> & Readonly<{}>, {
|
|
896
1111
|
opacity: number;
|
|
897
1112
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
898
1113
|
|
|
899
|
-
export declare const TTimerBar: DefineComponent<
|
|
1114
|
+
export declare const TTimerBar: DefineComponent<__VLS_Props_29, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
900
1115
|
stop: (id: string) => any;
|
|
901
1116
|
open: () => any;
|
|
902
1117
|
stopAll: () => any;
|
|
903
|
-
}, string, PublicProps, Readonly<
|
|
1118
|
+
}, string, PublicProps, Readonly<__VLS_Props_29> & Readonly<{
|
|
904
1119
|
onStop?: ((id: string) => any) | undefined;
|
|
905
1120
|
onOpen?: (() => any) | undefined;
|
|
906
1121
|
onStopAll?: (() => any) | undefined;
|
|
@@ -909,9 +1124,9 @@ bottom: number | string;
|
|
|
909
1124
|
android: boolean;
|
|
910
1125
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
911
1126
|
|
|
912
|
-
export declare const TToggle: DefineComponent<
|
|
1127
|
+
export declare const TToggle: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
913
1128
|
"update:modelValue": (v: boolean) => any;
|
|
914
|
-
}, string, PublicProps, Readonly<
|
|
1129
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
915
1130
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
916
1131
|
}>, {
|
|
917
1132
|
disabled: boolean;
|
|
@@ -919,7 +1134,7 @@ disabled: boolean;
|
|
|
919
1134
|
|
|
920
1135
|
export declare const TTooltip: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
921
1136
|
|
|
922
|
-
export declare const TWaterfall: DefineComponent<
|
|
1137
|
+
export declare const TWaterfall: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {
|
|
923
1138
|
end: number;
|
|
924
1139
|
start: number;
|
|
925
1140
|
compact: boolean;
|
|
@@ -928,7 +1143,7 @@ rowH: number;
|
|
|
928
1143
|
showWs: boolean;
|
|
929
1144
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
930
1145
|
|
|
931
|
-
export declare const TWorkspaceDrawer: DefineComponent<
|
|
1146
|
+
export declare const TWorkspaceDrawer: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
932
1147
|
help: () => any;
|
|
933
1148
|
"update:modelValue": (id: string) => any;
|
|
934
1149
|
close: () => any;
|
|
@@ -936,7 +1151,7 @@ create: () => any;
|
|
|
936
1151
|
preferences: () => any;
|
|
937
1152
|
actions: () => any;
|
|
938
1153
|
account: () => any;
|
|
939
|
-
}, string, PublicProps, Readonly<
|
|
1154
|
+
}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{
|
|
940
1155
|
onHelp?: (() => any) | undefined;
|
|
941
1156
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
942
1157
|
onClose?: (() => any) | undefined;
|
|
@@ -950,10 +1165,10 @@ showAll: boolean;
|
|
|
950
1165
|
user: DrawerUser | null;
|
|
951
1166
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
952
1167
|
|
|
953
|
-
export declare const TWorkspaceMenu: DefineComponent<
|
|
1168
|
+
export declare const TWorkspaceMenu: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
954
1169
|
"update:modelValue": (id: string) => any;
|
|
955
1170
|
create: () => any;
|
|
956
|
-
}, string, PublicProps, Readonly<
|
|
1171
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
957
1172
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
958
1173
|
onCreate?: (() => any) | undefined;
|
|
959
1174
|
}>, {
|
|
@@ -961,10 +1176,10 @@ showAll: boolean;
|
|
|
961
1176
|
embedded: boolean;
|
|
962
1177
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
963
1178
|
|
|
964
|
-
export declare const TWorkspaceSwitcher: DefineComponent<
|
|
1179
|
+
export declare const TWorkspaceSwitcher: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
965
1180
|
"update:modelValue": (id: string) => any;
|
|
966
1181
|
create: () => any;
|
|
967
|
-
}, string, PublicProps, Readonly<
|
|
1182
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
968
1183
|
"onUpdate:modelValue"?: ((id: string) => any) | undefined;
|
|
969
1184
|
onCreate?: (() => any) | undefined;
|
|
970
1185
|
}>, {
|
|
@@ -973,14 +1188,16 @@ showAll: boolean;
|
|
|
973
1188
|
root: HTMLDivElement;
|
|
974
1189
|
}, HTMLDivElement>;
|
|
975
1190
|
|
|
976
|
-
export declare const TWsIcon: DefineComponent<
|
|
1191
|
+
export declare const TWsIcon: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
|
|
977
1192
|
color: string;
|
|
978
1193
|
name: string;
|
|
979
1194
|
size: number;
|
|
980
1195
|
all: boolean;
|
|
1196
|
+
src: string;
|
|
1197
|
+
ring: boolean;
|
|
981
1198
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
982
1199
|
|
|
983
|
-
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>;
|
|
984
1201
|
|
|
985
1202
|
export declare function watchTheme(pref: () => ThemePreference, root: HTMLElement, media?: MediaQueryList | null): {
|
|
986
1203
|
refresh(): void;
|
|
@@ -1008,6 +1225,8 @@ export declare interface WaterfallSegment {
|
|
|
1008
1225
|
shared?: boolean;
|
|
1009
1226
|
}
|
|
1010
1227
|
|
|
1228
|
+
export declare const WEEKDAYS: string[];
|
|
1229
|
+
|
|
1011
1230
|
export declare interface WorkspaceOption {
|
|
1012
1231
|
id: string;
|
|
1013
1232
|
name: string;
|
|
@@ -1016,6 +1235,16 @@ export declare interface WorkspaceOption {
|
|
|
1016
1235
|
projectCount?: number;
|
|
1017
1236
|
isDefault: boolean;
|
|
1018
1237
|
personal: boolean;
|
|
1238
|
+
iconUrl?: string;
|
|
1019
1239
|
}
|
|
1020
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
|
+
|
|
1021
1250
|
export { }
|