@vc-shell/framework 2.6.0-rc.1-pr368.9a75b13 → 2.6.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.
Files changed (38) hide show
  1. package/dist/ai-agent/index.js +2 -2
  2. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js +1386 -0
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js.map +1 -0
  4. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-BR78HEnE.js → VcScheduler.vue_vue_type_script_setup_true_lang-CmKZGfx9.js} +5063 -5168
  5. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CmKZGfx9.js.map +1 -0
  6. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js.map +1 -1
  7. package/dist/chunks/{index-DLsURdJp.js → index-_JlFbcuN.js} +1 -1
  8. package/dist/chunks/{index-DLsURdJp.js.map → index-_JlFbcuN.js.map} +1 -1
  9. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  10. package/dist/framework.js +10 -10
  11. package/dist/framework.js.map +1 -1
  12. package/dist/index.css +1 -1
  13. package/dist/tsconfig.tsbuildinfo +1 -1
  14. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  15. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  16. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  17. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  18. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
  19. package/dist/ui/components/organisms/vc-data-table/types.d.ts +1 -1
  20. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
  21. package/dist/ui/components/shared/header-controls/header-controls.vue.d.ts +15 -0
  22. package/dist/ui/components/shared/header-controls/header-controls.vue.d.ts.map +1 -0
  23. package/dist/ui/components/shared/header-controls/index.d.ts +2 -0
  24. package/dist/ui/components/shared/header-controls/index.d.ts.map +1 -0
  25. package/dist/ui/components/shared/shortcut-kbd/index.d.ts +2 -0
  26. package/dist/ui/components/shared/shortcut-kbd/index.d.ts.map +1 -0
  27. package/dist/ui/components/{organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts → shared/shortcut-kbd/shortcut-kbd.vue.d.ts} +1 -1
  28. package/dist/ui/components/shared/shortcut-kbd/shortcut-kbd.vue.d.ts.map +1 -0
  29. package/dist/ui/components/shared/shortcut-tooltip/index.d.ts +2 -0
  30. package/dist/ui/components/shared/shortcut-tooltip/index.d.ts.map +1 -0
  31. package/dist/ui/components/shared/shortcut-tooltip/shortcut-tooltip.vue.d.ts +21 -0
  32. package/dist/ui/components/shared/shortcut-tooltip/shortcut-tooltip.vue.d.ts.map +1 -0
  33. package/dist/ui/index.js +1 -1
  34. package/package.json +4 -4
  35. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js +0 -1372
  36. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js.map +0 -1
  37. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BR78HEnE.js.map +0 -1
  38. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { inject as c, computed as b, watch as m, onUnmounted as _ } from "vue";
2
2
  import { A as v, B as y, c as p } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
3
- import { D as C, A as x } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
3
+ import { D as C, A as x } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js";
4
4
  const s = p("use-ai-agent-context");
