feat(panel): live task cards, interactive usage trend chart, and Gemini 4 Carbon support (v1.4.2)

This commit is contained in:
fish
2026-11-11 01:06:31 +09:00
parent c6f512413f
commit 8ac5da8d11
39 changed files with 4857 additions and 1099 deletions
@@ -152,9 +152,7 @@ export const CustomSelect = defineComponent({
}
const selectedOpt =
options.find((o) => o.value === modelValue) ||
(modelValue !== '' && modelValue !== null && modelValue !== undefined
? options[0]
: undefined);
(!modelValue ? options[0] : undefined);
patchText(triggerLabel, selectedOpt ? selectedOpt.label : placeholder);
if (isOpen) {
renderMenuOptions();
@@ -168,8 +166,8 @@ export const CustomSelect = defineComponent({
};
if (typeof document !== 'undefined' && document.addEventListener) {
document.addEventListener('click', handleDocClick);
onCleanup(() => document.removeEventListener('click', handleDocClick));
document.addEventListener('click', handleDocClick, true);
onCleanup(() => document.removeEventListener('click', handleDocClick, true));
}
syncTriggerAndMenu();