@deepseek-ai/dsh-client-ui-schedule 0.2.1-rc.5 → 0.2.2-alpha.3
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.i18n.yaml +19 -19
- package/README.md +28 -36
- package/README.zh.md +26 -34
- package/lib/client.js +15570 -3670
- package/lib/types/client/ClockPicker.d.ts +3 -3
- package/lib/types/client/DeleteToast.d.ts +26 -11
- package/lib/types/client/DeliveryHistory.d.ts +12 -6
- package/lib/types/client/NewSessionLimit.d.ts +12 -0
- package/lib/types/client/RuleSelectRow.d.ts +22 -0
- package/lib/types/client/ScheduleCatalogAction.d.ts +9 -4
- package/lib/types/client/ScheduleEmptyIllustration.d.ts +12 -0
- package/lib/types/client/ScheduleTaskTab.d.ts +2 -1
- package/lib/types/client/TaskDetail.d.ts +71 -96
- package/lib/types/client/TaskEditorFields.d.ts +54 -0
- package/lib/types/client/TaskManagerPage.d.ts +18 -4
- package/lib/types/client/TaskMenu.d.ts +3 -2
- package/lib/types/client/TaskRuleControls.d.ts +50 -0
- package/lib/types/client/catalog-source.d.ts +5 -2
- package/lib/types/client/clear-ended.d.ts +33 -0
- package/lib/types/client/editor-store.d.ts +32 -0
- package/lib/types/client/editor-timing.d.ts +47 -0
- package/lib/types/client/frequency-locales.d.ts +386 -2
- package/lib/types/client/index.d.ts +4 -4
- package/lib/types/client/locales.d.ts +490 -10
- package/lib/types/client/relative-clock.d.ts +8 -2
- package/lib/types/client/schedule-format.d.ts +16 -5
- package/lib/types/client/session-link.d.ts +1 -22
- package/lib/types/client/session-schedule-state.d.ts +13 -29
- package/lib/types/client/task-cron.d.ts +0 -65
- package/lib/types/client/task-manager-locales.d.ts +1386 -51
- package/lib/types/client/task-record.d.ts +30 -0
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +25 -22
- package/lib/types/client/task-timing.d.ts +0 -96
|
@@ -4,14 +4,20 @@ export declare const NS = "schedule.catalog";
|
|
|
4
4
|
export declare const zh: {
|
|
5
5
|
readonly 'mark.aria': "{count} 个自动化任务";
|
|
6
6
|
readonly 'hover.more': "另有 {count} 个任务";
|
|
7
|
+
readonly 'frequency.hostMonthly': "每月 {days} 日 {time},不足该日则月末";
|
|
8
|
+
readonly 'frequency.hostDailyInterval': "每 {interval} 天 {time}";
|
|
9
|
+
readonly 'frequency.hostWeeklyInterval': "每 {interval} 周的周{weekdays} {time}";
|
|
10
|
+
readonly 'frequency.hostMonthlyInterval': "每 {interval} 个月的 {days} 日 {time},不足该日则月末";
|
|
11
|
+
readonly 'frequency.hostZone': "{rule}({timeZone})";
|
|
12
|
+
readonly 'frequency.hostCustom': "自定义";
|
|
7
13
|
readonly 'time.locale': "zh-CN";
|
|
8
14
|
readonly 'time.utcPrefix': "UTC";
|
|
9
15
|
readonly 'frequency.daily': "每天 {time}({timeZone})";
|
|
10
16
|
readonly 'frequency.dailyLocal': "每天 {time}";
|
|
11
17
|
readonly 'frequency.weekly': "每周{weekdays} {time}({timeZone})";
|
|
12
18
|
readonly 'frequency.weeklyLocal': "每周{weekdays} {time}";
|
|
13
|
-
readonly 'frequency.cron': "
|
|
14
|
-
readonly 'frequency.cronLocal': "
|
|
19
|
+
readonly 'frequency.cron': "自定义({timeZone})";
|
|
20
|
+
readonly 'frequency.cronLocal': "自定义";
|
|
15
21
|
readonly 'frequency.cronRule': "{rule}({timeZone})";
|
|
16
22
|
readonly 'cron.list.join': "、";
|
|
17
23
|
readonly 'cron.part.join': " ";
|
|
@@ -58,17 +64,17 @@ export declare const zh: {
|
|
|
58
64
|
readonly 'relative.now': "现在到期";
|
|
59
65
|
readonly 'relative.future': "{value}{unit}后";
|
|
60
66
|
readonly 'relative.overdue': "已逾期 {value}{unit}";
|
|
61
|
-
readonly 'trigger.label': "
|
|
62
|
-
readonly 'list.loading': "
|
|
63
|
-
readonly 'list.error': "
|
|
67
|
+
readonly 'trigger.label': "自动化任务";
|
|
68
|
+
readonly 'list.loading': "正在加载自动化任务…";
|
|
69
|
+
readonly 'list.error': "无法加载自动化任务。";
|
|
64
70
|
readonly 'list.retry': "重试";
|
|
65
71
|
readonly 'delete.action': "删除";
|
|
66
72
|
readonly 'delete.pending': "正在删除…";
|
|
67
|
-
readonly 'delete.label': "
|
|
68
|
-
readonly 'list.open': "
|
|
69
|
-
readonly 'trigger.one': "{count}
|
|
70
|
-
readonly 'trigger.other': "{count}
|
|
71
|
-
readonly 'list.aria': "
|
|
73
|
+
readonly 'delete.label': "删除自动化任务:{title}";
|
|
74
|
+
readonly 'list.open': "打开自动化任务详情:{title}";
|
|
75
|
+
readonly 'trigger.one': "{count} 个自动化任务";
|
|
76
|
+
readonly 'trigger.other': "{count} 个自动化任务";
|
|
77
|
+
readonly 'list.aria': "已开启的自动化任务";
|
|
72
78
|
readonly 'list.nextRun': "下次运行";
|
|
73
79
|
readonly 'frequency.once': "单次";
|
|
74
80
|
readonly 'frequency.every': "{value}{unit}一次";
|
|
@@ -77,4 +83,478 @@ export declare const zh: {
|
|
|
77
83
|
export declare const en: Record<ScheduleCatalogKey, string>;
|
|
78
84
|
/** Key domain of the Schedule catalog namespace. */
|
|
79
85
|
export type ScheduleCatalogKey = keyof typeof zh;
|
|
86
|
+
/** Japanese copy, checked against the English keys. */
|
|
87
|
+
export declare const ja: {
|
|
88
|
+
'trigger.label': string;
|
|
89
|
+
'list.loading': string;
|
|
90
|
+
'list.error': string;
|
|
91
|
+
'list.retry': string;
|
|
92
|
+
'delete.action': string;
|
|
93
|
+
'delete.pending': string;
|
|
94
|
+
'delete.label': string;
|
|
95
|
+
'list.open': string;
|
|
96
|
+
'trigger.one': string;
|
|
97
|
+
'trigger.other': string;
|
|
98
|
+
'list.aria': string;
|
|
99
|
+
'list.nextRun': string;
|
|
100
|
+
'frequency.once': string;
|
|
101
|
+
'frequency.every': string;
|
|
102
|
+
'mark.aria': string;
|
|
103
|
+
'hover.more': string;
|
|
104
|
+
'frequency.hostMonthly': string;
|
|
105
|
+
'frequency.hostDailyInterval': string;
|
|
106
|
+
'frequency.hostWeeklyInterval': string;
|
|
107
|
+
'frequency.hostMonthlyInterval': string;
|
|
108
|
+
'frequency.hostZone': string;
|
|
109
|
+
'frequency.hostCustom': string;
|
|
110
|
+
'time.locale': string;
|
|
111
|
+
'time.utcPrefix': string;
|
|
112
|
+
'frequency.daily': string;
|
|
113
|
+
'frequency.dailyLocal': string;
|
|
114
|
+
'frequency.weekly': string;
|
|
115
|
+
'frequency.weeklyLocal': string;
|
|
116
|
+
'frequency.cron': string;
|
|
117
|
+
'frequency.cronLocal': string;
|
|
118
|
+
'frequency.cronRule': string;
|
|
119
|
+
'cron.list.join': string;
|
|
120
|
+
'cron.part.join': string;
|
|
121
|
+
'cron.weekday.name': string;
|
|
122
|
+
'cron.weekday.range': string;
|
|
123
|
+
'cron.months': string;
|
|
124
|
+
'cron.day.every': string;
|
|
125
|
+
'cron.day.weekdays': string;
|
|
126
|
+
'cron.day.monthDays': string;
|
|
127
|
+
'cron.day.both': string;
|
|
128
|
+
'cron.day.bothStarred': string;
|
|
129
|
+
'cron.hours.range': string;
|
|
130
|
+
'cron.hours.list': string;
|
|
131
|
+
'cron.time.everyMinute': string;
|
|
132
|
+
'cron.time.everyMinutes': string;
|
|
133
|
+
'cron.time.joinedEveryMinute': string;
|
|
134
|
+
'cron.time.joinedEveryMinutes': string;
|
|
135
|
+
'cron.time.everyHour': string;
|
|
136
|
+
'cron.time.joinedEveryHour': string;
|
|
137
|
+
'cron.time.everyNHours': string;
|
|
138
|
+
'cron.time.joinedEveryNHours': string;
|
|
139
|
+
'cron.time.hourlyAt': string;
|
|
140
|
+
'cron.time.joinedHourlyAt': string;
|
|
141
|
+
'cron.time.hoursEveryMinute': string;
|
|
142
|
+
'cron.time.hoursEveryMinutes': string;
|
|
143
|
+
'cron.time.at': string;
|
|
144
|
+
'cron.time.hoursAt': string;
|
|
145
|
+
'frequency.weekday.join': string;
|
|
146
|
+
'frequency.weekday.1': string;
|
|
147
|
+
'frequency.weekday.2': string;
|
|
148
|
+
'frequency.weekday.3': string;
|
|
149
|
+
'frequency.weekday.4': string;
|
|
150
|
+
'frequency.weekday.5': string;
|
|
151
|
+
'frequency.weekday.6': string;
|
|
152
|
+
'frequency.weekday.7': string;
|
|
153
|
+
'unit.day.one': string;
|
|
154
|
+
'unit.day.other': string;
|
|
155
|
+
'unit.hour.one': string;
|
|
156
|
+
'unit.hour.other': string;
|
|
157
|
+
'unit.minute.one': string;
|
|
158
|
+
'unit.minute.other': string;
|
|
159
|
+
'unit.second.one': string;
|
|
160
|
+
'unit.second.other': string;
|
|
161
|
+
'relative.now': string;
|
|
162
|
+
'relative.future': string;
|
|
163
|
+
'relative.overdue': string;
|
|
164
|
+
};
|
|
165
|
+
/** Spanish dictionary, checked against the English keys. */
|
|
166
|
+
export declare const es: {
|
|
167
|
+
'mark.aria': string;
|
|
168
|
+
'hover.more': string;
|
|
169
|
+
'time.locale': string;
|
|
170
|
+
'time.utcPrefix': string;
|
|
171
|
+
'frequency.daily': string;
|
|
172
|
+
'frequency.dailyLocal': string;
|
|
173
|
+
'frequency.weekly': string;
|
|
174
|
+
'frequency.weeklyLocal': string;
|
|
175
|
+
'frequency.cron': string;
|
|
176
|
+
'frequency.cronLocal': string;
|
|
177
|
+
'frequency.cronRule': string;
|
|
178
|
+
'cron.list.join': string;
|
|
179
|
+
'cron.part.join': string;
|
|
180
|
+
'cron.weekday.name': string;
|
|
181
|
+
'cron.weekday.range': string;
|
|
182
|
+
'cron.months': string;
|
|
183
|
+
'cron.day.every': string;
|
|
184
|
+
'cron.day.weekdays': string;
|
|
185
|
+
'cron.day.monthDays': string;
|
|
186
|
+
'cron.day.both': string;
|
|
187
|
+
'cron.day.bothStarred': string;
|
|
188
|
+
'cron.hours.range': string;
|
|
189
|
+
'cron.hours.list': string;
|
|
190
|
+
'cron.time.everyMinute': string;
|
|
191
|
+
'cron.time.everyMinutes': string;
|
|
192
|
+
'cron.time.joinedEveryMinute': string;
|
|
193
|
+
'cron.time.joinedEveryMinutes': string;
|
|
194
|
+
'cron.time.everyHour': string;
|
|
195
|
+
'cron.time.joinedEveryHour': string;
|
|
196
|
+
'cron.time.everyNHours': string;
|
|
197
|
+
'cron.time.joinedEveryNHours': string;
|
|
198
|
+
'cron.time.hourlyAt': string;
|
|
199
|
+
'cron.time.joinedHourlyAt': string;
|
|
200
|
+
'cron.time.hoursEveryMinute': string;
|
|
201
|
+
'cron.time.hoursEveryMinutes': string;
|
|
202
|
+
'cron.time.at': string;
|
|
203
|
+
'cron.time.hoursAt': string;
|
|
204
|
+
'frequency.weekday.join': string;
|
|
205
|
+
'frequency.weekday.1': string;
|
|
206
|
+
'frequency.weekday.2': string;
|
|
207
|
+
'frequency.weekday.3': string;
|
|
208
|
+
'frequency.weekday.4': string;
|
|
209
|
+
'frequency.weekday.5': string;
|
|
210
|
+
'frequency.weekday.6': string;
|
|
211
|
+
'frequency.weekday.7': string;
|
|
212
|
+
'unit.day.one': string;
|
|
213
|
+
'unit.day.other': string;
|
|
214
|
+
'unit.hour.one': string;
|
|
215
|
+
'unit.hour.other': string;
|
|
216
|
+
'unit.minute.one': string;
|
|
217
|
+
'unit.minute.other': string;
|
|
218
|
+
'unit.second.one': string;
|
|
219
|
+
'unit.second.other': string;
|
|
220
|
+
'relative.now': string;
|
|
221
|
+
'relative.future': string;
|
|
222
|
+
'relative.overdue': string;
|
|
223
|
+
'frequency.hostMonthly': string;
|
|
224
|
+
'frequency.hostDailyInterval': string;
|
|
225
|
+
'frequency.hostWeeklyInterval': string;
|
|
226
|
+
'frequency.hostMonthlyInterval': string;
|
|
227
|
+
'frequency.hostZone': string;
|
|
228
|
+
'frequency.hostCustom': string;
|
|
229
|
+
'trigger.label': string;
|
|
230
|
+
'list.loading': string;
|
|
231
|
+
'list.error': string;
|
|
232
|
+
'list.retry': string;
|
|
233
|
+
'delete.action': string;
|
|
234
|
+
'delete.pending': string;
|
|
235
|
+
'delete.label': string;
|
|
236
|
+
'list.open': string;
|
|
237
|
+
'trigger.one': string;
|
|
238
|
+
'trigger.other': string;
|
|
239
|
+
'list.aria': string;
|
|
240
|
+
'list.nextRun': string;
|
|
241
|
+
'frequency.once': string;
|
|
242
|
+
'frequency.every': string;
|
|
243
|
+
};
|
|
244
|
+
/** French dictionary, checked against the English keys. */
|
|
245
|
+
export declare const fr: {
|
|
246
|
+
'mark.aria': string;
|
|
247
|
+
'hover.more': string;
|
|
248
|
+
'time.locale': string;
|
|
249
|
+
'time.utcPrefix': string;
|
|
250
|
+
'frequency.daily': string;
|
|
251
|
+
'frequency.dailyLocal': string;
|
|
252
|
+
'frequency.weekly': string;
|
|
253
|
+
'frequency.weeklyLocal': string;
|
|
254
|
+
'frequency.cron': string;
|
|
255
|
+
'frequency.cronLocal': string;
|
|
256
|
+
'frequency.cronRule': string;
|
|
257
|
+
'cron.list.join': string;
|
|
258
|
+
'cron.part.join': string;
|
|
259
|
+
'cron.weekday.name': string;
|
|
260
|
+
'cron.weekday.range': string;
|
|
261
|
+
'cron.months': string;
|
|
262
|
+
'cron.day.every': string;
|
|
263
|
+
'cron.day.weekdays': string;
|
|
264
|
+
'cron.day.monthDays': string;
|
|
265
|
+
'cron.day.both': string;
|
|
266
|
+
'cron.day.bothStarred': string;
|
|
267
|
+
'cron.hours.range': string;
|
|
268
|
+
'cron.hours.list': string;
|
|
269
|
+
'cron.time.everyMinute': string;
|
|
270
|
+
'cron.time.everyMinutes': string;
|
|
271
|
+
'cron.time.joinedEveryMinute': string;
|
|
272
|
+
'cron.time.joinedEveryMinutes': string;
|
|
273
|
+
'cron.time.everyHour': string;
|
|
274
|
+
'cron.time.joinedEveryHour': string;
|
|
275
|
+
'cron.time.everyNHours': string;
|
|
276
|
+
'cron.time.joinedEveryNHours': string;
|
|
277
|
+
'cron.time.hourlyAt': string;
|
|
278
|
+
'cron.time.joinedHourlyAt': string;
|
|
279
|
+
'cron.time.hoursEveryMinute': string;
|
|
280
|
+
'cron.time.hoursEveryMinutes': string;
|
|
281
|
+
'cron.time.at': string;
|
|
282
|
+
'cron.time.hoursAt': string;
|
|
283
|
+
'frequency.weekday.join': string;
|
|
284
|
+
'frequency.weekday.1': string;
|
|
285
|
+
'frequency.weekday.2': string;
|
|
286
|
+
'frequency.weekday.3': string;
|
|
287
|
+
'frequency.weekday.4': string;
|
|
288
|
+
'frequency.weekday.5': string;
|
|
289
|
+
'frequency.weekday.6': string;
|
|
290
|
+
'frequency.weekday.7': string;
|
|
291
|
+
'unit.day.one': string;
|
|
292
|
+
'unit.day.other': string;
|
|
293
|
+
'unit.hour.one': string;
|
|
294
|
+
'unit.hour.other': string;
|
|
295
|
+
'unit.minute.one': string;
|
|
296
|
+
'unit.minute.other': string;
|
|
297
|
+
'unit.second.one': string;
|
|
298
|
+
'unit.second.other': string;
|
|
299
|
+
'relative.now': string;
|
|
300
|
+
'relative.future': string;
|
|
301
|
+
'relative.overdue': string;
|
|
302
|
+
'frequency.hostMonthly': string;
|
|
303
|
+
'frequency.hostDailyInterval': string;
|
|
304
|
+
'frequency.hostWeeklyInterval': string;
|
|
305
|
+
'frequency.hostMonthlyInterval': string;
|
|
306
|
+
'frequency.hostZone': string;
|
|
307
|
+
'frequency.hostCustom': string;
|
|
308
|
+
'trigger.label': string;
|
|
309
|
+
'list.loading': string;
|
|
310
|
+
'list.error': string;
|
|
311
|
+
'list.retry': string;
|
|
312
|
+
'delete.action': string;
|
|
313
|
+
'delete.pending': string;
|
|
314
|
+
'delete.label': string;
|
|
315
|
+
'list.open': string;
|
|
316
|
+
'trigger.one': string;
|
|
317
|
+
'trigger.other': string;
|
|
318
|
+
'list.aria': string;
|
|
319
|
+
'list.nextRun': string;
|
|
320
|
+
'frequency.once': string;
|
|
321
|
+
'frequency.every': string;
|
|
322
|
+
};
|
|
323
|
+
/** German dictionary, checked against the English keys. */
|
|
324
|
+
export declare const de: {
|
|
325
|
+
'mark.aria': string;
|
|
326
|
+
'hover.more': string;
|
|
327
|
+
'time.locale': string;
|
|
328
|
+
'time.utcPrefix': string;
|
|
329
|
+
'frequency.daily': string;
|
|
330
|
+
'frequency.dailyLocal': string;
|
|
331
|
+
'frequency.weekly': string;
|
|
332
|
+
'frequency.weeklyLocal': string;
|
|
333
|
+
'frequency.cron': string;
|
|
334
|
+
'frequency.cronLocal': string;
|
|
335
|
+
'frequency.cronRule': string;
|
|
336
|
+
'cron.list.join': string;
|
|
337
|
+
'cron.part.join': string;
|
|
338
|
+
'cron.weekday.name': string;
|
|
339
|
+
'cron.weekday.range': string;
|
|
340
|
+
'cron.months': string;
|
|
341
|
+
'cron.day.every': string;
|
|
342
|
+
'cron.day.weekdays': string;
|
|
343
|
+
'cron.day.monthDays': string;
|
|
344
|
+
'cron.day.both': string;
|
|
345
|
+
'cron.day.bothStarred': string;
|
|
346
|
+
'cron.hours.range': string;
|
|
347
|
+
'cron.hours.list': string;
|
|
348
|
+
'cron.time.everyMinute': string;
|
|
349
|
+
'cron.time.everyMinutes': string;
|
|
350
|
+
'cron.time.joinedEveryMinute': string;
|
|
351
|
+
'cron.time.joinedEveryMinutes': string;
|
|
352
|
+
'cron.time.everyHour': string;
|
|
353
|
+
'cron.time.joinedEveryHour': string;
|
|
354
|
+
'cron.time.everyNHours': string;
|
|
355
|
+
'cron.time.joinedEveryNHours': string;
|
|
356
|
+
'cron.time.hourlyAt': string;
|
|
357
|
+
'cron.time.joinedHourlyAt': string;
|
|
358
|
+
'cron.time.hoursEveryMinute': string;
|
|
359
|
+
'cron.time.hoursEveryMinutes': string;
|
|
360
|
+
'cron.time.at': string;
|
|
361
|
+
'cron.time.hoursAt': string;
|
|
362
|
+
'frequency.weekday.join': string;
|
|
363
|
+
'frequency.weekday.1': string;
|
|
364
|
+
'frequency.weekday.2': string;
|
|
365
|
+
'frequency.weekday.3': string;
|
|
366
|
+
'frequency.weekday.4': string;
|
|
367
|
+
'frequency.weekday.5': string;
|
|
368
|
+
'frequency.weekday.6': string;
|
|
369
|
+
'frequency.weekday.7': string;
|
|
370
|
+
'unit.day.one': string;
|
|
371
|
+
'unit.day.other': string;
|
|
372
|
+
'unit.hour.one': string;
|
|
373
|
+
'unit.hour.other': string;
|
|
374
|
+
'unit.minute.one': string;
|
|
375
|
+
'unit.minute.other': string;
|
|
376
|
+
'unit.second.one': string;
|
|
377
|
+
'unit.second.other': string;
|
|
378
|
+
'relative.now': string;
|
|
379
|
+
'relative.future': string;
|
|
380
|
+
'relative.overdue': string;
|
|
381
|
+
'frequency.hostMonthly': string;
|
|
382
|
+
'frequency.hostDailyInterval': string;
|
|
383
|
+
'frequency.hostWeeklyInterval': string;
|
|
384
|
+
'frequency.hostMonthlyInterval': string;
|
|
385
|
+
'frequency.hostZone': string;
|
|
386
|
+
'frequency.hostCustom': string;
|
|
387
|
+
'trigger.label': string;
|
|
388
|
+
'list.loading': string;
|
|
389
|
+
'list.error': string;
|
|
390
|
+
'list.retry': string;
|
|
391
|
+
'delete.action': string;
|
|
392
|
+
'delete.pending': string;
|
|
393
|
+
'delete.label': string;
|
|
394
|
+
'list.open': string;
|
|
395
|
+
'trigger.one': string;
|
|
396
|
+
'trigger.other': string;
|
|
397
|
+
'list.aria': string;
|
|
398
|
+
'list.nextRun': string;
|
|
399
|
+
'frequency.once': string;
|
|
400
|
+
'frequency.every': string;
|
|
401
|
+
};
|
|
402
|
+
/** Russian dictionary, checked against the English keys. */
|
|
403
|
+
export declare const ru: {
|
|
404
|
+
'mark.aria': string;
|
|
405
|
+
'hover.more': string;
|
|
406
|
+
'time.locale': string;
|
|
407
|
+
'time.utcPrefix': string;
|
|
408
|
+
'frequency.daily': string;
|
|
409
|
+
'frequency.dailyLocal': string;
|
|
410
|
+
'frequency.weekly': string;
|
|
411
|
+
'frequency.weeklyLocal': string;
|
|
412
|
+
'frequency.cron': string;
|
|
413
|
+
'frequency.cronLocal': string;
|
|
414
|
+
'frequency.cronRule': string;
|
|
415
|
+
'cron.list.join': string;
|
|
416
|
+
'cron.part.join': string;
|
|
417
|
+
'cron.weekday.name': string;
|
|
418
|
+
'cron.weekday.range': string;
|
|
419
|
+
'cron.months': string;
|
|
420
|
+
'cron.day.every': string;
|
|
421
|
+
'cron.day.weekdays': string;
|
|
422
|
+
'cron.day.monthDays': string;
|
|
423
|
+
'cron.day.both': string;
|
|
424
|
+
'cron.day.bothStarred': string;
|
|
425
|
+
'cron.hours.range': string;
|
|
426
|
+
'cron.hours.list': string;
|
|
427
|
+
'cron.time.everyMinute': string;
|
|
428
|
+
'cron.time.everyMinutes': string;
|
|
429
|
+
'cron.time.joinedEveryMinute': string;
|
|
430
|
+
'cron.time.joinedEveryMinutes': string;
|
|
431
|
+
'cron.time.everyHour': string;
|
|
432
|
+
'cron.time.joinedEveryHour': string;
|
|
433
|
+
'cron.time.everyNHours': string;
|
|
434
|
+
'cron.time.joinedEveryNHours': string;
|
|
435
|
+
'cron.time.hourlyAt': string;
|
|
436
|
+
'cron.time.joinedHourlyAt': string;
|
|
437
|
+
'cron.time.hoursEveryMinute': string;
|
|
438
|
+
'cron.time.hoursEveryMinutes': string;
|
|
439
|
+
'cron.time.at': string;
|
|
440
|
+
'cron.time.hoursAt': string;
|
|
441
|
+
'frequency.weekday.join': string;
|
|
442
|
+
'frequency.weekday.1': string;
|
|
443
|
+
'frequency.weekday.2': string;
|
|
444
|
+
'frequency.weekday.3': string;
|
|
445
|
+
'frequency.weekday.4': string;
|
|
446
|
+
'frequency.weekday.5': string;
|
|
447
|
+
'frequency.weekday.6': string;
|
|
448
|
+
'frequency.weekday.7': string;
|
|
449
|
+
'unit.day.one': string;
|
|
450
|
+
'unit.day.other': string;
|
|
451
|
+
'unit.hour.one': string;
|
|
452
|
+
'unit.hour.other': string;
|
|
453
|
+
'unit.minute.one': string;
|
|
454
|
+
'unit.minute.other': string;
|
|
455
|
+
'unit.second.one': string;
|
|
456
|
+
'unit.second.other': string;
|
|
457
|
+
'relative.now': string;
|
|
458
|
+
'relative.future': string;
|
|
459
|
+
'relative.overdue': string;
|
|
460
|
+
'frequency.hostMonthly': string;
|
|
461
|
+
'frequency.hostDailyInterval': string;
|
|
462
|
+
'frequency.hostWeeklyInterval': string;
|
|
463
|
+
'frequency.hostMonthlyInterval': string;
|
|
464
|
+
'frequency.hostZone': string;
|
|
465
|
+
'frequency.hostCustom': string;
|
|
466
|
+
'trigger.label': string;
|
|
467
|
+
'list.loading': string;
|
|
468
|
+
'list.error': string;
|
|
469
|
+
'list.retry': string;
|
|
470
|
+
'delete.action': string;
|
|
471
|
+
'delete.pending': string;
|
|
472
|
+
'delete.label': string;
|
|
473
|
+
'list.open': string;
|
|
474
|
+
'trigger.one': string;
|
|
475
|
+
'trigger.other': string;
|
|
476
|
+
'list.aria': string;
|
|
477
|
+
'list.nextRun': string;
|
|
478
|
+
'frequency.once': string;
|
|
479
|
+
'frequency.every': string;
|
|
480
|
+
};
|
|
481
|
+
/** Portuguese dictionary, checked against the English keys. */
|
|
482
|
+
export declare const pt: {
|
|
483
|
+
'mark.aria': string;
|
|
484
|
+
'hover.more': string;
|
|
485
|
+
'time.locale': string;
|
|
486
|
+
'time.utcPrefix': string;
|
|
487
|
+
'frequency.daily': string;
|
|
488
|
+
'frequency.dailyLocal': string;
|
|
489
|
+
'frequency.weekly': string;
|
|
490
|
+
'frequency.weeklyLocal': string;
|
|
491
|
+
'frequency.cron': string;
|
|
492
|
+
'frequency.cronLocal': string;
|
|
493
|
+
'frequency.cronRule': string;
|
|
494
|
+
'cron.list.join': string;
|
|
495
|
+
'cron.part.join': string;
|
|
496
|
+
'cron.weekday.name': string;
|
|
497
|
+
'cron.weekday.range': string;
|
|
498
|
+
'cron.months': string;
|
|
499
|
+
'cron.day.every': string;
|
|
500
|
+
'cron.day.weekdays': string;
|
|
501
|
+
'cron.day.monthDays': string;
|
|
502
|
+
'cron.day.both': string;
|
|
503
|
+
'cron.day.bothStarred': string;
|
|
504
|
+
'cron.hours.range': string;
|
|
505
|
+
'cron.hours.list': string;
|
|
506
|
+
'cron.time.everyMinute': string;
|
|
507
|
+
'cron.time.everyMinutes': string;
|
|
508
|
+
'cron.time.joinedEveryMinute': string;
|
|
509
|
+
'cron.time.joinedEveryMinutes': string;
|
|
510
|
+
'cron.time.everyHour': string;
|
|
511
|
+
'cron.time.joinedEveryHour': string;
|
|
512
|
+
'cron.time.everyNHours': string;
|
|
513
|
+
'cron.time.joinedEveryNHours': string;
|
|
514
|
+
'cron.time.hourlyAt': string;
|
|
515
|
+
'cron.time.joinedHourlyAt': string;
|
|
516
|
+
'cron.time.hoursEveryMinute': string;
|
|
517
|
+
'cron.time.hoursEveryMinutes': string;
|
|
518
|
+
'cron.time.at': string;
|
|
519
|
+
'cron.time.hoursAt': string;
|
|
520
|
+
'frequency.weekday.join': string;
|
|
521
|
+
'frequency.weekday.1': string;
|
|
522
|
+
'frequency.weekday.2': string;
|
|
523
|
+
'frequency.weekday.3': string;
|
|
524
|
+
'frequency.weekday.4': string;
|
|
525
|
+
'frequency.weekday.5': string;
|
|
526
|
+
'frequency.weekday.6': string;
|
|
527
|
+
'frequency.weekday.7': string;
|
|
528
|
+
'unit.day.one': string;
|
|
529
|
+
'unit.day.other': string;
|
|
530
|
+
'unit.hour.one': string;
|
|
531
|
+
'unit.hour.other': string;
|
|
532
|
+
'unit.minute.one': string;
|
|
533
|
+
'unit.minute.other': string;
|
|
534
|
+
'unit.second.one': string;
|
|
535
|
+
'unit.second.other': string;
|
|
536
|
+
'relative.now': string;
|
|
537
|
+
'relative.future': string;
|
|
538
|
+
'relative.overdue': string;
|
|
539
|
+
'frequency.hostMonthly': string;
|
|
540
|
+
'frequency.hostDailyInterval': string;
|
|
541
|
+
'frequency.hostWeeklyInterval': string;
|
|
542
|
+
'frequency.hostMonthlyInterval': string;
|
|
543
|
+
'frequency.hostZone': string;
|
|
544
|
+
'frequency.hostCustom': string;
|
|
545
|
+
'trigger.label': string;
|
|
546
|
+
'list.loading': string;
|
|
547
|
+
'list.error': string;
|
|
548
|
+
'list.retry': string;
|
|
549
|
+
'delete.action': string;
|
|
550
|
+
'delete.pending': string;
|
|
551
|
+
'delete.label': string;
|
|
552
|
+
'list.open': string;
|
|
553
|
+
'trigger.one': string;
|
|
554
|
+
'trigger.other': string;
|
|
555
|
+
'list.aria': string;
|
|
556
|
+
'list.nextRun': string;
|
|
557
|
+
'frequency.once': string;
|
|
558
|
+
'frequency.every': string;
|
|
559
|
+
};
|
|
80
560
|
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -19,8 +19,14 @@ export declare const RELATIVE_CLOCK_PERIOD_MS = 30000;
|
|
|
19
19
|
* `Date.now()` and then a one-second interval while its popover is open, and the
|
|
20
20
|
* Sidebar Session-row hover card samples `Date.now()` once per mount, because
|
|
21
21
|
* that preview must not drift while the pointer rests on it.
|
|
22
|
+
*
|
|
23
|
+
* A state that ends between two periods, such as the delivery floor that holds
|
|
24
|
+
* Run now, passes its end as `wakeAt` so the clock samples it then instead of
|
|
25
|
+
* up to one period late.
|
|
22
26
|
* @param periodMs - refresh period; defaults to {@link RELATIVE_CLOCK_PERIOD_MS}.
|
|
23
|
-
* @
|
|
27
|
+
* @param wakeAt - epoch milliseconds of one extra sample; an instant already past samples at once.
|
|
28
|
+
* An instant beyond the timer limit, about 24.8 days ahead, is left to the period.
|
|
29
|
+
* @returns epoch milliseconds, updated once per period and at `wakeAt`.
|
|
24
30
|
*/
|
|
25
|
-
export declare function useRelativeClock(periodMs?: number): number;
|
|
31
|
+
export declare function useRelativeClock(periodMs?: number, wakeAt?: number): number;
|
|
26
32
|
//# sourceMappingURL=relative-clock.d.ts.map
|
|
@@ -6,7 +6,7 @@ type TimeUnit = 'day' | 'hour' | 'minute' | 'second';
|
|
|
6
6
|
type UnitKey = `unit.${TimeUnit}.${'one' | 'other'}`;
|
|
7
7
|
type WeekdayKey = `frequency.weekday.${1 | 2 | 3 | 4 | 5 | 6 | 7}`;
|
|
8
8
|
/** Dictionary keys required to display exact reminder frequencies. */
|
|
9
|
-
export type FrequencyKey = 'time.locale' | 'time.utcPrefix' | 'frequency.once' | 'frequency.every' | 'frequency.daily' | 'frequency.dailyLocal' | 'frequency.weekly' | 'frequency.weeklyLocal' | 'frequency.cron' | 'frequency.cronLocal' | 'frequency.cronRule' | 'frequency.weekday.join' | WeekdayKey | UnitKey | CronDescriptionKey;
|
|
9
|
+
export type FrequencyKey = 'frequency.hostMonthly' | 'frequency.hostDailyInterval' | 'frequency.hostWeeklyInterval' | 'frequency.hostMonthlyInterval' | 'frequency.hostZone' | 'frequency.hostCustom' | 'time.locale' | 'time.utcPrefix' | 'frequency.once' | 'frequency.every' | 'frequency.daily' | 'frequency.dailyLocal' | 'frequency.weekly' | 'frequency.weeklyLocal' | 'frequency.cron' | 'frequency.cronLocal' | 'frequency.cronRule' | 'frequency.weekday.join' | WeekdayKey | UnitKey | CronDescriptionKey;
|
|
10
10
|
/** Namespace-independent translator for reminder frequencies and time units. */
|
|
11
11
|
export type FrequencyTranslator = Translate<FrequencyKey>;
|
|
12
12
|
/** Dictionary keys required to localize a zone and mark the host's zone. */
|
|
@@ -90,9 +90,8 @@ export declare function recordTimeZone(record: ScheduleRecord): string | undefin
|
|
|
90
90
|
* Format exact intervals or wall-clock rules without changing their precision or zone.
|
|
91
91
|
*
|
|
92
92
|
* A cron rule reads as the sentence `cronPreview` derives from its expression,
|
|
93
|
-
* for example `Every day at 09:00, 15:00`.
|
|
94
|
-
*
|
|
95
|
-
* when the Host's dialect and this parser diverge.
|
|
93
|
+
* for example `Every day at 09:00, 15:00`. Other rules read as Custom;
|
|
94
|
+
* their authoritative expression remains available in the editor.
|
|
96
95
|
* @param record - reminder whose kind and stored rule determine its frequency.
|
|
97
96
|
* @param t - frequency, weekday, and unit translations, independent of the catalog namespace.
|
|
98
97
|
* @param zone - host-zone context; when present, a stored zone equal to `zone.system` is omitted
|
|
@@ -141,6 +140,18 @@ export declare function formatScheduleNextRun(scheduledAt: string, locale: strin
|
|
|
141
140
|
* @returns the localized absolute next run in the device zone, or the raw instant when it cannot be parsed.
|
|
142
141
|
*/
|
|
143
142
|
export declare function formatScheduleAbsolute(scheduledAt: string, locale: string): string;
|
|
143
|
+
/**
|
|
144
|
+
* Format the instant a held action becomes available, in this device's zone.
|
|
145
|
+
*
|
|
146
|
+
* A delivery floor lasts from one minute to one week, so the clock reads to the
|
|
147
|
+
* second and the month and day appear only for another day: `15:51:37` today,
|
|
148
|
+
* and `Oct 20, 15:51:37` in English or `10月20日 15:51:37` in Chinese otherwise.
|
|
149
|
+
* @param at - epoch milliseconds when the action becomes available.
|
|
150
|
+
* @param locale - BCP-47 locale owning the month name, field order, and clock.
|
|
151
|
+
* @param now - current epoch milliseconds.
|
|
152
|
+
* @returns the localized clock time, with the month and day when `at` falls on another day.
|
|
153
|
+
*/
|
|
154
|
+
export declare function formatAvailableAt(at: number, locale: string, now: number): string;
|
|
144
155
|
/**
|
|
145
156
|
* One next-run line as its two texts: the device-zone stamp and the distance.
|
|
146
157
|
*
|
|
@@ -172,6 +183,6 @@ export declare function formatScheduleRelative(scheduledAt: string, now: number,
|
|
|
172
183
|
* @param now - current epoch milliseconds used to identify overdue targets.
|
|
173
184
|
* @returns sorted copy preserving input order for equal targets.
|
|
174
185
|
*/
|
|
175
|
-
export declare function orderScheduleRecords(records: readonly
|
|
186
|
+
export declare function orderScheduleRecords<T extends ScheduleRecord>(records: readonly T[], now: number): T[];
|
|
176
187
|
export {};
|
|
177
188
|
//# sourceMappingURL=schedule-format.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Original-Session link
|
|
1
|
+
/** Original-Session link availability from the current public Session and Workspace feeds. */
|
|
2
2
|
import type { SessionListState } from '@deepseek-ai/dsh-api-session-controller/client';
|
|
3
3
|
import type { WorkspaceSnapshot } from '@deepseek-ai/dsh-api-workspace-controller/client';
|
|
4
4
|
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
@@ -17,25 +17,4 @@ export type SessionLinkState = 'available' | 'loading' | 'archived' | 'unavailab
|
|
|
17
17
|
* @returns availability or the reason navigation is disabled.
|
|
18
18
|
*/
|
|
19
19
|
export declare function sessionLinkState(id: SessionId, sessions: SessionListState, workspaces: WorkspaceSnapshot): SessionLinkState;
|
|
20
|
-
/** Label one linked Session shows, and whether a Session title produced it. */
|
|
21
|
-
export interface SessionLabel {
|
|
22
|
-
/** Session title from the current catalog, otherwise the Session id. */
|
|
23
|
-
readonly text: string;
|
|
24
|
-
/** Whether a catalog title produced {@link SessionLabel.text}; false when the id is shown instead. */
|
|
25
|
-
readonly titled: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Resolve the label of one linked Session from the Session catalog the calling
|
|
29
|
-
* component already projects.
|
|
30
|
-
*
|
|
31
|
-
* A catalog title renders as-is; the Session id renders while the catalog holds
|
|
32
|
-
* no row for the Session (missing or not yet loaded) or its row carries a blank
|
|
33
|
-
* title, so the label is never empty. Every surface that names a linked Session
|
|
34
|
-
* resolves the label here, so the Automation tasks rows, the task detail, and the
|
|
35
|
-
* task tab all name the same Session the same way.
|
|
36
|
-
* @param id - Original Session bound to the task.
|
|
37
|
-
* @param sessions - Current Session list projection.
|
|
38
|
-
* @returns the resolved label and whether a catalog title produced it.
|
|
39
|
-
*/
|
|
40
|
-
export declare function sessionLabel(id: SessionId, sessions: SessionListState): SessionLabel;
|
|
41
20
|
//# sourceMappingURL=session-link.d.ts.map
|