@vc-shell/framework 2.0.10-pr247.f47cc74 → 2.0.11-pr247.0f1e741
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/ai-agent/index.js +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js} +431 -426
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js.map} +1 -1
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js → VcTableAdapter.vue_vue_type_style_index_0_lang-DbKOU25C.js} +1 -1
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js.map → VcTableAdapter.vue_vue_type_style_index_0_lang-DbKOU25C.js.map} +1 -1
- package/dist/chunks/{index-0btrtSam.js → index-DELXU1qy.js} +1 -1
- package/dist/chunks/{index-0btrtSam.js.map → index-DELXU1qy.js.map} +1 -1
- package/dist/core/blade-navigation/index.d.ts.map +1 -1
- package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts +11 -5
- package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts.map +1 -1
- package/dist/core/composables/useBlade/index.d.ts +2 -0
- package/dist/core/composables/useBlade/index.d.ts.map +1 -1
- package/dist/framework.js +13 -11
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject as c, computed as b, watch as _, onUnmounted as m } from "vue";
|
|
2
|
-
import { b as v, B as y, d as p, D as C, A as x } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { b as v, B as y, d as p, D as C, A as x } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js";
|
|
3
3
|
const s = p("use-ai-agent-context");
|
|
4
4
|
function D(e) {
|
|
5
5
|
return Array.isArray(e.value);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-DELXU1qy.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\";\r\nimport type { IAiAgentConfig } from \"@core/plugins/ai-agent/types\";\r\nimport { DEFAULT_AI_AGENT_CONFIG, AI_AGENT_URL_ENV_KEY } from \"@core/plugins/ai-agent/constants\";\r\nimport { createLogger } from \"@core/utilities\";\r\n\r\nconst logger = createLogger(\"ai-agent-plugin\");\r\n\r\n/**\r\n * Options for the AI Agent Plugin\r\n */\r\nexport interface AiAgentPluginOptions {\r\n /**\r\n * AI Agent configuration.\r\n * URL can also be set via APP_AI_AGENT_URL environment variable.\r\n */\r\n config?: Partial<IAiAgentConfig>;\r\n\r\n /**\r\n * Whether to add the AI button to all blade toolbars automatically.\r\n * Default: true\r\n */\r\n addGlobalToolbarButton?: boolean;\r\n}\r\n\r\n/**\r\n * Vue plugin for AI Agent integration.\r\n *\r\n * @example\r\n * ```typescript\r\n * import { createApp } from \"vue\";\r\n * import { aiAgentPlugin } from \"@vc-shell/framework\";\r\n *\r\n * const app = createApp(App);\r\n *\r\n * // Install with options\r\n * app.use(aiAgentPlugin, {\r\n * config: {\r\n * title: \"AI Assistant\",\r\n * width: 400,\r\n * },\r\n * addGlobalToolbarButton: true,\r\n * });\r\n * ```\r\n */\r\nexport const aiAgentPlugin = {\r\n install(app: App, options: AiAgentPluginOptions = {}) {\r\n const { config = {}, addGlobalToolbarButton = true } = options;\r\n\r\n // Get URL from environment variable if not provided\r\n let url = config.url || \"\";\r\n if (!url && typeof import.meta !== \"undefined\" && import.meta.env) {\r\n url = import.meta.env[AI_AGENT_URL_ENV_KEY] || \"\";\r\n }\r\n\r\n // Skip installation if no URL configured\r\n if (!url) {\r\n logger.info(\r\n \"AI Agent plugin skipped: no URL configured. Set APP_AI_AGENT_URL env variable or pass config.url option.\",\r\n );\r\n return;\r\n }\r\n\r\n // Merge config with defaults\r\n const finalConfig: IAiAgentConfig = {\r\n ...DEFAULT_AI_AGENT_CONFIG,\r\n ...config,\r\n url,\r\n };\r\n\r\n // Store config in app global properties for access during service creation\r\n app.config.globalProperties.$aiAgentConfig = finalConfig;\r\n app.provide(\"aiAgentConfig\", finalConfig);\r\n app.provide(\"aiAgentAddGlobalToolbarButton\", addGlobalToolbarButton);\r\n\r\n logger.info(`AI Agent plugin installed. URL: ${url}, addGlobalToolbarButton: ${addGlobalToolbarButton}`);\r\n },\r\n};\r\n\r\n// Re-export all types\r\nexport * from \"@core/plugins/ai-agent/types\";\r\nexport * from \"@core/plugins/ai-agent/constants\";\r\n\r\n// Re-export composables\r\nexport {\r\n useAiAgent,\r\n provideAiAgentService,\r\n createAiAgentToolbarButton,\r\n} from \"@core/plugins/ai-agent/composables/useAiAgent\";\r\nexport type { UseAiAgentReturn, ProvideAiAgentServiceOptions } from \"@core/plugins/ai-agent/composables/useAiAgent\";\r\n\r\nexport { useAiAgentContext } from \"@core/plugins/ai-agent/composables/useAiAgentContext\";\r\n\r\n// Re-export components\r\nexport { VcAiAgentPanel } from \"@core/plugins/ai-agent/components\";\r\n\r\n// Re-export service types\r\nexport type {\r\n IAiAgentServiceInternal,\r\n CreateAiAgentServiceOptions,\r\n} from \"@core/plugins/ai-agent/services/ai-agent-service\";\r\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;AA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O,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":"index.d.ts","sourceRoot":"","sources":["../../../core/blade-navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../core/blade-navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAIvH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { type TableQueryPatch } from "./types";
|
|
2
2
|
export interface UseTableQueryStateReturn {
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Read the table view state (sort/search/page) restored from the URL for this
|
|
5
|
+
* table. Returns an empty patch when no persistence service is provided (a
|
|
6
|
+
* standalone table or a non-URL blade), so callers can use it unconditionally.
|
|
7
|
+
*/
|
|
4
8
|
read(): TableQueryPatch;
|
|
5
9
|
}
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
8
|
-
* URL-aware state composables (useDataTableSort/useDataTablePagination/useTableSearch)
|
|
9
|
-
* instead; use this for custom cases (e.g. a hand-rolled data-layer pagination).
|
|
11
|
+
* Reads the table view state (sort/search/page) restored from the URL.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
13
|
+
* A list page calls this in `setup`, reads `{ sort, search, page }`, and seeds its
|
|
14
|
+
* own refs before its loader runs, so a reload makes one request. Read-only: the
|
|
15
|
+
* write-back (view state → URL) stays inside VcDataTable via useTableQueryPersistence.
|
|
16
|
+
*
|
|
17
|
+
* @param stateKey The same `state-key` passed to VcDataTable for this table.
|
|
12
18
|
*/
|
|
13
19
|
export declare function useTableQueryState(stateKey?: string): UseTableQueryStateReturn;
|
|
14
20
|
//# sourceMappingURL=useTableQueryState.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableQueryState.d.ts","sourceRoot":"","sources":["../../../../core/blade-navigation/table-query-state/useTableQueryState.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC
|
|
1
|
+
{"version":3,"file":"useTableQueryState.d.ts","sourceRoot":"","sources":["../../../../core/blade-navigation/table-query-state/useTableQueryState.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,IAAI,IAAI,eAAe,CAAC;CACzB;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,wBAAwB,CAM9E"}
|
|
@@ -4,6 +4,8 @@ export type { IBladeBanner } from "../../blade-navigation/types";
|
|
|
4
4
|
export interface UseBladeReturn<TOptions = Record<string, unknown>> {
|
|
5
5
|
readonly id: ComputedRef<string>;
|
|
6
6
|
readonly param: ComputedRef<string | undefined>;
|
|
7
|
+
/** param of the direct child blade opened from this blade, or undefined. */
|
|
8
|
+
readonly activeChildParam: ComputedRef<string | undefined>;
|
|
7
9
|
readonly options: ComputedRef<TOptions | undefined>;
|
|
8
10
|
readonly query: ComputedRef<Record<string, string> | undefined>;
|
|
9
11
|
readonly closable: ComputedRef<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useBlade/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAC;AAQxH,OAAO,KAAK,EAAE,cAAc,EAAe,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC9F,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAIjE,MAAM,WAAW,cAAc,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAEhE,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IACpD,QAAQ,CAAC,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC;IAChE,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,qDAAqD;IACrD,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAEhE,SAAS,CAAC,KAAK,EA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, bq as ss, br as re, bs as os, bt as jt, bu as Z, bv as oe, bw as Ke, bx as ns, by as rs, aw as is, U as q, bz as qe, bA as ls, bB as cs, bC as Be, bD as ds, bE as Yt, bF as Zt, R as Xt, a2 as us, ac as he, af as mt, aa as je, ai as j, aL as fs, a3 as gs, a1 as we, aR as Jt, bG as ms, bH as ps, bI as Es, aE as hs, O as Oe, ae as me, ap as Qt, Q as vs, bJ as Ss, bK as As, bL as bs, bM as ws, aM as It, bN as Ts, bO as Ls, bP as _s, bQ as Os, bR as ys, bS as Is, bT as Rs, bU as Ps, bV as Cs, bW as Ds, bX as Ns } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { bY as pd, B as Ed, _ as hd, a as vd, b as Sd, c as Ad, d as bd, e as wd, f as Td, g as Ld, h as _d, i as Od, j as yd, bZ as Id, b_ as Rd, C as Pd, b$ as Cd, c0 as Dd, c1 as Nd, c2 as kd, c3 as Bd, c4 as Md, k as Fd, c5 as Vd, c6 as $d, c7 as Ud, c8 as Wd, c9 as Gd, ca as xd, cb as Hd, l as zd, m as Kd, n as qd, o as jd, p as Yd, q as Zd, T as Xd, r as Jd, s as Qd, t as eu, u as tu, v as au, w as su, x as ou, cc as nu, cd as ru, ce as iu, V as lu, y as cu, z as du, A as uu, D as fu, E as gu, F as mu, G as pu, H as Eu, I as hu, J as vu, K as Su, L as Au, M as bu, N as wu, P as Tu, cf as Lu, cf as _u, cg as Ou, S as yu, W as Iu, X as Ru, Y as Pu, Z as Cu, $ as Du, a0 as Nu, a4 as ku, a5 as Bu, a6 as Mu, a7 as Fu, a8 as Vu, a9 as $u, ab as Uu, ad as Wu, ag as Gu, ah as xu, aj as Hu, ak as zu, al as Ku, am as qu, an as ju, ao as Yu, aq as Zu, ar as Xu, as as Ju, at as Qu, au as ef, av as tf, ax as af, ay as sf, az as of, aA as nf, aB as rf, aC as lf, aD as cf, aF as df, aG as uf, aH as ff, aI as gf, aJ as mf, aK as pf, aN as Ef, aO as hf, aP as vf, ch as Sf, ci as Af, cj as bf, ck as wf, aQ as Tf, cl as Lf, cm as _f, cn as Of, co as yf, cp as If, cq as Rf, cr as Pf, cs as Cf, ct as Df, cu as Nf, cv as kf, cw as Bf, cx as Mf, cy as Ff, cz as Vf, cA as $f, cB as Uf, cC as Wf, cD as Gf, aS as xf, cE as Hf, cF as zf, cG as Kf, cH as qf, cI as jf, cJ as Yf, cK as Zf, cL as Xf, cM as Jf, cN as Qf, cO as eg, cP as tg, cQ as ag, cR as sg, cS as og, cT as ng, aT as rg, aU as ig, aV as lg, aW as cg, cU as dg, aX as ug, aY as fg, aZ as gg, cV as mg, cW as pg, a_ as Eg, a$ as hg, b0 as vg, b1 as Sg, cX as Ag, b2 as bg, b3 as wg, b4 as Tg, b5 as Lg, b6 as _g, cY as Og, b7 as yg, cZ as Ig, c_ as Rg, b8 as Pg, c$ as Cg, b9 as Dg, ba as Ng, bb as kg, d0 as Bg, bc as Mg, bd as Fg, be as Vg, bf as $g, bg as Ug, bh as Wg, bi as Gg, bj as xg, bk as Hg, bl as zg, bm as Kg, d1 as qg, bn as jg, aQ as Yg, d2 as Zg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { bo as gt, bp as Ee, bq as ss, br as re, bs as os, bt as jt, bu as Z, bv as oe, bw as Ke, bx as ns, by as rs, aw as is, U as q, bz as qe, bA as ls, bB as cs, bC as Be, bD as ds, bE as Yt, bF as Zt, R as Xt, a2 as us, ac as he, af as mt, aa as je, ai as j, aL as fs, a3 as gs, a1 as we, aR as Jt, bG as ms, bH as ps, bI as Es, aE as hs, O as Oe, ae as me, ap as Qt, Q as vs, bJ as Ss, bK as As, bL as bs, bM as ws, aM as It, bN as Ts, bO as Ls, bP as _s, bQ as Os, bR as ys, bS as Is, bT as Rs, bU as Ps, bV as Cs, bW as Ds, bX as Ns } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-DbKOU25C.js";
|
|
3
|
+
import { bY as pd, B as Ed, _ as hd, a as vd, b as Sd, c as Ad, d as bd, e as wd, f as Td, g as Ld, h as _d, i as Od, j as yd, bZ as Id, b_ as Rd, C as Pd, b$ as Cd, c0 as Dd, c1 as Nd, c2 as kd, c3 as Bd, c4 as Md, k as Fd, c5 as Vd, c6 as $d, c7 as Ud, c8 as Wd, c9 as Gd, ca as xd, cb as Hd, l as zd, m as Kd, n as qd, o as jd, p as Yd, q as Zd, T as Xd, r as Jd, s as Qd, t as eu, u as tu, v as au, w as su, x as ou, cc as nu, cd as ru, ce as iu, V as lu, y as cu, z as du, A as uu, D as fu, E as gu, F as mu, G as pu, H as Eu, I as hu, J as vu, K as Su, L as Au, M as bu, N as wu, P as Tu, cf as Lu, cf as _u, cg as Ou, S as yu, W as Iu, X as Ru, Y as Pu, Z as Cu, $ as Du, a0 as Nu, a4 as ku, a5 as Bu, a6 as Mu, a7 as Fu, a8 as Vu, a9 as $u, ab as Uu, ad as Wu, ag as Gu, ah as xu, aj as Hu, ak as zu, al as Ku, am as qu, an as ju, ao as Yu, aq as Zu, ar as Xu, as as Ju, at as Qu, au as ef, av as tf, ax as af, ay as sf, az as of, aA as nf, aB as rf, aC as lf, aD as cf, aF as df, aG as uf, aH as ff, aI as gf, aJ as mf, aK as pf, aN as Ef, aO as hf, aP as vf, ch as Sf, ci as Af, cj as bf, ck as wf, aQ as Tf, cl as Lf, cm as _f, cn as Of, co as yf, cp as If, cq as Rf, cr as Pf, cs as Cf, ct as Df, cu as Nf, cv as kf, cw as Bf, cx as Mf, cy as Ff, cz as Vf, cA as $f, cB as Uf, cC as Wf, cD as Gf, aS as xf, cE as Hf, cF as zf, cG as Kf, cH as qf, cI as jf, cJ as Yf, cK as Zf, cL as Xf, cM as Jf, cN as Qf, cO as eg, cP as tg, cQ as ag, cR as sg, cS as og, cT as ng, aT as rg, aU as ig, aV as lg, aW as cg, cU as dg, aX as ug, aY as fg, aZ as gg, cV as mg, cW as pg, a_ as Eg, a$ as hg, b0 as vg, b1 as Sg, cX as Ag, b2 as bg, b3 as wg, b4 as Tg, b5 as Lg, b6 as _g, cY as Og, b7 as yg, cZ as Ig, c_ as Rg, b8 as Pg, c$ as Cg, b9 as Dg, ba as Ng, bb as kg, d0 as Bg, bc as Mg, bd as Fg, be as Vg, bf as $g, bg as Ug, bh as Wg, bi as Gg, bj as xg, bk as Hg, bl as zg, bm as Kg, d1 as qg, bn as jg, aQ as Yg, d2 as Zg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-DbKOU25C.js";
|
|
4
4
|
import { getCurrentScope as ea, onScopeDispose as ta, computed as O, inject as ee, watch as te, defineComponent as U, openBlock as h, createBlock as D, createSlots as ye, withCtx as T, renderSlot as W, createElementVNode as k, normalizeClass as aa, createElementBlock as N, Fragment as Y, createVNode as y, unref as c, createTextVNode as G, toDisplayString as F, shallowReactive as ks, ref as R, readonly as nt, onMounted as ve, onBeforeMount as Bs, onBeforeUnmount as Ms, onUnmounted as sa, provide as oa, toValue as na, isRef as ra, normalizeStyle as Se, createCommentVNode as V, withDirectives as ia, withModifiers as Ye, reactive as de, createApp as Fs, nextTick as ge, renderList as ae, withKeys as pt, mergeProps as ne, shallowRef as Vs, createStaticVNode as $s, resolveDynamicComponent as Us, getCurrentInstance as Ws, warn as Gs, h as le, toRaw as xs } from "vue";
|
|
5
5
|
import { _ as Hs } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
6
|
-
import { d as H, p as zs, e as Ks, f as qs, g as js, s as Ys, h as Zs, i as Xs, j as Js, k as Qs, S as eo, W as la, B as ca, l as to, m as da, n as Et, o as ua, M as ao, _ as fa, q as so, r as oo, t as no, v as ro, w as io, x as lo, y as co, L as uo, I as fo, z as go, C as mo, F as po, G as Eo, J as ho, T as vo, K as So, N as Ao, O as bo, P as wo } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
7
|
-
import { A as Jg, b as Qg, Q as em, R as tm, U as am, V as sm, X as om, Y as nm, Z as rm, $ as im, a0 as lm, a1 as cm, a2 as dm, a3 as um, a4 as fm, a5 as gm, a6 as mm, D as pm, a7 as Em, a8 as hm, a9 as vm, aa as Sm, ab as Am, ac as bm, E as wm, ad as Tm, ae as Lm, af as _m, H as Om, ag as ym, ah as Im, ai as Rm, aj as Pm, ak as Cm, al as Dm, am as Nm, an as km, ao as Bm, ap as Mm, aq as Fm, ar as Vm, as as $m, at as Um, a as Wm, au as Gm, av as xm, c as Hm, aw as zm, ax as Km, u as qm, ay as jm, az as Ym } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-
|
|
6
|
+
import { d as H, p as zs, e as Ks, f as qs, g as js, s as Ys, h as Zs, i as Xs, j as Js, k as Qs, S as eo, W as la, B as ca, l as to, m as da, n as Et, o as ua, M as ao, _ as fa, q as so, r as oo, t as no, v as ro, w as io, x as lo, y as co, L as uo, I as fo, z as go, C as mo, F as po, G as Eo, J as ho, T as vo, K as So, N as Ao, O as bo, P as wo } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js";
|
|
7
|
+
import { A as Jg, b as Qg, Q as em, R as tm, U as am, V as sm, X as om, Y as nm, Z as rm, $ as im, a0 as lm, a1 as cm, a2 as dm, a3 as um, a4 as fm, a5 as gm, a6 as mm, D as pm, a7 as Em, a8 as hm, a9 as vm, aa as Sm, ab as Am, ac as bm, E as wm, ad as Tm, ae as Lm, af as _m, H as Om, ag as ym, ah as Im, ai as Rm, aj as Pm, ak as Cm, al as Dm, am as Nm, an as km, ao as Bm, ap as Mm, aq as Fm, ar as Vm, as as $m, at as Um, a as Wm, au as Gm, av as xm, c as Hm, aw as zm, ax as Km, u as qm, ay as jm, az as Ym } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js";
|
|
8
8
|
import { H as To, L as Lo } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
|
|
9
|
-
import { a as _o } from "./chunks/index-
|
|
10
|
-
import { u as Xm } from "./chunks/index-
|
|
9
|
+
import { a as _o } from "./chunks/index-DELXU1qy.js";
|
|
10
|
+
import { u as Xm } from "./chunks/index-DELXU1qy.js";
|
|
11
11
|
import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
12
12
|
import "./chunks/vendor-dompurify-DpIUMBYC.js";
|
|
13
13
|
import { u as Ae } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
|
|
@@ -213,7 +213,9 @@ const va = Symbol("NotificationContainerState"), Rt = H("signalR"), Zo = {
|
|
|
213
213
|
};
|
|
214
214
|
function yc(e) {
|
|
215
215
|
const t = ee(os, void 0);
|
|
216
|
-
return {
|
|
216
|
+
return {
|
|
217
|
+
read: () => t ? t.read(e) : {}
|
|
218
|
+
};
|
|
217
219
|
}
|
|
218
220
|
const Xo = H("modularity");
|
|
219
221
|
function At(e) {
|
|
@@ -663,7 +665,7 @@ function Sa(e, t) {
|
|
|
663
665
|
const f = Be(l);
|
|
664
666
|
if (s.value = f, fn.error("Async action failed:", l), o && l && typeof l == "object") {
|
|
665
667
|
const p = `async-error-${f.message.slice(0, 80)}`, m = setTimeout(async () => {
|
|
666
|
-
Xe || (Xe = (await import("./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-
|
|
668
|
+
Xe || (Xe = (await import("./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-DbKOU25C.js").then((w) => w.d3)).notification), Xe.error(f.message, {
|
|
667
669
|
timeout: i,
|
|
668
670
|
notificationId: p
|
|
669
671
|
});
|
|
@@ -2029,12 +2031,12 @@ function Er() {
|
|
|
2029
2031
|
hasNotification: (t) => e.hasNotification(t)
|
|
2030
2032
|
});
|
|
2031
2033
|
}
|
|
2032
|
-
const hr = "2.0.
|
|
2034
|
+
const hr = "2.0.11-pr247.0f1e741";
|
|
2033
2035
|
function vr() {
|
|
2034
2036
|
return {
|
|
2035
2037
|
version: hr,
|
|
2036
|
-
buildDate: "2026-06-
|
|
2037
|
-
gitHash: "
|
|
2038
|
+
buildDate: "2026-06-22T16:54:33.132Z",
|
|
2039
|
+
gitHash: "0f1e74167"
|
|
2038
2040
|
};
|
|
2039
2041
|
}
|
|
2040
2042
|
function Sr(e = vr()) {
|