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.
@@ -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-CFaq9hNs.js";
2
- import { r as requestAiTemplate, A as AiRequestError, u as useAiStore, a as activeAiProfile } from "./client-CmWO24QA.js";
3
- import { u as useAiLocale } from "./index-CTvPPuK3.js";
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-CFaq9hNs.js";
2
- import { u as useAiStore, i as isAiConfigReady, a as activeAiProfile, r as requestAiTemplate, A as AiRequestError } from "./client-CmWO24QA.js";
3
- import { c as createActionText, u as useAiLocale } from "./index-CTvPPuK3.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-CGnhbhlb.js";
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,4 +1,4 @@
1
- import { a5 as getDefaultExportFromCjs } from "./web-component-CFaq9hNs.js";
1
+ import { a5 as getDefaultExportFromCjs } from "./web-component-Bwafv8LK.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -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-CFaq9hNs.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-CmWO24QA.js";
3
- import { c as commitPreview, a as cancelPreview, b as buildSystemPrompt, d as buildUserMessage, n as normalizeTemplate } from "./preview-CGnhbhlb.js";
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,4 +1,4 @@
1
- import { a5 as getDefaultExportFromCjs } from "./web-component-CFaq9hNs.js";
1
+ import { a5 as getDefaultExportFromCjs } from "./web-component-Bwafv8LK.js";
2
2
  function _mergeNamespaces(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -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-CFaq9hNs.js";
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-CFaq9hNs.js";
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 { a as useI18n, g as computed } from "./web-component-CFaq9hNs.js";
1
+ import { a as useI18n, g as computed } from "./web-component-Bwafv8LK.js";
2
2
  const en = {
3
3
  title: "AI Assistant",
4
4
  subtitle: "Generate and refine templates with natural language",
@@ -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-CFaq9hNs.js";
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);
@@ -1,4 +1,4 @@
1
- import { aa } from "./web-component-CFaq9hNs.js";
1
+ import { aa } from "./web-component-Bwafv8LK.js";
2
2
  export {
3
3
  aa as PrintDesignerElement
4
4
  };