vue-print-designer 1.8.0 → 1.8.1
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/{AiSettingsSection-_vzlm2KM.js → AiSettingsSection-B-O30CdB.js} +3 -3
- package/dist/{FloatingAiPanel-DB_N38Ax.js → FloatingAiPanel-a_4BNdtZ.js} +4 -4
- package/dist/{JsBarcode-D2UQSoxx.js → JsBarcode-az_BP6dJ.js} +1 -1
- package/dist/{api-JmIvlXA_.js → api-B7n6p8nj.js} +3 -3
- package/dist/{browser-BDOklKeU.js → browser-Cd3tTMtj.js} +1 -1
- package/dist/{client-CmWO24QA.js → client-BksCrkAI.js} +1 -1
- package/dist/{index-DJ8Xh908.js → index-DJcnIY7z.js} +1 -1
- package/dist/{index-CTvPPuK3.js → index-DlfAmagH.js} +1 -1
- package/dist/{preview-CGnhbhlb.js → preview-DPXvxW-B.js} +1 -1
- package/dist/print-designer.es.js +1 -1
- package/dist/print-designer.umd.js +1 -1
- package/dist/{web-component-CFaq9hNs.js → web-component-Bwafv8LK.js} +46 -32
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as defineComponent, a0 as inject, J as ref, g as computed, w as watch, L as onMounted, M as onBeforeUnmount, o as openBlock, B as createBlock, T as Teleport, l as unref, e as createBaseVNode, y as toDisplayString, p as createVNode, C as Close, t as withDirectives, x as vModelText, v as withKeys, k as withModifiers, a1 as _sfc_main$2, n as normalizeClass, A as ChevronIcon, d as createElementBlock, F as Fragment, a2 as vModelCheckbox, z as createTextVNode, q as createCommentVNode, a as useI18n, b as useTemplateStore, a3 as AddIcon, r as renderList, G as EditIcon, H as DeleteIcon } from "./web-component-
|
|
2
|
-
import { r as requestAiTemplate, A as AiRequestError, u as useAiStore, a as activeAiProfile } from "./client-
|
|
3
|
-
import { u as useAiLocale } from "./index-
|
|
1
|
+
import { j as defineComponent, a0 as inject, J as ref, g as computed, w as watch, L as onMounted, M as onBeforeUnmount, o as openBlock, B as createBlock, T as Teleport, l as unref, e as createBaseVNode, y as toDisplayString, p as createVNode, C as Close, t as withDirectives, x as vModelText, v as withKeys, k as withModifiers, a1 as _sfc_main$2, n as normalizeClass, A as ChevronIcon, d as createElementBlock, F as Fragment, a2 as vModelCheckbox, z as createTextVNode, q as createCommentVNode, a as useI18n, b as useTemplateStore, a3 as AddIcon, r as renderList, G as EditIcon, H as DeleteIcon } from "./web-component-Bwafv8LK.js";
|
|
2
|
+
import { r as requestAiTemplate, A as AiRequestError, u as useAiStore, a as activeAiProfile } from "./client-BksCrkAI.js";
|
|
3
|
+
import { u as useAiLocale } from "./index-DlfAmagH.js";
|
|
4
4
|
const _hoisted_1$1 = { class: "flex h-[34rem] max-h-[85vh] w-[32rem] flex-col overflow-hidden rounded-lg bg-white shadow-xl" };
|
|
5
5
|
const _hoisted_2$1 = { class: "flex shrink-0 items-center justify-between border-b border-gray-200 px-4 py-3" };
|
|
6
6
|
const _hoisted_3$1 = { class: "text-sm font-semibold text-gray-800" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as markRaw, o as openBlock, d as createElementBlock, e as createBaseVNode, f as uuidv4, u as useDesignerStore, b as useTemplateStore, a as useI18n, g as computed, c as cloneDeep, h as uiConfirm, j as defineComponent, w as watch, n as normalizeClass, k as withModifiers, F as Fragment, r as renderList, l as unref, p as createVNode, C as Close, q as createCommentVNode, t as withDirectives, v as withKeys, x as vModelText, y as toDisplayString, I as ImageIcon, z as createTextVNode, A as ChevronIcon, B as createBlock, D as CheckIcon, E as CopyIcon, G as EditIcon, H as DeleteIcon, J as ref, K as nextTick, T as Teleport, S as SparkleIcon, L as onMounted, M as onBeforeUnmount, N as ChevronRightIcon, O as useFloatingTooltip, P as FEATURE_FLAGS_CHANGE_EVENT, Q as vShow, R as HistoryIcon, U as Settings, V as normalizeStyle, W as resolveDynamicComponent, X as ArrowUpIcon, Y as PanelResizeIcon } from "./web-component-
|
|
2
|
-
import { u as useAiStore, i as isAiConfigReady, a as activeAiProfile, r as requestAiTemplate, A as AiRequestError } from "./client-
|
|
3
|
-
import { c as createActionText, u as useAiLocale } from "./index-
|
|
4
|
-
import { e as extractJsonText, f as dropPreview, a as cancelPreview, c as commitPreview, r as resolveLocalAction, g as getActionDefinition, b as buildSystemPrompt, h as getPromptLanguage, d as buildUserMessage, n as normalizeTemplate, i as beginPreview } from "./preview-
|
|
1
|
+
import { m as markRaw, o as openBlock, d as createElementBlock, e as createBaseVNode, f as uuidv4, u as useDesignerStore, b as useTemplateStore, a as useI18n, g as computed, c as cloneDeep, h as uiConfirm, j as defineComponent, w as watch, n as normalizeClass, k as withModifiers, F as Fragment, r as renderList, l as unref, p as createVNode, C as Close, q as createCommentVNode, t as withDirectives, v as withKeys, x as vModelText, y as toDisplayString, I as ImageIcon, z as createTextVNode, A as ChevronIcon, B as createBlock, D as CheckIcon, E as CopyIcon, G as EditIcon, H as DeleteIcon, J as ref, K as nextTick, T as Teleport, S as SparkleIcon, L as onMounted, M as onBeforeUnmount, N as ChevronRightIcon, O as useFloatingTooltip, P as FEATURE_FLAGS_CHANGE_EVENT, Q as vShow, R as HistoryIcon, U as Settings, V as normalizeStyle, W as resolveDynamicComponent, X as ArrowUpIcon, Y as PanelResizeIcon } from "./web-component-Bwafv8LK.js";
|
|
2
|
+
import { u as useAiStore, i as isAiConfigReady, a as activeAiProfile, r as requestAiTemplate, A as AiRequestError } from "./client-BksCrkAI.js";
|
|
3
|
+
import { c as createActionText, u as useAiLocale } from "./index-DlfAmagH.js";
|
|
4
|
+
import { e as extractJsonText, f as dropPreview, a as cancelPreview, c as commitPreview, r as resolveLocalAction, g as getActionDefinition, b as buildSystemPrompt, h as getPromptLanguage, d as buildUserMessage, n as normalizeTemplate, i as beginPreview } from "./preview-DPXvxW-B.js";
|
|
5
5
|
const _hoisted_1$e = {
|
|
6
6
|
viewBox: "0 0 24 24",
|
|
7
7
|
width: "1.2em",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { s as setAiEnabled, i as isAiEnabled, u as useDesignerStore, a as useI18n, c as cloneDeep, b as useTemplateStore } from "./web-component-
|
|
2
|
-
import { l as loadAiConfig, u as useAiStore, n as normalizeAiConfig, a as activeAiProfile, g as getBuiltinModels, r as requestAiTemplate, s as saveAiConfig, b as setBuiltinModels } from "./client-
|
|
3
|
-
import { c as commitPreview, a as cancelPreview, b as buildSystemPrompt, d as buildUserMessage, n as normalizeTemplate } from "./preview-
|
|
1
|
+
import { s as setAiEnabled, i as isAiEnabled, u as useDesignerStore, a as useI18n, c as cloneDeep, b as useTemplateStore } from "./web-component-Bwafv8LK.js";
|
|
2
|
+
import { l as loadAiConfig, u as useAiStore, n as normalizeAiConfig, a as activeAiProfile, g as getBuiltinModels, r as requestAiTemplate, s as saveAiConfig, b as setBuiltinModels } from "./client-BksCrkAI.js";
|
|
3
|
+
import { c as commitPreview, a as cancelPreview, b as buildSystemPrompt, d as buildUserMessage, n as normalizeTemplate } from "./preview-DPXvxW-B.js";
|
|
4
4
|
const resolveScopeId = (scopeId) => {
|
|
5
5
|
if (scopeId) return scopeId;
|
|
6
6
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { f as uuidv4, a4 as defineStore } from "./web-component-
|
|
4
|
+
import { f as uuidv4, a4 as defineStore } from "./web-component-Bwafv8LK.js";
|
|
5
5
|
const STORAGE_PREFIX = "print-designer-ai-config";
|
|
6
6
|
const LEGACY_DEFAULT_MODEL = "gpt-4o-mini";
|
|
7
7
|
const clampNumber = (value, min, max, fallback) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as defineComponent, a6 as h, g as computed, a7 as onUnmounted, w as watch, a8 as shallowRef, a9 as loader, L as onMounted, K as nextTick, J as ref } from "./web-component-
|
|
1
|
+
import { j as defineComponent, a6 as h, g as computed, a7 as onUnmounted, w as watch, a8 as shallowRef, a9 as loader, L as onMounted, K as nextTick, J as ref } from "./web-component-Bwafv8LK.js";
|
|
2
2
|
var __defProp$2 = Object.defineProperty;
|
|
3
3
|
var __defProps = Object.defineProperties;
|
|
4
4
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as cloneDeep, f as uuidv4, Z as normalizeVariableKey, _ as ElementType, u as useDesignerStore, $ as HISTORY_ACTION } from "./web-component-
|
|
1
|
+
import { c as cloneDeep, f as uuidv4, Z as normalizeVariableKey, _ as ElementType, u as useDesignerStore, $ as HISTORY_ACTION } from "./web-component-Bwafv8LK.js";
|
|
2
2
|
const registry = /* @__PURE__ */ new Map();
|
|
3
3
|
const registerAction = (definition) => {
|
|
4
4
|
registry.set(definition.id, definition);
|