5
5
  function D(e) {
6
6
  return Array.isArray(e.value);
@@ -1 +1 @@
1
- {"version":3,"file":"index-DLsURdJp.js","sources":["../../core/plugins/ai-agent/composables/useAiAgentContext.ts","../../core/plugins/ai-agent/index.ts"],"sourcesContent":["import { inject, computed, watch, onUnmounted, type Ref } from \"vue\";\nimport { AiAgentServiceKey } from \"@framework/injection-keys\";\nimport { BladeDescriptorKey } from \"@core/blade-navigation/types\";\nimport type { IAiAgentServiceInternal } from \"@core/plugins/ai-agent/services/ai-agent-service\";\nimport type { UseAiAgentContextOptions, AiAgentContextType } from \"@core/plugins/ai-agent/types\";\nimport { createLogger } from \"@core/utilities\";\n\nconst logger = createLogger(\"use-ai-agent-context\");\n\n/**\n * Checks if the ref value is an array\n */\nfunction isArrayRef<T>(dataRef: Ref<T> | Ref<T[]>): dataRef is Ref<T[]> {\n return Array.isArray(dataRef.value);\n}\n\n/**\n * Normalizes any ref value to an array for sending to the AI agent\n */\nfunction normalizeToArray<T>(value: T | T[]): T[] {\n if (Array.isArray(value)) {\n return value;\n }\n return value != null ? [value] : [];\n}\n\n/**\n * Composable for binding blade data to AI agent context.\n *\n * Sends data updates to the AI agent when dataRef changes and normalizes\n * single objects to arrays for the agent protocol.\n *\n * @example List blade (array of selected items)\n * ```typescript\n * const { selectedItems } = useTableSelection<Offer>();\n *\n * useAiAgentContext({ dataRef: selectedItems });\n * ```\n *\n * @example Details blade (single object - automatically wrapped in array)\n * ```typescript\n * const offer = ref<Offer>({});\n *\n * useAiAgentContext({ dataRef: offer });\n * ```\n *\n * @example With custom suggestions\n * ```typescript\n * useAiAgentContext({\n * dataRef: offer,\n * suggestions: [\n * {\n * id: \"translate\",\n * title: \"Translate description\",\n * icon: \"translation\",\n * iconColor: \"#FF4A4A\",\n * prompt: \"Translate the offer description to English\"\n * },\n * ],\n * });\n * ```\n */\nexport function useAiAgentContext<\n T extends {\n id?: string | undefined;\n objectType?: string | undefined;\n name?: string | undefined;\n },\n>(options: UseAiAgentContextOptions<T>): void {\n const { dataRef, suggestions } = options;\n\n // Try to get the service (may not be available if plugin not installed)\n const service = inject(AiAgentServiceKey) as IAiAgentServiceInternal | undefined;\n\n // Get current blade descriptor to identify which blade this context belongs to\n const bladeDescriptor = inject(BladeDescriptorKey, null);\n const bladeId = computed(() => bladeDescriptor?.value?.id);\n\n // If service is not available, nothing to bind\n if (!service) {\n logger.debug(\"AiAgentService not available, context binding disabled\");\n return;\n }\n\n // Determine context type based on dataRef type\n // Array ref = list blade (multiple selected items)\n // Single object ref = details blade (single item being edited)\n const detectedContextType: AiAgentContextType = isArrayRef(dataRef) ? \"list\" : \"details\";\n\n // Set context data in service (items, contextType, and suggestions)\n // Always sends an array to the service, normalizing single objects\n // Context is bound to specific blade ID\n const updateContextData = () => {\n const raw = normalizeToArray(dataRef.value);\n const items =\n detectedContextType === \"details\"\n ? raw.map((item) => ({ ...item }))\n : raw.map((item) => ({ id: item.id, objectType: item.objectType, name: item.name }));\n service._setContextData(items, detectedContextType, suggestions, bladeId.value);\n logger.debug(`Context updated: ${items.length} items, type: ${detectedContextType}, blade: ${bladeId.value}`);\n };\n\n // Watch dataRef for changes and update context\n const stopWatch = watch(dataRef, updateContextData, { deep: true, immediate: true });\n\n // Cleanup on unmount\n onUnmounted(() => {\n stopWatch();\n // Clear context for this specific blade when component unmounts\n service._setContextData([], \"list\", undefined, bladeId.value);\n logger.debug(`Context cleared on unmount for blade: ${bladeId.value}`);\n });\n}\n","import type { App } from \"vue\";\nimport type { IAiAgentConfig } from \"@core/plugins/ai-agent/types\";\nimport { DEFAULT_AI_AGENT_CONFIG, AI_AGENT_URL_ENV_KEY } from \"@core/plugins/ai-agent/constants\";\nimport { createLogger } from \"@core/utilities\";\n\nconst logger = createLogger(\"ai-agent-plugin\");\n\n/**\n * Options for the AI Agent Plugin\n */\nexport interface AiAgentPluginOptions {\n /**\n * AI Agent configuration.\n * URL can also be set via APP_AI_AGENT_URL environment variable.\n */\n config?: Partial<IAiAgentConfig>;\n\n /**\n * Whether to add the AI button to all blade toolbars automatically.\n * Default: true\n */\n addGlobalToolbarButton?: boolean;\n}\n\n/**\n * Vue plugin for AI Agent integration.\n *\n * @example\n * ```typescript\n * import { createApp } from \"vue\";\n * import { aiAgentPlugin } from \"@vc-shell/framework\";\n *\n * const app = createApp(App);\n *\n * // Install with options\n * app.use(aiAgentPlugin, {\n * config: {\n * title: \"AI Assistant\",\n * width: 400,\n * },\n * addGlobalToolbarButton: true,\n * });\n * ```\n */\nexport const aiAgentPlugin = {\n install(app: App, options: AiAgentPluginOptions = {}) {\n const { config = {}, addGlobalToolbarButton = true } = options;\n\n // Get URL from environment variable if not provided\n let url = config.url || \"\";\n if (!url && typeof import.meta !== \"undefined\" && import.meta.env) {\n url = import.meta.env[AI_AGENT_URL_ENV_KEY] || \"\";\n }\n\n // Skip installation if no URL configured\n if (!url) {\n logger.info(\n \"AI Agent plugin skipped: no URL configured. Set APP_AI_AGENT_URL env variable or pass config.url option.\",\n );\n return;\n }\n\n // Merge config with defaults\n const finalConfig: IAiAgentConfig = {\n ...DEFAULT_AI_AGENT_CONFIG,\n ...config,\n url,\n };\n\n // Store config in app global properties for access during service creation\n app.config.globalProperties.$aiAgentConfig = finalConfig;\n app.provide(\"aiAgentConfig\", finalConfig);\n app.provide(\"aiAgentAddGlobalToolbarButton\", addGlobalToolbarButton);\n\n logger.info(`AI Agent plugin installed. URL: ${url}, addGlobalToolbarButton: ${addGlobalToolbarButton}`);\n },\n};\n\n// Re-export all types\nexport * from \"@core/plugins/ai-agent/types\";\nexport * from \"@core/plugins/ai-agent/constants\";\n\n// Re-export composables\nexport {\n useAiAgent,\n provideAiAgentService,\n createAiAgentToolbarButton,\n} from \"@core/plugins/ai-agent/composables/useAiAgent\";\nexport type { UseAiAgentReturn, ProvideAiAgentServiceOptions } from \"@core/plugins/ai-agent/composables/useAiAgent\";\n\nexport { useAiAgentContext } from \"@core/plugins/ai-agent/composables/useAiAgentContext\";\n\n// Re-export components\nexport { VcAiAgentPanel } from \"@core/plugins/ai-agent/components\";\n\n// Re-export service types\nexport type {\n IAiAgentServiceInternal,\n CreateAiAgentServiceOptions,\n} from \"@core/plugins/ai-agent/services/ai-agent-service\";\n"],"names":["logger","createLogger","isArrayRef","dataRef","normalizeToArray","value","useAiAgentContext","options","suggestions","service","inject","AiAgentServiceKey","bladeDescriptor","BladeDescriptorKey","bladeId","computed","detectedContextType","stopWatch","watch","raw","items","item","onUnmounted","aiAgentPlugin","app","config","addGlobalToolbarButton","url","__vite_import_meta_env__","AI_AGENT_URL_ENV_KEY","finalConfig","DEFAULT_AI_AGENT_CONFIG"],"mappings":";;;AAOA,MAAMA,IAASC,EAAa,sBAAsB;AAKlD,SAASC,EAAcC,GAAiD;AACtE,SAAO,MAAM,QAAQA,EAAQ,KAAK;AACpC;AAKA,SAASC,EAAoBC,GAAqB;AAChD,SAAI,MAAM,QAAQA,CAAK,IACdA,IAEFA,KAAS,OAAO,CAACA,CAAK,IAAI,CAAA;AACnC;AAsCO,SAASC,EAMdC,GAA4C;AAC5C,QAAM,EAAE,SAAAJ,GAAS,aAAAK,EAAA,IAAgBD,GAG3BE,IAAUC,EAAOC,CAAiB,GAGlCC,IAAkBF,EAAOG,GAAoB,IAAI,GACjDC,IAAUC,EAAS,MAAMH,GAAiB,OAAO,EAAE;AAGzD,MAAI,CAACH,GAAS;AACZT,IAAAA,EAAO,MAAM,wDAAwD;AACrE;AAAA,EACF;AAKA,QAAMgB,IAA0Cd,EAAWC,CAAO,IAAI,SAAS,WAgBzEc,IAAYC,EAAMf,GAXE,MAAM;AAC9B,UAAMgB,IAAMf,EAAiBD,EAAQ,KAAK,GACpCiB,IACJJ,MAAwB,YACpBG,EAAI,IAAI,CAACE,OAAU,EAAE,GAAGA,IAAO,IAC/BF,EAAI,IAAI,CAACE,OAAU,EAAE,IAAIA,EAAK,IAAI,YAAYA,EAAK,YAAY,MAAMA,EAAK,KAAA,EAAO;AACvF,IAAAZ,EAAQ,gBAAgBW,GAAOJ,GAAqBR,GAAaM,EAAQ,KAAK,GAC9Ed,EAAO,MAAM,oBAAoBoB,EAAM,MAAM,iBAAiBJ,CAAmB,YAAYF,EAAQ,KAAK,EAAE;AAAA,EAC9G,GAGoD,EAAE,MAAM,IAAM,WAAW,IAAM;AAGnF,EAAAQ,EAAY,MAAM;AAChB,IAAAL,EAAA,GAEAR,EAAQ,gBAAgB,CAAA,GAAI,QAAQ,QAAWK,EAAQ,KAAK,GAC5Dd,EAAO,MAAM,yCAAyCc,EAAQ,KAAK,EAAE;AAAA,EACvE,CAAC;AACH;6EC3GMd,IAASC,EAAa,iBAAiB,GAuChCsB,IAAgB;AAAA,EAC3B,QAAQC,GAAUjB,IAAgC,IAAI;AACpD,UAAM,EAAE,QAAAkB,IAAS,CAAA,GAAI,wBAAAC,IAAyB,OAASnB;AAGvD,QAAIoB,IAAMF,EAAO,OAAO;AAMxB,QALI,CAACE,KAAO,OAAO,cAAgB,OAAeC,MAChDD,IAAMC,EAAgBC,CAAoB,KAAK,KAI7C,CAACF,GAAK;AACR,MAAA3B,EAAO;AAAA,QACL;AAAA,MAAA;AAEF;AAAA,IACF;AAGA,UAAM8B,IAA8B;AAAA,MAClC,GAAGC;AAAA,MACH,GAAGN;AAAA,MACH,KAAAE;AAAA,IAAA;AAIF,IAAAH,EAAI,OAAO,iBAAiB,iBAAiBM,GAC7CN,EAAI,QAAQ,iBAAiBM,CAAW,GACxCN,EAAI,QAAQ,iCAAiCE,CAAsB,GAEnE1B,EAAO,KAAK,mCAAmC2B,CAAG,6BAA6BD,CAAsB,EAAE;AAAA,EACzG;AACF;"}
1
+ {"version":3,"file":"index-_JlFbcuN.js","sources":["../../core/plugins/ai-agent/composables/useAiAgentContext.ts","../../core/plugins/ai-agent/index.ts"],"sourcesContent":["import { inject, computed, watch, onUnmounted, type Ref } from \"vue\";\nimport { AiAgentServiceKey } from \"@framework/injection-keys\";\nimport { BladeDescriptorKey } from \"@core/blade-navigation/types\";\nimport type { IAiAgentServiceInternal } from \"@core/plugins/ai-agent/services/ai-agent-service\";\nimport type { UseAiAgentContextOptions, AiAgentContextType } from \"@core/plugins/ai-agent/types\";\nimport { createLogger } from \"@core/utilities\";\n\nconst logger = createLogger(\"use-ai-agent-context\");\n\n/**\n * Checks if the ref value is an array\n */\nfunction isArrayRef<T>(dataRef: Ref<T> | Ref<T[]>): dataRef is Ref<T[]> {\n return Array.isArray(dataRef.value);\n}\n\n/**\n * Normalizes any ref value to an array for sending to the AI agent\n */\nfunction normalizeToArray<T>(value: T | T[]): T[] {\n if (Array.isArray(value)) {\n return value;\n }\n return value != null ? [value] : [];\n}\n\n/**\n * Composable for binding blade data to AI agent context.\n *\n * Sends data updates to the AI agent when dataRef changes and normalizes\n * single objects to arrays for the agent protocol.\n *\n * @example List blade (array of selected items)\n * ```typescript\n * const { selectedItems } = useTableSelection<Offer>();\n *\n * useAiAgentContext({ dataRef: selectedItems });\n * ```\n *\n * @example Details blade (single object - automatically wrapped in array)\n * ```typescript\n * const offer = ref<Offer>({});\n *\n * useAiAgentContext({ dataRef: offer });\n * ```\n *\n * @example With custom suggestions\n * ```typescript\n * useAiAgentContext({\n * dataRef: offer,\n * suggestions: [\n * {\n * id: \"translate\",\n * title: \"Translate description\",\n * icon: \"translation\",\n * iconColor: \"#FF4A4A\",\n * prompt: \"Translate the offer description to English\"\n * },\n * ],\n * });\n * ```\n */\nexport function useAiAgentContext<\n T extends {\n id?: string | undefined;\n objectType?: string | undefined;\n name?: string | undefined;\n },\n>(options: UseAiAgentContextOptions<T>): void {\n const { dataRef, suggestions } = options;\n\n // Try to get the service (may not be available if plugin not installed)\n const service = inject(AiAgentServiceKey) as IAiAgentServiceInternal | undefined;\n\n // Get current blade descriptor to identify which blade this context belongs to\n const bladeDescriptor = inject(BladeDescriptorKey, null);\n const bladeId = computed(() => bladeDescriptor?.value?.id);\n\n // If service is not available, nothing to bind\n if (!service) {\n logger.debug(\"AiAgentService not available, context binding disabled\");\n return;\n }\n\n // Determine context type based on dataRef type\n // Array ref = list blade (multiple selected items)\n // Single object ref = details blade (single item being edited)\n const detectedContextType: AiAgentContextType = isArrayRef(dataRef) ? \"list\" : \"details\";\n\n // Set context data in service (items, contextType, and suggestions)\n // Always sends an array to the service, normalizing single objects\n // Context is bound to specific blade ID\n const updateContextData = () => {\n const raw = normalizeToArray(dataRef.value);\n const items =\n detectedContextType === \"details\"\n ? raw.map((item) => ({ ...item }))\n : raw.map((item) => ({ id: item.id, objectType: item.objectType, name: item.name }));\n service._setContextData(items, detectedContextType, suggestions, bladeId.value);\n logger.debug(`Context updated: ${items.length} items, type: ${detectedContextType}, blade: ${bladeId.value}`);\n };\n\n // Watch dataRef for changes and update context\n const stopWatch = watch(dataRef, updateContextData, { deep: true, immediate: true });\n\n // Cleanup on unmount\n onUnmounted(() => {\n stopWatch();\n // Clear context for this specific blade when component unmounts\n service._setContextData([], \"list\", undefined, bladeId.value);\n logger.debug(`Context cleared on unmount for blade: ${bladeId.value}`);\n });\n}\n","import type { App } from \"vue\";\nimport type { IAiAgentConfig } from \"@core/plugins/ai-agent/types\";\nimport { DEFAULT_AI_AGENT_CONFIG, AI_AGENT_URL_ENV_KEY } from \"@core/plugins/ai-agent/constants\";\nimport { createLogger } from \"@core/utilities\";\n\nconst logger = createLogger(\"ai-agent-plugin\");\n\n/**\n * Options for the AI Agent Plugin\n */\nexport interface AiAgentPluginOptions {\n /**\n * AI Agent configuration.\n * URL can also be set via APP_AI_AGENT_URL environment variable.\n */\n config?: Partial<IAiAgentConfig>;\n\n /**\n * Whether to add the AI button to all blade toolbars automatically.\n * Default: true\n */\n addGlobalToolbarButton?: boolean;\n}\n\n/**\n * Vue plugin for AI Agent integration.\n *\n * @example\n * ```typescript\n * import { createApp } from \"vue\";\n * import { aiAgentPlugin } from \"@vc-shell/framework\";\n *\n * const app = createApp(App);\n *\n * // Install with options\n * app.use(aiAgentPlugin, {\n * config: {\n * title: \"AI Assistant\",\n * width: 400,\n * },\n * addGlobalToolbarButton: true,\n * });\n * ```\n */\nexport const aiAgentPlugin = {\n install(app: App, options: AiAgentPluginOptions = {}) {\n const { config = {}, addGlobalToolbarButton = true } = options;\n\n // Get URL from environment variable if not provided\n let url = config.url || \"\";\n if (!url && typeof import.meta !== \"undefined\" && import.meta.env) {\n url = import.meta.env[AI_AGENT_URL_ENV_KEY] || \"\";\n }\n\n // Skip installation if no URL configured\n if (!url) {\n logger.info(\n \"AI Agent plugin skipped: no URL configured. Set APP_AI_AGENT_URL env variable or pass config.url option.\",\n );\n return;\n }\n\n // Merge config with defaults\n const finalConfig: IAiAgentConfig = {\n ...DEFAULT_AI_AGENT_CONFIG,\n ...config,\n url,\n };\n\n // Store config in app global properties for access during service creation\n app.config.globalProperties.$aiAgentConfig = finalConfig;\n app.provide(\"aiAgentConfig\", finalConfig);\n app.provide(\"aiAgentAddGlobalToolbarButton\", addGlobalToolbarButton);\n\n logger.info(`AI Agent plugin installed. URL: ${url}, addGlobalToolbarButton: ${addGlobalToolbarButton}`);\n },\n};\n\n// Re-export all types\nexport * from \"@core/plugins/ai-agent/types\";\nexport * from \"@core/plugins/ai-agent/constants\";\n\n// Re-export composables\nexport {\n useAiAgent,\n provideAiAgentService,\n createAiAgentToolbarButton,\n} from \"@core/plugins/ai-agent/composables/useAiAgent\";\nexport type { UseAiAgentReturn, ProvideAiAgentServiceOptions } from \"@core/plugins/ai-agent/composables/useAiAgent\";\n\nexport { useAiAgentContext } from \"@core/plugins/ai-agent/composables/useAiAgentContext\";\n\n// Re-export components\nexport { VcAiAgentPanel } from \"@core/plugins/ai-agent/components\";\n\n// Re-export service types\nexport type {\n IAiAgentServiceInternal,\n CreateAiAgentServiceOptions,\n} from \"@core/plugins/ai-agent/services/ai-agent-service\";\n"],"names":["logger","createLogger","isArrayRef","dataRef","normalizeToArray","value","useAiAgentContext","options","suggestions","service","inject","AiAgentServiceKey","bladeDescriptor","BladeDescriptorKey","bladeId","computed","detectedContextType","stopWatch","watch","raw","items","item","onUnmounted","aiAgentPlugin","app","config","addGlobalToolbarButton","url","__vite_import_meta_env__","AI_AGENT_URL_ENV_KEY","finalConfig","DEFAULT_AI_AGENT_CONFIG"],"mappings":";;;AAOA,MAAMA,IAASC,EAAa,sBAAsB;AAKlD,SAASC,EAAcC,GAAiD;AACtE,SAAO,MAAM,QAAQA,EAAQ,KAAK;AACpC;AAKA,SAASC,EAAoBC,GAAqB;AAChD,SAAI,MAAM,QAAQA,CAAK,IACdA,IAEFA,KAAS,OAAO,CAACA,CAAK,IAAI,CAAA;AACnC;AAsCO,SAASC,EAMdC,GAA4C;AAC5C,QAAM,EAAE,SAAAJ,GAAS,aAAAK,EAAA,IAAgBD,GAG3BE,IAAUC,EAAOC,CAAiB,GAGlCC,IAAkBF,EAAOG,GAAoB,IAAI,GACjDC,IAAUC,EAAS,MAAMH,GAAiB,OAAO,EAAE;AAGzD,MAAI,CAACH,GAAS;AACZT,IAAAA,EAAO,MAAM,wDAAwD;AACrE;AAAA,EACF;AAKA,QAAMgB,IAA0Cd,EAAWC,CAAO,IAAI,SAAS,WAgBzEc,IAAYC,EAAMf,GAXE,MAAM;AAC9B,UAAMgB,IAAMf,EAAiBD,EAAQ,KAAK,GACpCiB,IACJJ,MAAwB,YACpBG,EAAI,IAAI,CAACE,OAAU,EAAE,GAAGA,IAAO,IAC/BF,EAAI,IAAI,CAACE,OAAU,EAAE,IAAIA,EAAK,IAAI,YAAYA,EAAK,YAAY,MAAMA,EAAK,KAAA,EAAO;AACvF,IAAAZ,EAAQ,gBAAgBW,GAAOJ,GAAqBR,GAAaM,EAAQ,KAAK,GAC9Ed,EAAO,MAAM,oBAAoBoB,EAAM,MAAM,iBAAiBJ,CAAmB,YAAYF,EAAQ,KAAK,EAAE;AAAA,EAC9G,GAGoD,EAAE,MAAM,IAAM,WAAW,IAAM;AAGnF,EAAAQ,EAAY,MAAM;AAChB,IAAAL,EAAA,GAEAR,EAAQ,gBAAgB,CAAA,GAAI,QAAQ,QAAWK,EAAQ,KAAK,GAC5Dd,EAAO,MAAM,yCAAyCc,EAAQ,KAAK,EAAE;AAAA,EACvE,CAAC;AACH;6EC3GMd,IAASC,EAAa,iBAAiB,GAuChCsB,IAAgB;AAAA,EAC3B,QAAQC,GAAUjB,IAAgC,IAAI;AACpD,UAAM,EAAE,QAAAkB,IAAS,CAAA,GAAI,wBAAAC,IAAyB,OAASnB;AAGvD,QAAIoB,IAAMF,EAAO,OAAO;AAMxB,QALI,CAACE,KAAO,OAAO,cAAgB,OAAeC,MAChDD,IAAMC,EAAgBC,CAAoB,KAAK,KAI7C,CAACF,GAAK;AACR,MAAA3B,EAAO;AAAA,QACL;AAAA,MAAA;AAEF;AAAA,IACF;AAGA,UAAM8B,IAA8B;AAAA,MAClC,GAAGC;AAAA,MACH,GAAGN;AAAA,MACH,KAAAE;AAAA,IAAA;AAIF,IAAAH,EAAI,OAAO,iBAAiB,iBAAiBM,GAC7CN,EAAI,QAAQ,iBAAiBM,CAAW,GACxCN,EAAI,QAAQ,iCAAiCE,CAAsB,GAEnE1B,EAAO,KAAK,mCAAmC2B,CAAG,6BAA6BD,CAAsB,EAAE;AAAA,EACzG;AACF;"}
@@ -1 +1 @@
1
- {"version":3,"file":"VcAiAgentHeader.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue"],"names":[],"mappings":"AA4LA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA6SF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"VcAiAgentHeader.vue.d.ts","sourceRoot":"","sources":["../../../../../../core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue"],"names":[],"mappings":"AAuFA,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AA0GF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
package/dist/framework.js CHANGED
@@ -2,16 +2,16 @@ import { b as Ma, c as ka } from "./chunks/vendor-vueuse-core-_wFDcFkI.js";
2
2
  import { N as st, O as se, P as J, Q as z, l as x, R as Pe, S as Va, T as yt, p as ot, q as $, n as Se, A as Ua, U as Fa, W as Wa, X as Ha, V as Ee, Y as Ga, Z as xa, $ as $a, a0 as Ka, a1 as za, a2 as qa, a3 as Ya, a4 as Za, a5 as ja } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js";
3
3
  import { B as Zl, a6 as jl, a as Xl, _ as Jl, b as Ql, c as eu, d as tu, e as au, f as nu, g as su, h as ou, i as ru, j as iu, k as lu, a7 as uu, a8 as cu, a9 as du, aa as Eu, ab as fu, ac as mu, ad as gu, m as Su, o as Au, r as pu, s as Tu, t as hu, u as Lu, v as Ou, w as Ru, x as _u, y as Iu, z as vu, ae as wu, af as Cu, ag as Pu, ah as bu, ai as Nu, aj as Du, ak as yu, al as Bu, am as Mu, an as ku, ao as Vu, ap as Uu, aq as Fu, ar as Wu, as as Hu, at as Gu, au as xu, av as $u, aw as Ku, ax as zu, ay as qu, C as Yu, az as Zu, aA as ju, aB as Xu, aC as Ju, D as Qu, aD as ec, aE as tc, aF as ac, aG as nc, aH as sc, aI as oc, aJ as rc, aK as ic, aL as lc, E as uc, F as cc, G as dc, L as Ec, aM as fc, H as mc, I as gc, aN as Sc, J as Ac, aO as pc, aP as Tc, aQ as hc } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js";
4
4
  import { getCurrentScope as rt, onScopeDispose as it, computed as v, inject as Q, watch as ae, defineComponent as H, openBlock as P, createBlock as D, createSlots as Le, withCtx as T, renderSlot as Y, createElementVNode as U, normalizeClass as Xa, createElementBlock as W, Fragment as ne, createVNode as R, unref as i, createTextVNode as M, toDisplayString as y, shallowReactive as Ja, ref as b, readonly as Me, onMounted as Oe, onBeforeMount as Qa, onBeforeUnmount as en, shallowRef as tn, onUnmounted as an, provide as Bt, toValue as Mt, isRef as kt, normalizeStyle as Vt, createCommentVNode as q, withDirectives as nn, withModifiers as He, reactive as ie, createApp as sn, nextTick as be, renderList as Fe, withKeys as lt, mergeProps as re, getCurrentInstance as on, warn as rn, h as ee, toRaw as ln } from "vue";
5
- import { aS as fe, aT as un, aU as cn, aV as Ut, aW as Ge, aX as dn, aY as En, aZ as fn, a_ as mn, a$ as gn, ab as Sn, b0 as xe, b1 as An, b2 as pn, b3 as Re, b4 as We, b5 as Te, b6 as F, b7 as he, b8 as Tn, b9 as hn, ba as mt, bb as Ft, F as Wt, M as Ln, Y as me, W as $e, am as On, N as Rn, ai as _n, B as _e, a3 as Ht, E as In, bc as vn, bd as wn, be as Cn, an as gt, bf as Pn, bg as bn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BR78HEnE.js";
6
- import { bh as Oc, bi as Rc, C as _c, bj as Ic, bk as vc, bl as wc, _ as Cc, bm as Pc, bn as bc, S as Nc, bo as Dc, bp as yc, a as Bc, b as Mc, c as kc, d as Vc, e as Uc, f as Fc, T as Wc, g as Hc, h as Gc, i as xc, j as $c, k as Kc, l as zc, m as qc, bq as Yc, br as Zc, V as jc, n as Xc, o as Jc, p as Qc, q as ed, r as td, s as ad, t as nd, u as sd, v as od, w as rd, x as id, y as ld, z as ud, A as cd, D as dd, bs as Ed, bs as fd, bt as md, G as gd, H as Sd, I as Ad, J as pd, K as Td, L as hd, O as Ld, P as Od, Q as Rd, R as _d, U as Id, X as vd, Z as wd, $ as Cd, a0 as Pd, a1 as bd, a2 as Nd, a4 as Dd, a5 as yd, a6 as Bd, a7 as Md, a8 as kd, a9 as Vd, aa as Ud, ac as Fd, ad as Wd, ae as Hd, af as Gd, ag as xd, ah as $d, aj as Kd, ak as zd, al as qd, ao as Yd, ap as Zd, bu as jd, aq as Xd, bv as Jd, bw as Qd, bx as eE, by as tE, bz as aE, bA as nE, bB as sE, bC as oE, bD as rE, bE as iE, bF as lE, bG as uE, ar as cE, as as dE, at as EE, bH as fE, au as mE, av as gE, bI as SE, aw as AE, ax as pE, ay as TE, az as hE, bJ as LE, aA as OE, aB as RE, aC as _E, bK as IE, aD as vE, aE as wE, aF as CE, aG as PE, bL as bE, aH as NE, aI as DE, aJ as yE, aK as BE, aL as ME, aM as kE, aN as VE, aO as UE, aP as FE, aQ as WE, aR as HE, aq as GE } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BR78HEnE.js";
5
+ import { aS as fe, aT as un, aU as cn, aV as Ut, aW as Ge, aX as dn, aY as En, aZ as fn, a_ as mn, a$ as gn, ab as Sn, b0 as xe, b1 as An, b2 as pn, b3 as Re, b4 as We, b5 as Te, b6 as F, b7 as he, b8 as Tn, b9 as hn, ba as mt, bb as Ft, F as Wt, M as Ln, Y as me, W as $e, am as On, N as Rn, ai as _n, B as _e, a3 as Ht, E as In, bc as vn, bd as wn, be as Cn, an as gt, bf as Pn, bg as bn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CmKZGfx9.js";
6
+ import { bh as Oc, bi as Rc, C as _c, bj as Ic, bk as vc, bl as wc, _ as Cc, bm as Pc, bn as bc, S as Nc, bo as Dc, bp as yc, a as Bc, b as Mc, c as kc, d as Vc, e as Uc, f as Fc, T as Wc, g as Hc, h as Gc, i as xc, j as $c, k as Kc, l as zc, m as qc, bq as Yc, br as Zc, V as jc, n as Xc, o as Jc, p as Qc, q as ed, r as td, s as ad, t as nd, u as sd, v as od, w as rd, x as id, y as ld, z as ud, A as cd, D as dd, bs as Ed, bs as fd, bt as md, G as gd, H as Sd, I as Ad, J as pd, K as Td, L as hd, O as Ld, P as Od, Q as Rd, R as _d, U as Id, X as vd, Z as wd, $ as Cd, a0 as Pd, a1 as bd, a2 as Nd, a4 as Dd, a5 as yd, a6 as Bd, a7 as Md, a8 as kd, a9 as Vd, aa as Ud, ac as Fd, ad as Wd, ae as Hd, af as Gd, ag as xd, ah as $d, aj as Kd, ak as zd, al as qd, ao as Yd, ap as Zd, bu as jd, aq as Xd, bv as Jd, bw as Qd, bx as eE, by as tE, bz as aE, bA as nE, bB as sE, bC as oE, bD as rE, bE as iE, bF as lE, bG as uE, ar as cE, as as dE, at as EE, bH as fE, au as mE, av as gE, bI as SE, aw as AE, ax as pE, ay as TE, az as hE, bJ as LE, aA as OE, aB as RE, aC as _E, bK as IE, aD as vE, aE as wE, aF as CE, aG as PE, bL as bE, aH as NE, aI as DE, aJ as yE, aK as BE, aL as ME, aM as kE, aN as VE, aO as UE, aP as FE, aQ as WE, aR as HE, aq as GE } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CmKZGfx9.js";
7
7
  import { _ as Nn } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
8
8
  import { c as k, b as Dn, d as yn, i as et, S as Bn, W as Gt, B as xt, h as Mn, j as $t, k as kn, m as Vn, l as Kt, n as Un, _ as Fn, L as Wn, I as Hn, o as Gn, p as xn, q as $n, r as Kn, s as zn, T as qn, t as Yn, v as Zn, w as jn, x as Xn } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
9
9
  import { A as $E, y as KE, z as zE, C as qE, D as YE, F as ZE, G as jE, H as XE, J as JE, K as QE, e as ef, f as tf, O as af, P as nf, Q as sf, R as of, U as rf, V as lf, X as uf, Y as cf, Z as df, $ as Ef, a0 as ff, E as mf, a1 as gf, a2 as Sf, a3 as Af, a4 as pf, a5 as Tf, a6 as hf, a7 as Lf, a8 as Of, M as Rf, N as _f, a9 as If, aa as vf, ab as wf, ac as Cf, ad as Pf, ae as bf, af as Nf, ag as Df, a as yf, ah as Bf, ai as Mf, aj as kf, ak as Vf, u as Uf, g as Ff } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
10
10
  import { H as Jn, L as Qn } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
11
- import { a as es } from "./chunks/index-DLsURdJp.js";
12
- import { u as Hf } from "./chunks/index-DLsURdJp.js";
13
- import { a as ts, s as as, b as ns, d as ss, e as os, f as ut, g as rs, h as is, i as ls, j as us } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
14
- import { A as xf, D as $f, E as Kf, H as zf, _ as qf, c as Yf, k as Zf, l as jf, m as Xf, n as Jf, o as Qf, p as em, u as tm, q as am, r as nm, t as sm } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-y-eKcMMU.js";
11
+ import { a as es } from "./chunks/index-_JlFbcuN.js";
12
+ import { u as Hf } from "./chunks/index-_JlFbcuN.js";
13
+ import { a as ts, s as as, b as ns, d as ss, e as os, f as ut, g as rs, h as is, i as ls, j as us } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js";
14
+ import { A as xf, D as $f, E as Kf, H as zf, _ as qf, c as Yf, k as Zf, l as jf, m as Xf, n as Jf, o as Qf, p as em, u as tm, q as am, r as nm, t as sm } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js";
15
15
  import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
16
16
  import "./chunks/vendor-dompurify-DpIUMBYC.js";
17
17
  import { u as le } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
@@ -2096,12 +2096,12 @@ function $o() {
2096
2096
  hasNotification: (t) => e.hasNotification(t)
2097
2097
  });
2098
2098
  }
2099
- const Ko = "2.6.0-rc.1-pr368.9a75b13";
2099
+ const Ko = "2.6.1";
2100
2100
  function zo() {
2101
2101
  return {
2102
2102
  version: Ko,
2103
- buildDate: "2026-09-22T14:52:10.436Z",
2104
- gitHash: "9a75b13b7"
2103
+ buildDate: "2026-09-29T10:58:05.505Z",
2104
+ gitHash: "ce2647528"
2105
2105
  };
2106
2106
  }
2107
2107
  function qo(e = zo()) {
@@ -3460,7 +3460,7 @@ function Or(e) {
3460
3460
  phone: 480,
3461
3461
  desktop: 1024
3462
3462
  });
3463
- e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greater("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(Hn, e.config.globalProperties.$isPhone), e.provide(Gn, e.config.globalProperties.$isTablet), e.provide(xn, e.config.globalProperties.$isMobile), e.provide($n, e.config.globalProperties.$isDesktop), e.provide(Kn, e.config.globalProperties.$isTouch);
3463
+ e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greaterOrEqual("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(Hn, e.config.globalProperties.$isPhone), e.provide(Gn, e.config.globalProperties.$isTablet), e.provide(xn, e.config.globalProperties.$isMobile), e.provide($n, e.config.globalProperties.$isDesktop), e.provide(Kn, e.config.globalProperties.$isTouch);
3464
3464
  }
3465
3465
  function Rr(e) {
3466
3466
  e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(zn, e.config.globalProperties.bladeRoutes);