@linto-ai/transcript-ui-webcomponent 0.9.16 → 0.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{highlight-DcaGiZlF.js → highlight-BJ-aIPIt.js} +2 -2
- package/dist/{highlight-DcaGiZlF.js.map → highlight-BJ-aIPIt.js.map} +1 -1
- package/dist/{index-DQ9v_akJ.js → index-DOQBVlvF.js} +9 -6
- package/dist/{index-DQ9v_akJ.js.map → index-DOQBVlvF.js.map} +1 -1
- package/dist/linto-editor.iife.js +7 -4
- package/dist/linto-editor.iife.js.map +1 -1
- package/dist/linto-editor.js +1 -1
- package/package.json +10 -10
|
@@ -29357,9 +29357,12 @@ section.turn:has([data-state="open"]) {
|
|
|
29357
29357
|
const activeVersionNumber = computed(
|
|
29358
29358
|
() => props.service.activeVersionNumber.value
|
|
29359
29359
|
);
|
|
29360
|
+
const hasContent = computed(
|
|
29361
|
+
() => !!content.value || versions.value.length > 0
|
|
29362
|
+
);
|
|
29360
29363
|
const isEmpty = computed(() => {
|
|
29361
29364
|
if (articleStatus.value !== "done") return false;
|
|
29362
|
-
return !
|
|
29365
|
+
return !hasContent.value;
|
|
29363
29366
|
});
|
|
29364
29367
|
const isUpdated = computed(() => {
|
|
29365
29368
|
const channel = core.activeChannel.value;
|
|
@@ -29440,7 +29443,7 @@ section.turn:has([data-state="open"]) {
|
|
|
29440
29443
|
createVNode(unref(Button), {
|
|
29441
29444
|
variant: "primary",
|
|
29442
29445
|
icon: "download",
|
|
29443
|
-
disabled: articleStatus.value === "processing",
|
|
29446
|
+
disabled: articleStatus.value === "processing" || !hasContent.value,
|
|
29444
29447
|
"aria-label": unref(t2)("llmService.download"),
|
|
29445
29448
|
title: unref(t2)("llmService.download"),
|
|
29446
29449
|
onClick: onExport
|
|
@@ -29486,8 +29489,8 @@ section.turn:has([data-state="open"]) {
|
|
|
29486
29489
|
};
|
|
29487
29490
|
}
|
|
29488
29491
|
});
|
|
29489
|
-
const _style_0$5 = "\n.llm-service-panel[data-v-
|
|
29490
|
-
const LLMServicePanel = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["styles", [_style_0$5]], ["__scopeId", "data-v-
|
|
29492
|
+
const _style_0$5 = "\n.llm-service-panel[data-v-0222a168] {\n display: flex;\n flex-direction: column;\n min-width: 0;\n min-height: 0;\n overflow-y: auto;\n}\n.llm-service-panel__status[data-v-0222a168] {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-xs);\n font-size: var(--font-size-xs);\n font-weight: 500;\n}\n.llm-service-panel__status--ok[data-v-0222a168] {\n color: var(--color-success, #2e7d32);\n}\n.llm-service-panel__status--warn[data-v-0222a168] {\n color: var(--color-warning, #ed6c02);\n}\n.llm-service-panel__empty[data-v-0222a168] {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--spacing-md);\n padding: var(--spacing-xl) var(--spacing-md);\n text-align: center;\n}\n.llm-service-panel__empty-text[data-v-0222a168] {\n margin: 0;\n max-width: 400px;\n font-size: var(--font-size-sm);\n color: var(--color-text-secondary);\n}\n@media (max-width: 767px) {\n.llm-service-panel[data-v-0222a168] {\n padding: var(--spacing-md);\n}\n}\n";
|
|
29493
|
+
const LLMServicePanel = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["styles", [_style_0$5]], ["__scopeId", "data-v-0222a168"]]);
|
|
29491
29494
|
function createService(init) {
|
|
29492
29495
|
return {
|
|
29493
29496
|
id: init.id,
|