dsh-lowtide 0.2.3 → 0.2.5
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/LICENSE +21 -21
- package/lib/client.js +386 -273
- package/lib/client.js.map +1 -1
- package/lib/index.js +93 -31
- package/lib/types/client/i18n.d.ts +6 -0
- package/lib/types/client/store.d.ts +1 -0
- package/lib/types/src/runner.d.ts +3 -1
- package/lib/types/src/scheduler.d.ts +13 -7
- package/lib/types/src/store.d.ts +1 -0
- package/package.json +16 -16
package/lib/client.js
CHANGED
|
@@ -297,6 +297,12 @@ window.__ModuleLoader__.load({
|
|
|
297
297
|
"settings.batchTitle": "闲时运行窗口",
|
|
298
298
|
"settings.start": "开始",
|
|
299
299
|
"settings.end": "结束",
|
|
300
|
+
"settings.batchWindowList": "运行时段(可添加多个)",
|
|
301
|
+
"settings.addBatchWindow": "+ 添加窗口",
|
|
302
|
+
"settings.batchWindowsHint": "每个窗口每天各自动开跑一批;例如中午一段、晚上一段。",
|
|
303
|
+
"settings.batchWindowOverlap": "提示:有窗口时间重叠,重叠时段内已跑过的任务不会重复执行。",
|
|
304
|
+
"settings.batchWindowInvalid": "运行窗口时间不完整或格式不对",
|
|
305
|
+
"settings.batchWindowMin": "至少保留一个运行窗口",
|
|
300
306
|
"settings.tz": "时区(留空=你的本地时间)",
|
|
301
307
|
"settings.gateLeadMin": "提前提醒(分钟)",
|
|
302
308
|
"settings.maxTasksPerNight": "每批任务上限",
|
|
@@ -625,6 +631,12 @@ window.__ModuleLoader__.load({
|
|
|
625
631
|
"settings.batchTitle": "Off-peak run window",
|
|
626
632
|
"settings.start": "Start",
|
|
627
633
|
"settings.end": "End",
|
|
634
|
+
"settings.batchWindowList": "Run windows (add as many as needed)",
|
|
635
|
+
"settings.addBatchWindow": "+ Add window",
|
|
636
|
+
"settings.batchWindowsHint": "Each window runs one batch per day — e.g. a noon slot and an evening slot.",
|
|
637
|
+
"settings.batchWindowOverlap": "Note: some windows overlap; tasks already run inside the overlap are not re-run.",
|
|
638
|
+
"settings.batchWindowInvalid": "A run window time is missing or invalid",
|
|
639
|
+
"settings.batchWindowMin": "At least one run window is required",
|
|
628
640
|
"settings.tz": "Timezone (empty = your local time)",
|
|
629
641
|
"settings.gateLeadMin": "Lead time (min)",
|
|
630
642
|
"settings.maxTasksPerNight": "Max tasks per batch",
|
|
@@ -680,8 +692,8 @@ window.__ModuleLoader__.load({
|
|
|
680
692
|
}
|
|
681
693
|
};
|
|
682
694
|
//#endregion
|
|
683
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
684
|
-
const css$13 = ".
|
|
695
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\atoms.module.css.mjs
|
|
696
|
+
const css$13 = ".CtzV7G_money,.CtzV7G_countdown{font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums;font-size:inherit;line-height:inherit}.CtzV7G_modelBadge{border:1px solid var(--dsw-alias-border-l3);color:var(--dsw-alias-label-secondary);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:4px;flex:none;align-items:center;gap:2px;padding:1px 6px;font-size:11px;line-height:16px;display:inline-flex}.CtzV7G_modelBadgeUnknown{border-color:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-state-warn-primary)}.CtzV7G_modelBadgeQ{font-weight:600}";
|
|
685
697
|
const tagId$13 = "dsh-lowtide/atoms.module.css";
|
|
686
698
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$13) + "]") === null) {
|
|
687
699
|
const tag = document.createElement("style");
|
|
@@ -691,11 +703,11 @@ window.__ModuleLoader__.load({
|
|
|
691
703
|
document.head.appendChild(tag);
|
|
692
704
|
}
|
|
693
705
|
var atoms_module_css_default = {
|
|
694
|
-
"
|
|
695
|
-
"
|
|
696
|
-
"
|
|
697
|
-
"modelBadgeQ": "
|
|
698
|
-
"
|
|
706
|
+
"money": "CtzV7G_money",
|
|
707
|
+
"countdown": "CtzV7G_countdown",
|
|
708
|
+
"modelBadgeUnknown": "CtzV7G_modelBadgeUnknown",
|
|
709
|
+
"modelBadgeQ": "CtzV7G_modelBadgeQ",
|
|
710
|
+
"modelBadge": "CtzV7G_modelBadge"
|
|
699
711
|
};
|
|
700
712
|
//#endregion
|
|
701
713
|
//#region client/components/atoms.tsx
|
|
@@ -1431,7 +1443,7 @@ window.__ModuleLoader__.load({
|
|
|
1431
1443
|
function systemTimeZone() {
|
|
1432
1444
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
1433
1445
|
}
|
|
1434
|
-
function minutesOf$
|
|
1446
|
+
function minutesOf$2(hhmm) {
|
|
1435
1447
|
const match = /^(\d{1,2}):(\d{2})$/.exec(hhmm);
|
|
1436
1448
|
if (match === null) throw new Error(`invalid HH:MM time "${hhmm}"`);
|
|
1437
1449
|
const h = Number(match[1]);
|
|
@@ -1506,7 +1518,7 @@ window.__ModuleLoader__.load({
|
|
|
1506
1518
|
for (const window of windows) {
|
|
1507
1519
|
const { minutes, weekday } = localParts(when, window.tz ?? defaultTz);
|
|
1508
1520
|
if (!matchesDays(window.days, weekday)) continue;
|
|
1509
|
-
if (inRange(minutes, minutesOf$
|
|
1521
|
+
if (inRange(minutes, minutesOf$2(window.start), minutesOf$2(window.end))) return {
|
|
1510
1522
|
level: window.level,
|
|
1511
1523
|
multiplier: window.multiplier ?? DEFAULT_MULTIPLIER[window.level],
|
|
1512
1524
|
window
|
|
@@ -1534,8 +1546,8 @@ window.__ModuleLoader__.load({
|
|
|
1534
1546
|
const probe = addDaysInTz(when, tz, day);
|
|
1535
1547
|
const { minutes, weekday } = localParts(probe, tz);
|
|
1536
1548
|
if (!matchesDays(window.days, weekday)) continue;
|
|
1537
|
-
const start = minutesOf$
|
|
1538
|
-
const end = minutesOf$
|
|
1549
|
+
const start = minutesOf$2(window.start);
|
|
1550
|
+
const end = minutesOf$2(window.end);
|
|
1539
1551
|
const boundaries = end === start ? [start] : [start, end];
|
|
1540
1552
|
for (const boundary of boundaries) {
|
|
1541
1553
|
const candidate = new Date(probe.getTime() + (boundary - minutes) * 6e4);
|
|
@@ -2157,8 +2169,8 @@ window.__ModuleLoader__.load({
|
|
|
2157
2169
|
} catch {}
|
|
2158
2170
|
}
|
|
2159
2171
|
//#endregion
|
|
2160
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
2161
|
-
const css$12 = ".
|
|
2172
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\PriceBand.module.css.mjs
|
|
2173
|
+
const css$12 = ".DBqEla_bandWrap{flex-direction:column;gap:2px;display:flex}.DBqEla_bandAxis{justify-content:space-between;padding:0 2px;display:flex}.DBqEla_bandAxisLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}.DBqEla_band{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);border-radius:8px;gap:1px;height:32px;padding:4px;display:flex}.DBqEla_bandCell{border-radius:2px;flex:1}.DBqEla_bandPeak{background:var(--dsw-alias-state-error-primary);opacity:.85}.DBqEla_bandOff{background:var(--dsw-alias-state-success-primary);opacity:.85}.DBqEla_bandCustom{background:var(--dsw-alias-state-warn-primary);opacity:.85}.DBqEla_bandNow{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-1px}";
|
|
2162
2174
|
const tagId$12 = "dsh-lowtide/PriceBand.module.css";
|
|
2163
2175
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$12) + "]") === null) {
|
|
2164
2176
|
const tag = document.createElement("style");
|
|
@@ -2168,19 +2180,19 @@ window.__ModuleLoader__.load({
|
|
|
2168
2180
|
document.head.appendChild(tag);
|
|
2169
2181
|
}
|
|
2170
2182
|
var PriceBand_module_css_default = {
|
|
2171
|
-
"
|
|
2172
|
-
"
|
|
2173
|
-
"
|
|
2174
|
-
"
|
|
2175
|
-
"
|
|
2176
|
-
"
|
|
2177
|
-
"
|
|
2178
|
-
"
|
|
2179
|
-
"
|
|
2183
|
+
"bandOff": "DBqEla_bandOff",
|
|
2184
|
+
"bandAxisLabel": "DBqEla_bandAxisLabel",
|
|
2185
|
+
"bandWrap": "DBqEla_bandWrap",
|
|
2186
|
+
"bandAxis": "DBqEla_bandAxis",
|
|
2187
|
+
"bandPeak": "DBqEla_bandPeak",
|
|
2188
|
+
"band": "DBqEla_band",
|
|
2189
|
+
"bandCell": "DBqEla_bandCell",
|
|
2190
|
+
"bandNow": "DBqEla_bandNow",
|
|
2191
|
+
"bandCustom": "DBqEla_bandCustom"
|
|
2180
2192
|
};
|
|
2181
2193
|
//#endregion
|
|
2182
2194
|
//#region client/components/PriceBand.tsx
|
|
2183
|
-
function minutesOf(hhmm) {
|
|
2195
|
+
function minutesOf$1(hhmm) {
|
|
2184
2196
|
const match = /^(\d{1,2}):(\d{2})$/.exec(hhmm);
|
|
2185
2197
|
if (match === null) return NaN;
|
|
2186
2198
|
const h = Number(match[1]);
|
|
@@ -2194,8 +2206,8 @@ window.__ModuleLoader__.load({
|
|
|
2194
2206
|
const start = i * 30;
|
|
2195
2207
|
let cls = PriceBand_module_css_default.bandOff;
|
|
2196
2208
|
for (const w of segments) {
|
|
2197
|
-
const ws = minutesOf(w.start);
|
|
2198
|
-
const we = minutesOf(w.end);
|
|
2209
|
+
const ws = minutesOf$1(w.start);
|
|
2210
|
+
const we = minutesOf$1(w.end);
|
|
2199
2211
|
if (Number.isNaN(ws) || Number.isNaN(we)) continue;
|
|
2200
2212
|
if (we > ws ? start >= ws && start < we : start >= ws || start < we) {
|
|
2201
2213
|
cls = w.level === "peak" ? PriceBand_module_css_default.bandPeak : w.level === "custom" ? PriceBand_module_css_default.bandCustom : PriceBand_module_css_default.bandOff;
|
|
@@ -2230,8 +2242,8 @@ window.__ModuleLoader__.load({
|
|
|
2230
2242
|
});
|
|
2231
2243
|
}
|
|
2232
2244
|
//#endregion
|
|
2233
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
2234
|
-
const css$11 = ".
|
|
2245
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\WindowEditorModal.module.css.mjs
|
|
2246
|
+
const css$11 = ".kTArlW_wide{width:min(560px,100%)}.kTArlW_body{flex-direction:column;gap:8px;display:flex}.kTArlW_tzLine{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}.kTArlW_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}.kTArlW_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);border-radius:6px;padding:6px 8px}.kTArlW_empty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:10px 0}.kTArlW_row{align-items:center;gap:6px;display:flex}.kTArlW_input{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);height:32px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:8px;outline:none;padding:0 8px;font-size:13px}.kTArlW_input:focus{border-color:var(--dsw-alias-brand-primary)}.kTArlW_row select.kTArlW_input{font-family:var(--dsw-font-family);flex:0 0 96px}.kTArlW_row input.kTArlW_input{flex:1;min-width:0}.kTArlW_dash{color:var(--dsw-alias-label-tertiary)}.kTArlW_daysBadge{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:nowrap;background:var(--dsw-alias-interactive-bg-hover);border-radius:999px;flex:none;padding:2px 8px}.kTArlW_footer{align-items:center;gap:8px;display:flex}.kTArlW_footerSpacer{flex:1}";
|
|
2235
2247
|
const tagId$11 = "dsh-lowtide/WindowEditorModal.module.css";
|
|
2236
2248
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$11) + "]") === null) {
|
|
2237
2249
|
const tag = document.createElement("style");
|
|
@@ -2241,18 +2253,18 @@ window.__ModuleLoader__.load({
|
|
|
2241
2253
|
document.head.appendChild(tag);
|
|
2242
2254
|
}
|
|
2243
2255
|
var WindowEditorModal_module_css_default = {
|
|
2244
|
-
"
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2247
|
-
"
|
|
2248
|
-
"
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2251
|
-
"
|
|
2252
|
-
"
|
|
2253
|
-
"
|
|
2254
|
-
"
|
|
2255
|
-
"
|
|
2256
|
+
"daysBadge": "kTArlW_daysBadge",
|
|
2257
|
+
"input": "kTArlW_input",
|
|
2258
|
+
"dash": "kTArlW_dash",
|
|
2259
|
+
"error": "kTArlW_error",
|
|
2260
|
+
"footer": "kTArlW_footer",
|
|
2261
|
+
"empty": "kTArlW_empty",
|
|
2262
|
+
"tzLine": "kTArlW_tzLine",
|
|
2263
|
+
"hint": "kTArlW_hint",
|
|
2264
|
+
"footerSpacer": "kTArlW_footerSpacer",
|
|
2265
|
+
"row": "kTArlW_row",
|
|
2266
|
+
"body": "kTArlW_body",
|
|
2267
|
+
"wide": "kTArlW_wide"
|
|
2256
2268
|
};
|
|
2257
2269
|
//#endregion
|
|
2258
2270
|
//#region client/components/WindowEditorModal.tsx
|
|
@@ -2527,8 +2539,8 @@ window.__ModuleLoader__.load({
|
|
|
2527
2539
|
});
|
|
2528
2540
|
}
|
|
2529
2541
|
//#endregion
|
|
2530
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
2531
|
-
const css$10 = ".
|
|
2542
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\PricePill.module.css.mjs
|
|
2543
|
+
const css$10 = "._7C61wa_pill{cursor:pointer;align-items:center;gap:6px;display:inline-flex}._7C61wa_dot{display:inline-flex}._7C61wa_pillStale ._7C61wa_label{color:var(--dsw-alias-label-tertiary)}._7C61wa_label{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}._7C61wa_count{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums}._7C61wa_queueIcon{color:var(--dsw-alias-label-tertiary)}._7C61wa_badge{background:var(--dsw-alias-state-warn-primary);border-radius:999px;width:6px;height:6px}._7C61wa_saved{color:var(--dsw-alias-state-success-primary)}";
|
|
2532
2544
|
const tagId$10 = "dsh-lowtide/PricePill.module.css";
|
|
2533
2545
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$10) + "]") === null) {
|
|
2534
2546
|
const tag = document.createElement("style");
|
|
@@ -2538,14 +2550,14 @@ window.__ModuleLoader__.load({
|
|
|
2538
2550
|
document.head.appendChild(tag);
|
|
2539
2551
|
}
|
|
2540
2552
|
var PricePill_module_css_default = {
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2543
|
-
"
|
|
2544
|
-
"
|
|
2545
|
-
"
|
|
2546
|
-
"
|
|
2547
|
-
"
|
|
2548
|
-
"
|
|
2553
|
+
"queueIcon": "_7C61wa_queueIcon",
|
|
2554
|
+
"badge": "_7C61wa_badge",
|
|
2555
|
+
"pill": "_7C61wa_pill",
|
|
2556
|
+
"dot": "_7C61wa_dot",
|
|
2557
|
+
"count": "_7C61wa_count",
|
|
2558
|
+
"saved": "_7C61wa_saved",
|
|
2559
|
+
"label": "_7C61wa_label",
|
|
2560
|
+
"pillStale": "_7C61wa_pillStale"
|
|
2549
2561
|
};
|
|
2550
2562
|
//#endregion
|
|
2551
2563
|
//#region client/components/PricePill.tsx
|
|
@@ -2714,8 +2726,8 @@ window.__ModuleLoader__.load({
|
|
|
2714
2726
|
}
|
|
2715
2727
|
}
|
|
2716
2728
|
//#endregion
|
|
2717
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
2718
|
-
const css$9 = ".
|
|
2729
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\TaskForm.module.css.mjs
|
|
2730
|
+
const css$9 = ".IueeoG_modal{flex-direction:column;gap:10px;display:flex}.IueeoG_compact{flex-direction:column;gap:8px;display:flex}.IueeoG_prompt{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-base-16);resize:vertical;border-radius:8px;outline:none;padding:8px 12px}.IueeoG_prompt:focus{border-color:var(--dsw-alias-brand-primary)}.IueeoG_guidanceInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);resize:vertical;border-radius:8px;outline:none;padding:6px 10px}.IueeoG_guidanceInput:focus{border-color:var(--dsw-alias-brand-primary)}.IueeoG_field{flex-direction:column;gap:4px;display:flex}.IueeoG_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}.IueeoG_fieldInput{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;height:32px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:8px;outline:none;padding:0 8px;font-size:12px}.IueeoG_fieldInput:focus{border-color:var(--dsw-alias-brand-primary)}.IueeoG_compactRow{align-items:center;gap:8px;display:flex}.IueeoG_compactLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);white-space:nowrap}.IueeoG_compactInput{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);height:28px;color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);border-radius:6px;outline:none;flex:1;padding:0 8px;font-size:12px}.IueeoG_compactInput:focus{border-color:var(--dsw-alias-brand-primary)}.IueeoG_warning{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);align-items:center;gap:4px;display:inline-flex}.IueeoG_warningIcon{color:var(--dsw-alias-state-warn-primary)}.IueeoG_pillRow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.IueeoG_autonomyBtn{display:inline-flex}.IueeoG_sessionPickRow{flex-direction:column;gap:6px;display:flex}.IueeoG_strategyPill{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;user-select:none;border-radius:999px;align-items:center;gap:4px;padding:4px 12px;display:inline-flex}.IueeoG_strategyPill:hover{background:var(--dsw-alias-interactive-bg-hover)}.IueeoG_strategyActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}.IueeoG_costTag{color:var(--dsw-alias-label-tertiary);margin-left:2px;font-size:10px;font-weight:400}.IueeoG_strategyHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}.IueeoG_advancedBtn{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;background:0 0;border-radius:8px;align-self:flex-start;align-items:center;gap:6px;padding:5px 12px;display:inline-flex}.IueeoG_advancedBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.IueeoG_advancedBody{flex-direction:column;gap:12px;display:flex}.IueeoG_advancedIcon{vertical-align:-2px;color:var(--dsw-alias-label-tertiary);margin-right:5px}.IueeoG_modelFallbackRow{grid-template-columns:1fr 1fr;gap:8px;display:grid}";
|
|
2719
2731
|
const tagId$9 = "dsh-lowtide/TaskForm.module.css";
|
|
2720
2732
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$9) + "]") === null) {
|
|
2721
2733
|
const tag = document.createElement("style");
|
|
@@ -2725,29 +2737,29 @@ window.__ModuleLoader__.load({
|
|
|
2725
2737
|
document.head.appendChild(tag);
|
|
2726
2738
|
}
|
|
2727
2739
|
var TaskForm_module_css_default = {
|
|
2728
|
-
"
|
|
2729
|
-
"
|
|
2730
|
-
"
|
|
2731
|
-
"
|
|
2732
|
-
"
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2735
|
-
"
|
|
2736
|
-
"
|
|
2737
|
-
"
|
|
2738
|
-
"
|
|
2739
|
-
"
|
|
2740
|
-
"
|
|
2741
|
-
"
|
|
2742
|
-
"
|
|
2743
|
-
"
|
|
2744
|
-
"
|
|
2745
|
-
"
|
|
2746
|
-
"
|
|
2747
|
-
"modelFallbackRow": "
|
|
2748
|
-
"
|
|
2749
|
-
"
|
|
2750
|
-
"
|
|
2740
|
+
"warningIcon": "IueeoG_warningIcon",
|
|
2741
|
+
"guidanceInput": "IueeoG_guidanceInput",
|
|
2742
|
+
"fieldInput": "IueeoG_fieldInput",
|
|
2743
|
+
"compact": "IueeoG_compact",
|
|
2744
|
+
"strategyPill": "IueeoG_strategyPill",
|
|
2745
|
+
"fieldLabel": "IueeoG_fieldLabel",
|
|
2746
|
+
"field": "IueeoG_field",
|
|
2747
|
+
"prompt": "IueeoG_prompt",
|
|
2748
|
+
"modal": "IueeoG_modal",
|
|
2749
|
+
"compactRow": "IueeoG_compactRow",
|
|
2750
|
+
"costTag": "IueeoG_costTag",
|
|
2751
|
+
"strategyHint": "IueeoG_strategyHint",
|
|
2752
|
+
"advancedBtn": "IueeoG_advancedBtn",
|
|
2753
|
+
"advancedBody": "IueeoG_advancedBody",
|
|
2754
|
+
"advancedIcon": "IueeoG_advancedIcon",
|
|
2755
|
+
"warning": "IueeoG_warning",
|
|
2756
|
+
"pillRow": "IueeoG_pillRow",
|
|
2757
|
+
"sessionPickRow": "IueeoG_sessionPickRow",
|
|
2758
|
+
"strategyActive": "IueeoG_strategyActive",
|
|
2759
|
+
"modelFallbackRow": "IueeoG_modelFallbackRow",
|
|
2760
|
+
"compactInput": "IueeoG_compactInput",
|
|
2761
|
+
"autonomyBtn": "IueeoG_autonomyBtn",
|
|
2762
|
+
"compactLabel": "IueeoG_compactLabel"
|
|
2751
2763
|
};
|
|
2752
2764
|
//#endregion
|
|
2753
2765
|
//#region client/components/TaskForm.tsx
|
|
@@ -3295,8 +3307,8 @@ window.__ModuleLoader__.load({
|
|
|
3295
3307
|
});
|
|
3296
3308
|
}
|
|
3297
3309
|
//#endregion
|
|
3298
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
3299
|
-
const css$8 = ".
|
|
3310
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\InterceptCard.module.css.mjs
|
|
3311
|
+
const css$8 = "._1uv9Ta_card{background:var(--dsw-specific-input-major);border:1px solid var(--dsw-alias-border-l2-darkmode-thin);box-shadow:var(--dsw-shadow-lv2);border-radius:22px;flex-direction:column;gap:8px;padding:16px 20px;display:flex}._1uv9Ta_header{justify-content:space-between;align-items:center;gap:8px;display:flex}._1uv9Ta_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-strong-14);align-items:center;gap:6px;display:inline-flex}._1uv9Ta_dot{display:inline-flex}._1uv9Ta_close{width:28px;height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}._1uv9Ta_close:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._1uv9Ta_compare{gap:16px;display:flex}._1uv9Ta_priceLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._1uv9Ta_row{align-items:center;gap:8px;display:flex}._1uv9Ta_dismiss{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;white-space:nowrap;background:0 0;border:none;margin-left:auto;padding:0 4px}._1uv9Ta_dismiss:hover{color:var(--dsw-alias-label-secondary)}._1uv9Ta_queueStatus{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);align-items:center;gap:4px;display:inline-flex}._1uv9Ta_queueIcon{color:var(--dsw-alias-label-tertiary)}";
|
|
3300
3312
|
const tagId$8 = "dsh-lowtide/InterceptCard.module.css";
|
|
3301
3313
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$8) + "]") === null) {
|
|
3302
3314
|
const tag = document.createElement("style");
|
|
@@ -3306,17 +3318,17 @@ window.__ModuleLoader__.load({
|
|
|
3306
3318
|
document.head.appendChild(tag);
|
|
3307
3319
|
}
|
|
3308
3320
|
var InterceptCard_module_css_default = {
|
|
3309
|
-
"
|
|
3310
|
-
"
|
|
3311
|
-
"
|
|
3312
|
-
"
|
|
3313
|
-
"
|
|
3314
|
-
"
|
|
3315
|
-
"
|
|
3316
|
-
"
|
|
3317
|
-
"
|
|
3318
|
-
"
|
|
3319
|
-
"
|
|
3321
|
+
"dismiss": "_1uv9Ta_dismiss",
|
|
3322
|
+
"header": "_1uv9Ta_header",
|
|
3323
|
+
"close": "_1uv9Ta_close",
|
|
3324
|
+
"priceLabel": "_1uv9Ta_priceLabel",
|
|
3325
|
+
"compare": "_1uv9Ta_compare",
|
|
3326
|
+
"card": "_1uv9Ta_card",
|
|
3327
|
+
"dot": "_1uv9Ta_dot",
|
|
3328
|
+
"row": "_1uv9Ta_row",
|
|
3329
|
+
"queueStatus": "_1uv9Ta_queueStatus",
|
|
3330
|
+
"title": "_1uv9Ta_title",
|
|
3331
|
+
"queueIcon": "_1uv9Ta_queueIcon"
|
|
3320
3332
|
};
|
|
3321
3333
|
//#endregion
|
|
3322
3334
|
//#region client/components/InterceptCard.tsx
|
|
@@ -3562,8 +3574,8 @@ window.__ModuleLoader__.load({
|
|
|
3562
3574
|
return "";
|
|
3563
3575
|
}
|
|
3564
3576
|
//#endregion
|
|
3565
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
3566
|
-
const css$7 = ".
|
|
3577
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\TaskRow.module.css.mjs
|
|
3578
|
+
const css$7 = ".qAMb0a_taskRow{border-left:2px solid #0000;border-radius:8px;align-items:center;gap:8px;min-height:36px;padding:4px 5px 4px 12px;display:flex}.qAMb0a_taskRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.qAMb0a_amber{border-left-color:var(--dsw-alias-state-warn-primary)}.qAMb0a_green{border-left-color:var(--dsw-alias-state-success-primary)}.qAMb0a_blue{border-left-color:var(--dsw-alias-state-business-primary)}.qAMb0a_red{border-left-color:var(--dsw-alias-state-error-primary)}.qAMb0a_taskMain{cursor:pointer;flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.qAMb0a_taskMain:hover .qAMb0a_taskPrompt{color:var(--dsw-alias-brand-primary)}.qAMb0a_taskPrompt{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.qAMb0a_taskMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.qAMb0a_rowActions{gap:2px;display:flex}.qAMb0a_iconBtn{width:28px;height:28px;color:var(--dsw-alias-label-secondary);cursor:pointer;background:0 0;border:none;border-radius:999px;font-size:13px}.qAMb0a_iconBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.qAMb0a_iconBtn:disabled{opacity:.4;cursor:not-allowed}.qAMb0a_iconBtn:disabled:hover{color:var(--dsw-alias-label-secondary);background:0 0}.qAMb0a_confirming{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover);font-weight:600}.qAMb0a_confirming:hover{color:var(--dsw-alias-state-error-primary)}.qAMb0a_droppedRow{opacity:.75}.qAMb0a_droppedRow:hover{opacity:1}";
|
|
3567
3579
|
const tagId$7 = "dsh-lowtide/TaskRow.module.css";
|
|
3568
3580
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$7) + "]") === null) {
|
|
3569
3581
|
const tag = document.createElement("style");
|
|
@@ -3573,18 +3585,18 @@ window.__ModuleLoader__.load({
|
|
|
3573
3585
|
document.head.appendChild(tag);
|
|
3574
3586
|
}
|
|
3575
3587
|
var TaskRow_module_css_default = {
|
|
3576
|
-
"red": "
|
|
3577
|
-
"
|
|
3578
|
-
"
|
|
3579
|
-
"
|
|
3580
|
-
"
|
|
3581
|
-
"
|
|
3582
|
-
"
|
|
3583
|
-
"
|
|
3584
|
-
"
|
|
3585
|
-
"
|
|
3586
|
-
"
|
|
3587
|
-
"taskMain": "
|
|
3588
|
+
"red": "qAMb0a_red",
|
|
3589
|
+
"confirming": "qAMb0a_confirming",
|
|
3590
|
+
"taskRow": "qAMb0a_taskRow",
|
|
3591
|
+
"taskPrompt": "qAMb0a_taskPrompt",
|
|
3592
|
+
"rowActions": "qAMb0a_rowActions",
|
|
3593
|
+
"amber": "qAMb0a_amber",
|
|
3594
|
+
"taskMeta": "qAMb0a_taskMeta",
|
|
3595
|
+
"droppedRow": "qAMb0a_droppedRow",
|
|
3596
|
+
"iconBtn": "qAMb0a_iconBtn",
|
|
3597
|
+
"green": "qAMb0a_green",
|
|
3598
|
+
"blue": "qAMb0a_blue",
|
|
3599
|
+
"taskMain": "qAMb0a_taskMain"
|
|
3588
3600
|
};
|
|
3589
3601
|
//#endregion
|
|
3590
3602
|
//#region client/components/TaskRow.tsx
|
|
@@ -3757,8 +3769,8 @@ window.__ModuleLoader__.load({
|
|
|
3757
3769
|
});
|
|
3758
3770
|
}
|
|
3759
3771
|
//#endregion
|
|
3760
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
3761
|
-
const css$6 = ".
|
|
3772
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\CandidatesView.module.css.mjs
|
|
3773
|
+
const css$6 = ".hYLrvW_wrap{flex-direction:column;gap:4px;margin-top:4px;display:flex}.hYLrvW_toggle{color:var(--dsw-alias-brand-primary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;background:0 0;border:none;border-radius:6px;align-self:flex-start;align-items:center;gap:4px;padding:2px 4px;display:inline-flex}.hYLrvW_toggle:hover{background:var(--dsw-alias-interactive-bg-hover)}.hYLrvW_candidate{border:1px solid var(--dsw-alias-border-l1);border-radius:8px;flex-direction:column;gap:3px;padding:6px 8px;display:flex}.hYLrvW_picked{border-color:var(--dsw-alias-state-success-primary);background:var(--dsw-alias-interactive-bg-hover)}.hYLrvW_head{align-items:center;gap:8px;display:flex}.hYLrvW_title{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13)}.hYLrvW_pickedTag{color:var(--dsw-alias-state-success-primary);font:var(--dsw-font-xxs-12);margin-left:6px}.hYLrvW_meta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;margin-left:auto}.hYLrvW_excerpt{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);white-space:pre-wrap;word-break:break-word;max-height:160px;line-height:1.6;overflow-y:auto}";
|
|
3762
3774
|
const tagId$6 = "dsh-lowtide/CandidatesView.module.css";
|
|
3763
3775
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$6) + "]") === null) {
|
|
3764
3776
|
const tag = document.createElement("style");
|
|
@@ -3768,15 +3780,15 @@ window.__ModuleLoader__.load({
|
|
|
3768
3780
|
document.head.appendChild(tag);
|
|
3769
3781
|
}
|
|
3770
3782
|
var CandidatesView_module_css_default = {
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
"
|
|
3774
|
-
"
|
|
3775
|
-
"
|
|
3776
|
-
"
|
|
3777
|
-
"
|
|
3778
|
-
"toggle": "
|
|
3779
|
-
"
|
|
3783
|
+
"meta": "hYLrvW_meta",
|
|
3784
|
+
"wrap": "hYLrvW_wrap",
|
|
3785
|
+
"excerpt": "hYLrvW_excerpt",
|
|
3786
|
+
"picked": "hYLrvW_picked",
|
|
3787
|
+
"pickedTag": "hYLrvW_pickedTag",
|
|
3788
|
+
"head": "hYLrvW_head",
|
|
3789
|
+
"candidate": "hYLrvW_candidate",
|
|
3790
|
+
"toggle": "hYLrvW_toggle",
|
|
3791
|
+
"title": "hYLrvW_title"
|
|
3780
3792
|
};
|
|
3781
3793
|
//#endregion
|
|
3782
3794
|
//#region client/components/CandidatesView.tsx
|
|
@@ -3838,8 +3850,8 @@ window.__ModuleLoader__.load({
|
|
|
3838
3850
|
});
|
|
3839
3851
|
}
|
|
3840
3852
|
//#endregion
|
|
3841
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
3842
|
-
const css$5 = ".
|
|
3853
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\TaskDetail.module.css.mjs
|
|
3854
|
+
const css$5 = "._WRBGW_modalBody{flex-direction:column;gap:10px;display:flex}._WRBGW_modalFooter{justify-content:flex-end;gap:8px;display:flex}._WRBGW_detailPrompt{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:pre-wrap;word-break:break-word;border-radius:8px;padding:8px 10px;line-height:1.6}._WRBGW_detailGrid{grid-template-columns:1fr 1fr;gap:6px 12px;display:grid}._WRBGW_detailItem{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._WRBGW_detailValue{color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);word-break:break-all}._WRBGW_detailSection{flex-direction:column;gap:3px;display:flex}._WRBGW_detailLabel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._WRBGW_detailFile{color:var(--dsw-alias-label-secondary);font-family:var(--ds-font-family-code);word-break:break-all;font-size:11px}._WRBGW_detailRun{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);font-variant-numeric:tabular-nums}._WRBGW_detailError{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._WRBGW_detailResumed{color:var(--dsw-alias-state-success-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._WRBGW_detailResumeWarn{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-alias-interactive-bg-hover);word-break:break-word;border-radius:6px;padding:6px 8px}._WRBGW_detailReview{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._WRBGW_detailReview summary{cursor:pointer;color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);user-select:none}._WRBGW_detailReviewBody{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin-top:4px;padding:6px 8px;line-height:1.6}";
|
|
3843
3855
|
const tagId$5 = "dsh-lowtide/TaskDetail.module.css";
|
|
3844
3856
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$5) + "]") === null) {
|
|
3845
3857
|
const tag = document.createElement("style");
|
|
@@ -3849,21 +3861,21 @@ window.__ModuleLoader__.load({
|
|
|
3849
3861
|
document.head.appendChild(tag);
|
|
3850
3862
|
}
|
|
3851
3863
|
var TaskDetail_module_css_default = {
|
|
3852
|
-
"
|
|
3853
|
-
"
|
|
3854
|
-
"
|
|
3855
|
-
"
|
|
3856
|
-
"
|
|
3857
|
-
"
|
|
3858
|
-
"
|
|
3859
|
-
"
|
|
3860
|
-
"
|
|
3861
|
-
"
|
|
3862
|
-
"
|
|
3863
|
-
"
|
|
3864
|
-
"
|
|
3865
|
-
"
|
|
3866
|
-
"
|
|
3864
|
+
"modalFooter": "_WRBGW_modalFooter",
|
|
3865
|
+
"detailValue": "_WRBGW_detailValue",
|
|
3866
|
+
"detailFile": "_WRBGW_detailFile",
|
|
3867
|
+
"detailItem": "_WRBGW_detailItem",
|
|
3868
|
+
"detailSection": "_WRBGW_detailSection",
|
|
3869
|
+
"modalBody": "_WRBGW_modalBody",
|
|
3870
|
+
"detailError": "_WRBGW_detailError",
|
|
3871
|
+
"detailRun": "_WRBGW_detailRun",
|
|
3872
|
+
"detailResumeWarn": "_WRBGW_detailResumeWarn",
|
|
3873
|
+
"detailReviewBody": "_WRBGW_detailReviewBody",
|
|
3874
|
+
"detailLabel": "_WRBGW_detailLabel",
|
|
3875
|
+
"detailReview": "_WRBGW_detailReview",
|
|
3876
|
+
"detailPrompt": "_WRBGW_detailPrompt",
|
|
3877
|
+
"detailResumed": "_WRBGW_detailResumed",
|
|
3878
|
+
"detailGrid": "_WRBGW_detailGrid"
|
|
3867
3879
|
};
|
|
3868
3880
|
//#endregion
|
|
3869
3881
|
//#region client/components/TaskDetail.tsx
|
|
@@ -4087,8 +4099,8 @@ window.__ModuleLoader__.load({
|
|
|
4087
4099
|
});
|
|
4088
4100
|
}
|
|
4089
4101
|
//#endregion
|
|
4090
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
4091
|
-
const css$4 = ".
|
|
4102
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\NewTaskModal.module.css.mjs
|
|
4103
|
+
const css$4 = ".QoH8JG_wide{width:min(560px,100%)}.QoH8JG_modalBody{flex-direction:column;gap:10px;display:flex}.QoH8JG_modalFooter{justify-content:flex-end;gap:8px;display:flex}";
|
|
4092
4104
|
const tagId$4 = "dsh-lowtide/NewTaskModal.module.css";
|
|
4093
4105
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
4094
4106
|
const tag = document.createElement("style");
|
|
@@ -4098,9 +4110,9 @@ window.__ModuleLoader__.load({
|
|
|
4098
4110
|
document.head.appendChild(tag);
|
|
4099
4111
|
}
|
|
4100
4112
|
var NewTaskModal_module_css_default = {
|
|
4101
|
-
"
|
|
4102
|
-
"
|
|
4103
|
-
"
|
|
4113
|
+
"modalBody": "QoH8JG_modalBody",
|
|
4114
|
+
"modalFooter": "QoH8JG_modalFooter",
|
|
4115
|
+
"wide": "QoH8JG_wide"
|
|
4104
4116
|
};
|
|
4105
4117
|
//#endregion
|
|
4106
4118
|
//#region client/components/NewTaskModal.tsx
|
|
@@ -4391,8 +4403,8 @@ window.__ModuleLoader__.load({
|
|
|
4391
4403
|
});
|
|
4392
4404
|
}
|
|
4393
4405
|
//#endregion
|
|
4394
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
4395
|
-
const css$3 = ".
|
|
4406
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\QueueDock.module.css.mjs
|
|
4407
|
+
const css$3 = ".qgadtG_dock{flex-direction:column;gap:4px;width:calc(100% - 16px);margin:0 8px -3px;display:flex}.qgadtG_dockRow{background:var(--dsw-specific-tip);border-radius:12px 12px 0 0;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:4px 12px;display:flex}.qgadtG_dockTitle{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-s-14);font-variant-numeric:tabular-nums;font-weight:500}.qgadtG_pending{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12)}.qgadtG_dockActions{align-items:center;gap:4px;display:flex}.qgadtG_reportBtn{align-items:center;gap:4px;display:inline-flex;position:relative}.qgadtG_reportDot{background:var(--dsw-alias-state-warn-primary);border-radius:999px;width:6px;height:6px;position:absolute;top:-2px;right:-4px}.qgadtG_sectionHead{justify-content:space-between;align-items:center;gap:8px;display:flex}.qgadtG_sectionToggle{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-strong-12);cursor:pointer;text-align:left;background:0 0;border:none;flex:1;align-items:center;gap:4px;padding:4px;display:flex}.qgadtG_sectionToggle:hover{color:var(--dsw-alias-label-primary)}.qgadtG_clearBtn{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;padding:3px 8px}.qgadtG_clearBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.qgadtG_clearArmed{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover);font-weight:600}.qgadtG_clearArmed:hover{color:var(--dsw-alias-state-error-primary)}.qgadtG_approveArmed{font-weight:600;color:var(--dsw-alias-state-error-primary)!important;background:var(--dsw-alias-interactive-bg-hover)!important}.qgadtG_drawer{background:var(--dsw-specific-tip);border-top:none;flex-direction:column;gap:4px;max-height:320px;padding:4px 8px 8px;display:flex;overflow-y:auto}.qgadtG_group{flex-direction:column;gap:2px;display:flex}.qgadtG_groupHeader{justify-content:space-between;align-items:center;padding:4px 4px 2px;display:flex}.qgadtG_groupPath{color:var(--dsw-alias-label-tertiary);font-family:var(--ds-font-family-code);font-size:11px}.qgadtG_onboarding{box-sizing:border-box;background:var(--dsw-specific-tip);border:1px solid var(--dsw-alias-border-l1);width:calc(100% - 16px);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin:0 8px;padding:6px 10px;line-height:1.5;display:flex}.qgadtG_onboarding b{color:var(--dsw-alias-label-primary)}.qgadtG_onboardingDismiss{background:var(--dsw-alias-brand-primary);color:var(--dsw-alias-label-primary-foreground);font:var(--dsw-font-xxs-12);cursor:pointer;border:none;border-radius:999px;flex-shrink:0;padding:3px 10px}.qgadtG_onboardingDismiss:hover{opacity:.9}.qgadtG_footer{border-top:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:center;gap:8px;padding:6px 4px 2px;display:flex}.qgadtG_footerActions{gap:4px;display:flex}.qgadtG_empty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);flex-direction:column;align-items:center;gap:8px;padding:16px 0;display:flex}";
|
|
4396
4408
|
const tagId$3 = "dsh-lowtide/QueueDock.module.css";
|
|
4397
4409
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$3) + "]") === null) {
|
|
4398
4410
|
const tag = document.createElement("style");
|
|
@@ -4402,27 +4414,27 @@ window.__ModuleLoader__.load({
|
|
|
4402
4414
|
document.head.appendChild(tag);
|
|
4403
4415
|
}
|
|
4404
4416
|
var QueueDock_module_css_default = {
|
|
4405
|
-
"
|
|
4406
|
-
"
|
|
4407
|
-
"
|
|
4408
|
-
"
|
|
4409
|
-
"
|
|
4410
|
-
"
|
|
4411
|
-
"
|
|
4412
|
-
"
|
|
4413
|
-
"
|
|
4414
|
-
"
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4418
|
-
"
|
|
4419
|
-
"
|
|
4420
|
-
"
|
|
4421
|
-
"
|
|
4422
|
-
"
|
|
4423
|
-
"
|
|
4424
|
-
"
|
|
4425
|
-
"
|
|
4417
|
+
"clearArmed": "qgadtG_clearArmed",
|
|
4418
|
+
"reportDot": "qgadtG_reportDot",
|
|
4419
|
+
"dock": "qgadtG_dock",
|
|
4420
|
+
"group": "qgadtG_group",
|
|
4421
|
+
"groupHeader": "qgadtG_groupHeader",
|
|
4422
|
+
"sectionHead": "qgadtG_sectionHead",
|
|
4423
|
+
"footerActions": "qgadtG_footerActions",
|
|
4424
|
+
"dockActions": "qgadtG_dockActions",
|
|
4425
|
+
"empty": "qgadtG_empty",
|
|
4426
|
+
"approveArmed": "qgadtG_approveArmed",
|
|
4427
|
+
"dockRow": "qgadtG_dockRow",
|
|
4428
|
+
"dockTitle": "qgadtG_dockTitle",
|
|
4429
|
+
"reportBtn": "qgadtG_reportBtn",
|
|
4430
|
+
"sectionToggle": "qgadtG_sectionToggle",
|
|
4431
|
+
"onboarding": "qgadtG_onboarding",
|
|
4432
|
+
"footer": "qgadtG_footer",
|
|
4433
|
+
"groupPath": "qgadtG_groupPath",
|
|
4434
|
+
"clearBtn": "qgadtG_clearBtn",
|
|
4435
|
+
"pending": "qgadtG_pending",
|
|
4436
|
+
"drawer": "qgadtG_drawer",
|
|
4437
|
+
"onboardingDismiss": "qgadtG_onboardingDismiss"
|
|
4426
4438
|
};
|
|
4427
4439
|
//#endregion
|
|
4428
4440
|
//#region client/components/QueueDock.tsx
|
|
@@ -4742,8 +4754,8 @@ window.__ModuleLoader__.load({
|
|
|
4742
4754
|
});
|
|
4743
4755
|
}
|
|
4744
4756
|
//#endregion
|
|
4745
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
4746
|
-
const css$2 = ".
|
|
4757
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\MorningReport.module.css.mjs
|
|
4758
|
+
const css$2 = ".REcyxG_historyList{flex-direction:column;gap:4px;max-height:360px;display:flex;overflow-y:auto}.REcyxG_historyRow{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);cursor:pointer;text-align:left;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.REcyxG_historyRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.REcyxG_historyDate{font-weight:600}.REcyxG_historyMeta{color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}.REcyxG_historyEmpty{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:12px}.REcyxG_historyHeader{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:0 10px 2px}.REcyxG_historyRowWrap{border-radius:8px;align-items:center;gap:4px;display:flex}.REcyxG_historyRowWrap:hover{background:var(--dsw-alias-interactive-bg-hover)}.REcyxG_historyRowWrap .REcyxG_historyRow{flex:1;min-width:0}.REcyxG_historyRowWrap .REcyxG_historyRow:hover{background:0 0}.REcyxG_historyDelete{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;opacity:0;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;margin-right:4px;font-size:12px;display:inline-flex}.REcyxG_historyRowWrap:hover .REcyxG_historyDelete{opacity:1}.REcyxG_historyDelete:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-error-primary)}.REcyxG_historyFooter{border-top:1px solid var(--dsw-alias-border-l1);justify-content:flex-end;padding-top:6px;display:flex}.REcyxG_clearBtn{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 8px}.REcyxG_clearBtn:hover{color:var(--dsw-alias-state-error-primary);background:var(--dsw-alias-interactive-bg-hover)}.REcyxG_clearArmed{border:1px solid var(--dsw-alias-state-error-primary);color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border-radius:6px;padding:4px 8px;font-weight:600}.REcyxG_body{flex-direction:column;gap:8px;display:flex}.REcyxG_headline{flex-direction:column;align-items:center;gap:2px;display:flex}.REcyxG_headlineLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-s-14)}.REcyxG_headlineValue{color:var(--dsw-alias-state-success-primary);font-family:var(--ds-font-family-code);font-variant-numeric:tabular-nums;font-size:32px;font-weight:700;line-height:40px}.REcyxG_headlineMeta{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);font-variant-numeric:tabular-nums}.REcyxG_divider{background:var(--dsw-alias-border-l1);height:1px}.REcyxG_taskRow{border-left:2px solid #0000;gap:8px;padding:4px 0 4px 8px;display:flex}.REcyxG_doneRow{border-left-color:var(--dsw-alias-state-success-primary)}.REcyxG_badRow{border-left-color:var(--dsw-alias-state-error-primary)}.REcyxG_taskMain{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.REcyxG_taskPrompt{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14)}.REcyxG_taskMeta{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);font-variant-numeric:tabular-nums;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.REcyxG_more{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding-left:8px}.REcyxG_reviewExcerpt{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.REcyxG_reviewExcerpt summary{cursor:pointer;color:var(--dsw-alias-label-tertiary);user-select:none}.REcyxG_reviewExcerptBody{background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l1);white-space:pre-wrap;word-break:break-word;border-radius:6px;margin-top:4px;padding:6px 8px;line-height:1.6}.REcyxG_footer{justify-content:space-between;align-items:center;display:flex}.REcyxG_modalFooter{justify-content:flex-end;display:flex}";
|
|
4747
4759
|
const tagId$2 = "dsh-lowtide/MorningReport.module.css";
|
|
4748
4760
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$2) + "]") === null) {
|
|
4749
4761
|
const tag = document.createElement("style");
|
|
@@ -4753,34 +4765,34 @@ window.__ModuleLoader__.load({
|
|
|
4753
4765
|
document.head.appendChild(tag);
|
|
4754
4766
|
}
|
|
4755
4767
|
var MorningReport_module_css_default = {
|
|
4756
|
-
"
|
|
4757
|
-
"
|
|
4758
|
-
"
|
|
4759
|
-
"
|
|
4760
|
-
"
|
|
4761
|
-
"
|
|
4762
|
-
"
|
|
4763
|
-
"
|
|
4764
|
-
"
|
|
4765
|
-
"
|
|
4766
|
-
"
|
|
4767
|
-
"
|
|
4768
|
-
"
|
|
4769
|
-
"
|
|
4770
|
-
"
|
|
4771
|
-
"
|
|
4772
|
-
"
|
|
4773
|
-
"
|
|
4774
|
-
"
|
|
4775
|
-
"taskMeta": "
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
"
|
|
4779
|
-
"
|
|
4780
|
-
"
|
|
4781
|
-
"
|
|
4782
|
-
"
|
|
4783
|
-
"
|
|
4768
|
+
"taskPrompt": "REcyxG_taskPrompt",
|
|
4769
|
+
"reviewExcerptBody": "REcyxG_reviewExcerptBody",
|
|
4770
|
+
"doneRow": "REcyxG_doneRow",
|
|
4771
|
+
"body": "REcyxG_body",
|
|
4772
|
+
"taskMain": "REcyxG_taskMain",
|
|
4773
|
+
"footer": "REcyxG_footer",
|
|
4774
|
+
"modalFooter": "REcyxG_modalFooter",
|
|
4775
|
+
"historyMeta": "REcyxG_historyMeta",
|
|
4776
|
+
"historyDate": "REcyxG_historyDate",
|
|
4777
|
+
"headlineValue": "REcyxG_headlineValue",
|
|
4778
|
+
"historyDelete": "REcyxG_historyDelete",
|
|
4779
|
+
"taskRow": "REcyxG_taskRow",
|
|
4780
|
+
"historyRow": "REcyxG_historyRow",
|
|
4781
|
+
"historyFooter": "REcyxG_historyFooter",
|
|
4782
|
+
"more": "REcyxG_more",
|
|
4783
|
+
"divider": "REcyxG_divider",
|
|
4784
|
+
"historyRowWrap": "REcyxG_historyRowWrap",
|
|
4785
|
+
"clearArmed": "REcyxG_clearArmed",
|
|
4786
|
+
"headline": "REcyxG_headline",
|
|
4787
|
+
"taskMeta": "REcyxG_taskMeta",
|
|
4788
|
+
"badRow": "REcyxG_badRow",
|
|
4789
|
+
"clearBtn": "REcyxG_clearBtn",
|
|
4790
|
+
"historyEmpty": "REcyxG_historyEmpty",
|
|
4791
|
+
"historyList": "REcyxG_historyList",
|
|
4792
|
+
"reviewExcerpt": "REcyxG_reviewExcerpt",
|
|
4793
|
+
"headlineLabel": "REcyxG_headlineLabel",
|
|
4794
|
+
"headlineMeta": "REcyxG_headlineMeta",
|
|
4795
|
+
"historyHeader": "REcyxG_historyHeader"
|
|
4784
4796
|
};
|
|
4785
4797
|
//#endregion
|
|
4786
4798
|
//#region client/components/MorningReport.tsx
|
|
@@ -5103,8 +5115,8 @@ window.__ModuleLoader__.load({
|
|
|
5103
5115
|
});
|
|
5104
5116
|
}
|
|
5105
5117
|
//#endregion
|
|
5106
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
5107
|
-
const css$1 = ".
|
|
5118
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\components\ConfirmGate.module.css.mjs
|
|
5119
|
+
const css$1 = ".v0eOsa_card{background:var(--dsw-alias-bg-layer-2);border:1px solid var(--dsw-alias-border-l1);width:480px;max-width:calc(100vw - 32px);box-shadow:var(--dsw-shadow-lv3);color:var(--dsw-alias-label-primary);z-index:60;border-radius:14px;flex-direction:column;gap:8px;padding:14px 16px;display:flex;position:fixed;top:80px;left:50%;transform:translate(-50%)}.v0eOsa_header{justify-content:space-between;align-items:center;display:flex}.v0eOsa_title{font:var(--dsw-font-s-14);font-weight:600}.v0eOsa_close{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;font-size:13px;display:inline-flex}.v0eOsa_close:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.v0eOsa_meta{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12)}.v0eOsa_list{flex-direction:column;gap:2px;max-height:200px;display:flex;overflow-y:auto}.v0eOsa_row{border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:5px 6px;display:flex}.v0eOsa_row:hover{background:var(--dsw-alias-interactive-bg-hover)}.v0eOsa_prompt{min-width:0;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);white-space:nowrap;text-overflow:ellipsis;flex:1;overflow:hidden}.v0eOsa_remove{width:24px;height:24px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:none;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;display:inline-flex}.v0eOsa_remove:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-state-error-primary)}.v0eOsa_more{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);padding:4px 6px}.v0eOsa_footer{border-top:1px solid var(--dsw-alias-border-l1);justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.v0eOsa_releaseLabel{align-items:center;gap:4px;display:inline-flex}.v0eOsa_defer{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;text-decoration:underline}.v0eOsa_defer:hover{color:var(--dsw-alias-label-secondary)}";
|
|
5108
5120
|
const tagId$1 = "dsh-lowtide/ConfirmGate.module.css";
|
|
5109
5121
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$1) + "]") === null) {
|
|
5110
5122
|
const tag = document.createElement("style");
|
|
@@ -5114,19 +5126,19 @@ window.__ModuleLoader__.load({
|
|
|
5114
5126
|
document.head.appendChild(tag);
|
|
5115
5127
|
}
|
|
5116
5128
|
var ConfirmGate_module_css_default = {
|
|
5117
|
-
"
|
|
5118
|
-
"
|
|
5119
|
-
"
|
|
5120
|
-
"
|
|
5121
|
-
"
|
|
5122
|
-
"
|
|
5123
|
-
"
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5126
|
-
"
|
|
5127
|
-
"
|
|
5128
|
-
"
|
|
5129
|
-
"
|
|
5129
|
+
"header": "v0eOsa_header",
|
|
5130
|
+
"footer": "v0eOsa_footer",
|
|
5131
|
+
"row": "v0eOsa_row",
|
|
5132
|
+
"releaseLabel": "v0eOsa_releaseLabel",
|
|
5133
|
+
"card": "v0eOsa_card",
|
|
5134
|
+
"title": "v0eOsa_title",
|
|
5135
|
+
"list": "v0eOsa_list",
|
|
5136
|
+
"close": "v0eOsa_close",
|
|
5137
|
+
"meta": "v0eOsa_meta",
|
|
5138
|
+
"prompt": "v0eOsa_prompt",
|
|
5139
|
+
"remove": "v0eOsa_remove",
|
|
5140
|
+
"more": "v0eOsa_more",
|
|
5141
|
+
"defer": "v0eOsa_defer"
|
|
5130
5142
|
};
|
|
5131
5143
|
//#endregion
|
|
5132
5144
|
//#region client/components/ConfirmGate.tsx
|
|
@@ -5266,8 +5278,8 @@ window.__ModuleLoader__.load({
|
|
|
5266
5278
|
});
|
|
5267
5279
|
}
|
|
5268
5280
|
//#endregion
|
|
5269
|
-
//#region \0dsh-css:C:\Users\胡克劳\
|
|
5270
|
-
const css = ".
|
|
5281
|
+
//#region \0dsh-css:C:\Users\胡克劳\Desktop\dsh-lowtide\packages\dsh-lowtide\client\settings.module.css.mjs
|
|
5282
|
+
const css = "._5HaBnq_page{flex-direction:column;gap:14px;padding:4px 2px 16px;display:flex}._5HaBnq_loading{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);padding:12px 0}._5HaBnq_onboarding{background:var(--dsw-specific-tip);border:1px solid var(--dsw-alias-border-l1);border-radius:10px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}._5HaBnq_onboardingTitle{color:var(--dsw-alias-brand-primary);font:var(--dsw-font-s-14);font-weight:600}._5HaBnq_onboardingSteps{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);margin:0;padding-left:18px;line-height:1.7}._5HaBnq_onboardingSteps b{color:var(--dsw-alias-label-primary)}._5HaBnq_langRow{justify-content:space-between;align-items:center;gap:8px;padding:8px 0;display:flex}._5HaBnq_langLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._5HaBnq_error{color:var(--dsw-alias-state-error-primary);font:var(--dsw-font-xs-13);background:var(--dsw-alias-interactive-bg-hover);border-radius:8px;padding:8px 12px}._5HaBnq_section{flex-direction:column;gap:8px;display:flex}._5HaBnq_sectionHead{justify-content:space-between;align-items:center;display:flex}._5HaBnq_sectionTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-s-14);margin:0;font-weight:600}._5HaBnq_grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;display:grid}._5HaBnq_field{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);flex-direction:column;gap:4px;display:flex}._5HaBnq_fieldLabel{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}._5HaBnq_strategyHint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);line-height:1.5}._5HaBnq_batchWindowField{grid-column:1/-1}._5HaBnq_batchWindowRow{border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;padding:4px 6px;display:flex}._5HaBnq_batchWindowRow:hover{background:var(--dsw-alias-interactive-bg-hover)}._5HaBnq_batchWindowRow ._5HaBnq_input{flex:0 132px;width:auto;height:36px}._5HaBnq_batchWindowDash{color:var(--dsw-alias-label-tertiary)}._5HaBnq_batchWindowActions{margin-top:8px}._5HaBnq_input{box-sizing:border-box;background:var(--dsw-alias-bg-layer-1);border:1px solid var(--dsw-alias-border-l2);width:100%;height:32px;color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-13);border-radius:8px;outline:none;padding:0 8px}._5HaBnq_input:focus{border-color:var(--dsw-alias-brand-primary)}._5HaBnq_checkbox{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);align-items:center;gap:6px;display:flex}._5HaBnq_pillRow{gap:6px;display:flex}._5HaBnq_autonomyPill{border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13);cursor:pointer;user-select:none;border-radius:999px;padding:4px 12px}._5HaBnq_autonomyPill:hover{background:var(--dsw-alias-interactive-bg-hover)}._5HaBnq_autonomyActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}._5HaBnq_confirmBox{color:var(--dsw-alias-state-warn-primary);font:var(--dsw-font-xxs-12);background:var(--dsw-specific-tip);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;display:flex}._5HaBnq_confirmBtn{background:var(--dsw-alias-state-warn-primary);color:var(--dsw-alias-label-primary-foreground);font:var(--dsw-font-xxs-12);cursor:pointer;border:none;border-radius:999px;padding:3px 10px}._5HaBnq_confirmCancel{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border:none;padding:3px 8px}._5HaBnq_hint{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);margin:0;line-height:1.6}._5HaBnq_windowRow{flex-wrap:wrap;align-items:center;gap:6px;display:flex}._5HaBnq_windowRow ._5HaBnq_input{flex:0 150px}._5HaBnq_dayRow{gap:4px;display:flex}._5HaBnq_dayBtn{border:1px solid var(--dsw-alias-border-l2);width:24px;height:24px;color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);cursor:pointer;background:0 0;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}._5HaBnq_dayBtn:hover{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}._5HaBnq_dayActive{border-color:var(--dsw-alias-brand-primary);color:var(--dsw-alias-brand-primary);font-weight:600}._5HaBnq_noWindows{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xs-13);background:var(--dsw-specific-tip);border-radius:8px;padding:10px 12px}._5HaBnq_footer{justify-content:flex-end;display:flex}._5HaBnq_footerLeft{gap:8px;margin-right:auto;display:flex}._5HaBnq_officialCard{border:1px solid var(--dsw-alias-border-l1);background:var(--dsw-alias-bg-layer-1);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}._5HaBnq_officialTitle{color:var(--dsw-alias-label-primary);font:var(--dsw-font-xs-strong-13)}._5HaBnq_officialBody{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xxs-12);line-height:1.6}._5HaBnq_officialActions{align-items:center;gap:8px;margin-top:2px;display:flex}._5HaBnq_legend{gap:14px;display:flex}._5HaBnq_bandPeak{background:var(--dsw-alias-state-error-primary);opacity:.85}._5HaBnq_bandOff{background:var(--dsw-alias-state-success-primary);opacity:.85}._5HaBnq_bandCustom{background:var(--dsw-alias-state-warn-primary);opacity:.85}._5HaBnq_legendItem{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12);align-items:center;gap:5px;display:flex}._5HaBnq_legendDot{opacity:.9;border-radius:2px;width:10px;height:10px}._5HaBnq_priceTable{flex-direction:column;gap:3px;display:flex}._5HaBnq_priceHead,._5HaBnq_priceRow{grid-template-columns:1.4fr .6fr 1fr 1fr 1fr;align-items:center;gap:6px;display:grid}._5HaBnq_priceHead{color:var(--dsw-alias-label-tertiary);font:var(--dsw-font-xxs-12)}._5HaBnq_priceRow ._5HaBnq_input{height:28px}._5HaBnq_priceModel{color:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);font-size:12px}._5HaBnq_priceTier{color:var(--dsw-alias-label-secondary);font:var(--dsw-font-xs-13)}";
|
|
5271
5283
|
const tagId = "dsh-lowtide/settings.module.css";
|
|
5272
5284
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
5273
5285
|
const tag = document.createElement("style");
|
|
@@ -5277,52 +5289,56 @@ window.__ModuleLoader__.load({
|
|
|
5277
5289
|
document.head.appendChild(tag);
|
|
5278
5290
|
}
|
|
5279
5291
|
var settings_module_css_default = {
|
|
5280
|
-
"
|
|
5281
|
-
"
|
|
5282
|
-
"
|
|
5283
|
-
"
|
|
5284
|
-
"
|
|
5285
|
-
"
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5288
|
-
"
|
|
5289
|
-
"
|
|
5290
|
-
"
|
|
5291
|
-
"
|
|
5292
|
-
"
|
|
5293
|
-
"
|
|
5294
|
-
"
|
|
5295
|
-
"
|
|
5296
|
-
"
|
|
5297
|
-
"
|
|
5298
|
-
"
|
|
5299
|
-
"
|
|
5300
|
-
"
|
|
5301
|
-
"
|
|
5302
|
-
"
|
|
5303
|
-
"
|
|
5304
|
-
"
|
|
5305
|
-
"
|
|
5306
|
-
"
|
|
5307
|
-
"
|
|
5308
|
-
"
|
|
5309
|
-
"
|
|
5310
|
-
"
|
|
5311
|
-
"
|
|
5312
|
-
"
|
|
5313
|
-
"
|
|
5314
|
-
"
|
|
5315
|
-
"
|
|
5316
|
-
"
|
|
5317
|
-
"
|
|
5318
|
-
"
|
|
5319
|
-
"
|
|
5320
|
-
"
|
|
5321
|
-
"
|
|
5322
|
-
"
|
|
5323
|
-
"dayBtn": "
|
|
5324
|
-
"
|
|
5325
|
-
"
|
|
5292
|
+
"fieldLabel": "_5HaBnq_fieldLabel",
|
|
5293
|
+
"noWindows": "_5HaBnq_noWindows",
|
|
5294
|
+
"bandCustom": "_5HaBnq_bandCustom",
|
|
5295
|
+
"confirmBtn": "_5HaBnq_confirmBtn",
|
|
5296
|
+
"checkbox": "_5HaBnq_checkbox",
|
|
5297
|
+
"input": "_5HaBnq_input",
|
|
5298
|
+
"windowRow": "_5HaBnq_windowRow",
|
|
5299
|
+
"footerLeft": "_5HaBnq_footerLeft",
|
|
5300
|
+
"batchWindowField": "_5HaBnq_batchWindowField",
|
|
5301
|
+
"officialActions": "_5HaBnq_officialActions",
|
|
5302
|
+
"priceHead": "_5HaBnq_priceHead",
|
|
5303
|
+
"grid": "_5HaBnq_grid",
|
|
5304
|
+
"priceTier": "_5HaBnq_priceTier",
|
|
5305
|
+
"section": "_5HaBnq_section",
|
|
5306
|
+
"batchWindowDash": "_5HaBnq_batchWindowDash",
|
|
5307
|
+
"legendItem": "_5HaBnq_legendItem",
|
|
5308
|
+
"officialCard": "_5HaBnq_officialCard",
|
|
5309
|
+
"batchWindowActions": "_5HaBnq_batchWindowActions",
|
|
5310
|
+
"loading": "_5HaBnq_loading",
|
|
5311
|
+
"onboardingSteps": "_5HaBnq_onboardingSteps",
|
|
5312
|
+
"confirmBox": "_5HaBnq_confirmBox",
|
|
5313
|
+
"sectionTitle": "_5HaBnq_sectionTitle",
|
|
5314
|
+
"dayActive": "_5HaBnq_dayActive",
|
|
5315
|
+
"footer": "_5HaBnq_footer",
|
|
5316
|
+
"error": "_5HaBnq_error",
|
|
5317
|
+
"langLabel": "_5HaBnq_langLabel",
|
|
5318
|
+
"sectionHead": "_5HaBnq_sectionHead",
|
|
5319
|
+
"legendDot": "_5HaBnq_legendDot",
|
|
5320
|
+
"onboarding": "_5HaBnq_onboarding",
|
|
5321
|
+
"confirmCancel": "_5HaBnq_confirmCancel",
|
|
5322
|
+
"pillRow": "_5HaBnq_pillRow",
|
|
5323
|
+
"priceTable": "_5HaBnq_priceTable",
|
|
5324
|
+
"field": "_5HaBnq_field",
|
|
5325
|
+
"onboardingTitle": "_5HaBnq_onboardingTitle",
|
|
5326
|
+
"strategyHint": "_5HaBnq_strategyHint",
|
|
5327
|
+
"hint": "_5HaBnq_hint",
|
|
5328
|
+
"batchWindowRow": "_5HaBnq_batchWindowRow",
|
|
5329
|
+
"officialBody": "_5HaBnq_officialBody",
|
|
5330
|
+
"autonomyActive": "_5HaBnq_autonomyActive",
|
|
5331
|
+
"priceRow": "_5HaBnq_priceRow",
|
|
5332
|
+
"priceModel": "_5HaBnq_priceModel",
|
|
5333
|
+
"dayRow": "_5HaBnq_dayRow",
|
|
5334
|
+
"bandPeak": "_5HaBnq_bandPeak",
|
|
5335
|
+
"dayBtn": "_5HaBnq_dayBtn",
|
|
5336
|
+
"bandOff": "_5HaBnq_bandOff",
|
|
5337
|
+
"page": "_5HaBnq_page",
|
|
5338
|
+
"autonomyPill": "_5HaBnq_autonomyPill",
|
|
5339
|
+
"langRow": "_5HaBnq_langRow",
|
|
5340
|
+
"officialTitle": "_5HaBnq_officialTitle",
|
|
5341
|
+
"legend": "_5HaBnq_legend"
|
|
5326
5342
|
};
|
|
5327
5343
|
//#endregion
|
|
5328
5344
|
//#region client/settings.tsx
|
|
@@ -5335,6 +5351,37 @@ window.__ModuleLoader__.load({
|
|
|
5335
5351
|
*/
|
|
5336
5352
|
/** Editable price-table rows: canonical official ids plus legacy aliases. */
|
|
5337
5353
|
const OFFICIAL_PRICE_MODELS = [.../* @__PURE__ */ new Set([...Object.keys(OFFICIAL_PRICES), ...Object.keys(PRICE_ALIASES)])];
|
|
5354
|
+
function minutesOf(hhmm) {
|
|
5355
|
+
const match = /^(\d{1,2}):(\d{2})$/.exec(hhmm);
|
|
5356
|
+
if (match === null) return NaN;
|
|
5357
|
+
const h = Number(match[1]);
|
|
5358
|
+
const m = Number(match[2]);
|
|
5359
|
+
if (h > 23 || m > 59) return NaN;
|
|
5360
|
+
return h * 60 + m;
|
|
5361
|
+
}
|
|
5362
|
+
/** Half-open minute intervals of a window on the [0, 2880) axis (a
|
|
5363
|
+
* midnight-crossing range unwraps past 1440; start === end = full day). */
|
|
5364
|
+
function rangeIntervals(start, end) {
|
|
5365
|
+
if (end > start) return [[start, end]];
|
|
5366
|
+
if (end < start) return [[start, end + 1440]];
|
|
5367
|
+
return [[0, 1440]];
|
|
5368
|
+
}
|
|
5369
|
+
/** Whether two "HH:MM"-"HH:MM" drafts overlap (for the non-blocking hint). */
|
|
5370
|
+
function batchWindowsOverlap(list) {
|
|
5371
|
+
const intervals = [];
|
|
5372
|
+
for (const w of list) {
|
|
5373
|
+
const start = minutesOf(w.start);
|
|
5374
|
+
const end = minutesOf(w.end);
|
|
5375
|
+
if (Number.isNaN(start) || Number.isNaN(end)) continue;
|
|
5376
|
+
intervals.push(...rangeIntervals(start, end));
|
|
5377
|
+
}
|
|
5378
|
+
for (let i = 0; i < intervals.length; i++) for (let j = i + 1; j < intervals.length; j++) {
|
|
5379
|
+
const [a0, a1] = intervals[i];
|
|
5380
|
+
const [b0, b1] = intervals[j];
|
|
5381
|
+
if (a0 < b1 && b0 < a1) return true;
|
|
5382
|
+
}
|
|
5383
|
+
return false;
|
|
5384
|
+
}
|
|
5338
5385
|
/** 当前本地时区的 UTC 偏移标签,如 "UTC+8" / "UTC-5"。 */
|
|
5339
5386
|
function utcOffsetLabel() {
|
|
5340
5387
|
const minutes = -(/* @__PURE__ */ new Date()).getTimezoneOffset();
|
|
@@ -5433,7 +5480,13 @@ window.__ModuleLoader__.load({
|
|
|
5433
5480
|
}
|
|
5434
5481
|
const c = res.config;
|
|
5435
5482
|
const batch = c.batch ?? {};
|
|
5436
|
-
const
|
|
5483
|
+
const batchWindows = (Array.isArray(batch.windows) && batch.windows.length > 0 ? batch.windows : [batch.window ?? "19:00-23:30"]).map((w) => {
|
|
5484
|
+
const [s, e] = String(w).split("-");
|
|
5485
|
+
return {
|
|
5486
|
+
start: s ?? "19:00",
|
|
5487
|
+
end: e ?? "23:30"
|
|
5488
|
+
};
|
|
5489
|
+
});
|
|
5437
5490
|
const prices = {};
|
|
5438
5491
|
if (c.prices !== void 0 && typeof c.prices === "object") for (const [model, tier] of Object.entries(c.prices)) prices[model] = {
|
|
5439
5492
|
peak: {
|
|
@@ -5448,8 +5501,7 @@ window.__ModuleLoader__.load({
|
|
|
5448
5501
|
}
|
|
5449
5502
|
};
|
|
5450
5503
|
setDraft({
|
|
5451
|
-
|
|
5452
|
-
end: end ?? "23:30",
|
|
5504
|
+
batchWindows,
|
|
5453
5505
|
tz: typeof batch.tz === "string" ? batch.tz : "",
|
|
5454
5506
|
paused: batch.paused === true,
|
|
5455
5507
|
gateLeadMin: String(typeof batch.gateLeadMin === "number" ? batch.gateLeadMin : 30),
|
|
@@ -5498,6 +5550,15 @@ window.__ModuleLoader__.load({
|
|
|
5498
5550
|
} : w)
|
|
5499
5551
|
});
|
|
5500
5552
|
}
|
|
5553
|
+
function setBatchWindow(index, patch) {
|
|
5554
|
+
setDraft((d) => d === null ? d : {
|
|
5555
|
+
...d,
|
|
5556
|
+
batchWindows: d.batchWindows.map((w, i) => i === index ? {
|
|
5557
|
+
...w,
|
|
5558
|
+
...patch
|
|
5559
|
+
} : w)
|
|
5560
|
+
});
|
|
5561
|
+
}
|
|
5501
5562
|
/** 已处于官方时段:窗口为空(空=官方回退,与显式采用等价)或草稿显式等于换算段(禁用"一键采用")。 */
|
|
5502
5563
|
const officialAdopted = meta !== null && (draft.windows.length === 0 || meta.officialInLocal.length > 0 && draft.windows.length === meta.officialInLocal.length && meta.officialInLocal.every((w) => draft.windows.some((d) => d.level === "peak" && d.start === w.start && d.end === w.end)));
|
|
5503
5564
|
/** 一键采用:官方忙时本地换算段写入窗口草稿(level=peak,保存时自动生成 id)。
|
|
@@ -5544,8 +5605,10 @@ window.__ModuleLoader__.load({
|
|
|
5544
5605
|
function restoreDefaults() {
|
|
5545
5606
|
setDraft((d) => d === null ? d : {
|
|
5546
5607
|
...d,
|
|
5547
|
-
|
|
5548
|
-
|
|
5608
|
+
batchWindows: [{
|
|
5609
|
+
start: "19:00",
|
|
5610
|
+
end: "23:30"
|
|
5611
|
+
}],
|
|
5549
5612
|
tz: "",
|
|
5550
5613
|
paused: false,
|
|
5551
5614
|
gateLeadMin: "30",
|
|
@@ -5575,6 +5638,12 @@ window.__ModuleLoader__.load({
|
|
|
5575
5638
|
const save = async () => {
|
|
5576
5639
|
setSaving(true);
|
|
5577
5640
|
setError(null);
|
|
5641
|
+
const batchRanges = [...new Set(draft.batchWindows.map((w) => `${w.start}-${w.end}`))];
|
|
5642
|
+
if (batchRanges.length === 0 || draft.batchWindows.some((w) => Number.isNaN(minutesOf(w.start)) || Number.isNaN(minutesOf(w.end)))) {
|
|
5643
|
+
setSaving(false);
|
|
5644
|
+
setError(t("settings.batchWindowInvalid"));
|
|
5645
|
+
return;
|
|
5646
|
+
}
|
|
5578
5647
|
const daysOf = (s) => {
|
|
5579
5648
|
const days = s.split(",").map((x) => Number(x.trim())).filter((n) => Number.isInteger(n) && n >= 1 && n <= 7);
|
|
5580
5649
|
return days.length > 0 ? days : void 0;
|
|
@@ -5606,7 +5675,8 @@ window.__ModuleLoader__.load({
|
|
|
5606
5675
|
}
|
|
5607
5676
|
const res = await updateConfig({
|
|
5608
5677
|
batch: {
|
|
5609
|
-
window:
|
|
5678
|
+
window: batchRanges[0] ?? "19:00-23:30",
|
|
5679
|
+
windows: batchRanges,
|
|
5610
5680
|
...draft.tz.trim() !== "" ? { tz: draft.tz.trim() } : {},
|
|
5611
5681
|
gateLeadMin: Math.max(Number(draft.gateLeadMin) || 0, 0),
|
|
5612
5682
|
maxTasksPerNight: Math.max(Number(draft.maxTasksPerNight) || 1, 1),
|
|
@@ -5678,23 +5748,66 @@ window.__ModuleLoader__.load({
|
|
|
5678
5748
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5679
5749
|
className: settings_module_css_default.grid,
|
|
5680
5750
|
children: [
|
|
5681
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("
|
|
5682
|
-
className: settings_module_css_default.field
|
|
5683
|
-
children: [
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5751
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5752
|
+
className: `${settings_module_css_default.field} ${settings_module_css_default.batchWindowField}`,
|
|
5753
|
+
children: [
|
|
5754
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5755
|
+
className: settings_module_css_default.fieldLabel,
|
|
5756
|
+
children: t("settings.batchWindowList")
|
|
5757
|
+
}),
|
|
5758
|
+
draft.batchWindows.map((w, i) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5759
|
+
className: settings_module_css_default.batchWindowRow,
|
|
5760
|
+
children: [
|
|
5761
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
5762
|
+
type: "time",
|
|
5763
|
+
className: settings_module_css_default.input,
|
|
5764
|
+
"aria-label": t("settings.start"),
|
|
5765
|
+
value: w.start,
|
|
5766
|
+
onChange: (e) => setBatchWindow(i, { start: e.target.value })
|
|
5767
|
+
}),
|
|
5768
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5769
|
+
className: settings_module_css_default.batchWindowDash,
|
|
5770
|
+
children: "–"
|
|
5771
|
+
}),
|
|
5772
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
5773
|
+
type: "time",
|
|
5774
|
+
className: settings_module_css_default.input,
|
|
5775
|
+
"aria-label": t("settings.end"),
|
|
5776
|
+
value: w.end,
|
|
5777
|
+
onChange: (e) => setBatchWindow(i, { end: e.target.value })
|
|
5778
|
+
}),
|
|
5779
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
5780
|
+
variant: "ghost",
|
|
5781
|
+
size: "md",
|
|
5782
|
+
disabled: draft.batchWindows.length <= 1,
|
|
5783
|
+
title: draft.batchWindows.length <= 1 ? t("settings.batchWindowMin") : void 0,
|
|
5784
|
+
onClick: () => set("batchWindows", draft.batchWindows.filter((_, idx) => idx !== i)),
|
|
5785
|
+
children: t("settings.windowDelete")
|
|
5786
|
+
})
|
|
5787
|
+
]
|
|
5788
|
+
}, i)),
|
|
5789
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
5790
|
+
className: settings_module_css_default.batchWindowActions,
|
|
5791
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
5792
|
+
variant: "outline",
|
|
5793
|
+
size: "md",
|
|
5794
|
+
disabled: draft.batchWindows.length >= 6,
|
|
5795
|
+
onClick: () => set("batchWindows", [...draft.batchWindows, {
|
|
5796
|
+
start: "22:00",
|
|
5797
|
+
end: "23:30"
|
|
5798
|
+
}]),
|
|
5799
|
+
children: t("settings.addBatchWindow")
|
|
5800
|
+
})
|
|
5801
|
+
}),
|
|
5802
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5803
|
+
className: settings_module_css_default.strategyHint,
|
|
5804
|
+
children: t("settings.batchWindowsHint")
|
|
5805
|
+
}),
|
|
5806
|
+
batchWindowsOverlap(draft.batchWindows) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5807
|
+
className: settings_module_css_default.strategyHint,
|
|
5808
|
+
children: t("settings.batchWindowOverlap")
|
|
5809
|
+
})
|
|
5810
|
+
]
|
|
5698
5811
|
}),
|
|
5699
5812
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
5700
5813
|
className: settings_module_css_default.field,
|