@vc-shell/framework 2.0.10-pr247.f47cc74 → 2.0.11

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 (32) hide show
  1. package/dist/ai-agent/index.js +2 -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
  3. 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
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js → VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js} +776 -776
  5. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js.map +1 -0
  6. package/dist/chunks/{index-0btrtSam.js → index-DELXU1qy.js} +1 -1
  7. package/dist/chunks/{index-0btrtSam.js.map → index-DELXU1qy.js.map} +1 -1
  8. package/dist/core/blade-navigation/index.d.ts.map +1 -1
  9. package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts +11 -5
  10. package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts.map +1 -1
  11. package/dist/core/composables/useBlade/index.d.ts +2 -0
  12. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  13. package/dist/framework.js +78 -77
  14. package/dist/framework.js.map +1 -1
  15. package/dist/index.css +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  18. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  19. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
  20. package/dist/ui/components/organisms/vc-data-table/composables/useTableQueryPersistence.d.ts +24 -0
  21. package/dist/ui/components/organisms/vc-data-table/composables/useTableQueryPersistence.d.ts.map +1 -0
  22. package/dist/ui/composables/index.d.ts +0 -1
  23. package/dist/ui/composables/index.d.ts.map +1 -1
  24. package/dist/ui/composables/useDataTablePagination.d.ts +1 -3
  25. package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -1
  26. package/dist/ui/composables/useDataTableSort.d.ts +0 -2
  27. package/dist/ui/composables/useDataTableSort.d.ts.map +1 -1
  28. package/dist/ui/index.js +28 -29
  29. package/package.json +4 -4
  30. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js.map +0 -1
  31. package/dist/ui/composables/useTableSearch.d.ts +0 -18
  32. package/dist/ui/composables/useTableSearch.d.ts.map +0 -1
@@ -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-CThvtYtw.js";
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-0btrtSam.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","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AAM,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-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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Md,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":"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;AACvH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,YAAY,EAAE,wBAAwB,EAAE,eAAe,EAAE,MAAM,0CAA0C,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
- /** Read the restored view state for this table from the URL. `{}` when no service. */
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
- * Low-level page-facing read of restored table view state. Most pages use the
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
- * @param stateKey The same `state-key` used for this table.
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,sFAAsF;IACtF,IAAI,IAAI,eAAe,CAAC;CACzB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,wBAAwB,CAG9E"}
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,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,CAAC;IAEnB,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,CAAC;IACjE,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY,IAAI,IAAI,CAAC;CACtB;AAUD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,cAAc,CAAC,QAAQ,CAAC,CAgRvF"}
package/dist/framework.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { a as ts, b as as } from "./chunks/vendor-vueuse-core-CEdpDfzx.js";
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-DioMlB3f.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-DioMlB3f.js";
2
+ import { bn as gt, bo as Ee, bp as ss, bq as re, br as os, bs as jt, bt as Z, bu as oe, bv as Ke, bw as ns, bx as rs, aw as is, U as q, by as qe, bz as ls, bA as cs, bB as Be, bC as ds, bD as Yt, bE 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, bF as ms, bG as ps, bH as Es, aE as hs, O as Oe, ae as me, ap as Qt, Q as vs, bI as Ss, bJ as As, bK as bs, bL as ws, aM as It, bM as Ts, bN as Ls, bO as _s, bP as Os, bQ as ys, bR as Is, bS as Rs, bT as Ps, bU as Cs, bV as Ds, bW as Ns } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js";
3
+ import { bX 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, bY as Id, bZ as Rd, C as Pd, b_ as Cd, b$ as Dd, c0 as Nd, c1 as kd, c2 as Bd, c3 as Md, k as Fd, c4 as Vd, c5 as $d, c6 as Ud, c7 as Wd, c8 as Gd, c9 as xd, ca 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, cb as nu, cc as ru, cd 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, ce as Lu, ce as _u, cf 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, cg as Sf, ch as Af, ci as bf, cj as wf, aQ as Tf, ck as Lf, cl as _f, cm as Of, cn as yf, co as If, cp as Rf, cq as Pf, cr as Cf, cs as Df, ct as Nf, cu as kf, cv as Bf, cw as Mf, cx as Ff, cy as Vf, cz as $f, cA as Uf, cB as Wf, cC as Gf, aS as xf, cD as Hf, cE as zf, cF as Kf, cG as qf, cH as jf, cI as Yf, cJ as Zf, cK as Xf, cL as Jf, cM as Qf, cN as eg, cO as tg, cP as ag, cQ as sg, cR as og, cS as ng, aT as rg, aU as ig, aV as lg, aW as cg, cT as dg, aX as ug, aY as fg, aZ as gg, cU as mg, cV as pg, a_ as Eg, a$ as hg, b0 as vg, b1 as Sg, cW as Ag, b2 as bg, b3 as wg, b4 as Tg, b5 as Lg, b6 as _g, cX as Og, b7 as yg, cY as Ig, cZ as Rg, b8 as Pg, c_ as Cg, b9 as Dg, ba as Ng, bb as kg, c$ 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, d0 as Kg, bm as qg, aQ as jg, d1 as Yg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.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-CThvtYtw.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-CThvtYtw.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-D077_c8I.js";
7
+ import { A as Xg, b as Jg, Q as Qg, R as em, U as tm, V as am, X as sm, Y as om, Z as nm, $ as rm, a0 as im, a1 as lm, a2 as cm, a3 as dm, a4 as um, a5 as fm, a6 as gm, D as mm, a7 as pm, a8 as Em, a9 as hm, aa as vm, ab as Sm, ac as Am, E as bm, ad as wm, ae as Tm, af as Lm, H as _m, ag as Om, ah as ym, ai as Im, aj as Rm, ak as Pm, al as Cm, am as Dm, an as Nm, ao as km, ap as Bm, aq as Mm, ar as Fm, as as Vm, at as $m, a as Um, au as Wm, av as Gm, c as xm, aw as Hm, ax as zm, u as Km, ay as qm, az as jm } 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-0btrtSam.js";
10
- import { u as Xm } from "./chunks/index-0btrtSam.js";
9
+ import { a as _o } from "./chunks/index-DELXU1qy.js";
10
+ import { u as Zm } 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";
@@ -92,7 +92,7 @@ import { A as Io, u as Ro } from "./chunks/vendor-vue3-application-insights-CAgb
92
92
  import { o as Po, c as Q, d as Co, i as Do } from "./chunks/vendor-lodash-es-D2n90GJy.js";
93
93
  import { T as No, x as ko, b as Bo, S as Mo, $ as Fo } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
94
94
  import { _ as Vo } from "./chunks/index-BuTo_Lx8.js";
95
- import { E as Qm, d as ep, u as tp } from "./chunks/index-BuTo_Lx8.js";
95
+ import { E as Jm, d as Qm, u as ep } from "./chunks/index-BuTo_Lx8.js";
96
96
  import { S as ga, z as vt, A as $o, C as Uo, a as Ue, w as Wo, b as Go, D as xo, c as Ho, E as zo } from "./chunks/vendor-unovis-vue-CZWGT3-0.js";
97
97
  function bc(e) {
98
98
  return e.replace(/[\w]([A-Z])/g, function(t) {
@@ -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 { read: () => t ? t.read(e) : {} };
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-DioMlB3f.js").then((w) => w.d3)).notification), Xe.error(f.message, {
668
+ Xe || (Xe = (await import("./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js").then((w) => w.d2)).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.10";
2034
+ const hr = "2.0.11";
2033
2035
  function vr() {
2034
2036
  return {
2035
2037
  version: hr,
2036
- buildDate: "2026-06-22T15:25:10.722Z",
2037
- gitHash: "f47cc742e"
2038
+ buildDate: "2026-06-22T15:40:57.168Z",
2039
+ gitHash: "f2225cc27"
2038
2040
  };
2039
2041
  }
2040
2042
  function Sr(e = vr()) {
@@ -4404,31 +4406,31 @@ const fd = {
4404
4406
  }
4405
4407
  };
4406
4408
  export {
4407
- Jg as AI_AGENT_URL_ENV_KEY,
4408
- Qg as AiAgentServiceKey,
4409
- em as ApiException,
4410
- tm as AppBarMobileButtonsServiceKey,
4409
+ Xg as AI_AGENT_URL_ENV_KEY,
4410
+ Jg as AiAgentServiceKey,
4411
+ Qg as ApiException,
4412
+ em as AppBarMobileButtonsServiceKey,
4411
4413
  So as AppBarWidgetServiceKey,
4412
4414
  Ds as AppInsightsInstanceKey,
4413
4415
  Cs as AppInsightsOptionsKey,
4414
- am as AppManifestClient,
4415
- sm as AppPlacement,
4416
- om as AppRootElementKey,
4417
- nm as AppsClient,
4416
+ tm as AppManifestClient,
4417
+ am as AppPlacement,
4418
+ sm as AppRootElementKey,
4419
+ om as AppsClient,
4418
4420
  Hn as AssetsDetailsModule,
4419
4421
  qn as AssetsManager,
4420
4422
  Yn as AssetsManagerModule,
4421
- rm as AuthApiBase,
4422
- im as AuthorizationClient,
4423
- lm as BladeBackButtonKey,
4424
- cm as BladeBannersKey,
4423
+ nm as AuthApiBase,
4424
+ rm as AuthorizationClient,
4425
+ im as BladeBackButtonKey,
4426
+ lm as BladeBannersKey,
4425
4427
  da as BladeContextKey,
4426
- dm as BladeDataKey,
4428
+ cm as BladeDataKey,
4427
4429
  ca as BladeDescriptorKey,
4428
4430
  pd as BladeError,
4429
4431
  co as BladeFormKey,
4430
- um as BladeLoadingKey,
4431
- fm as BladeMaximizedKey,
4432
+ dm as BladeLoadingKey,
4433
+ um as BladeMaximizedKey,
4432
4434
  Zs as BladeMessagingKey,
4433
4435
  ho as BladeRoutesKey,
4434
4436
  js as BladeStackKey,
@@ -4445,86 +4447,86 @@ export {
4445
4447
  _d as CellNumber,
4446
4448
  Od as CellStatus,
4447
4449
  yd as CellStatusIcon,
4448
- gm as ChangeLogClient,
4450
+ fm as ChangeLogClient,
4449
4451
  Id as ChangePassword,
4450
4452
  Rd as ChangePasswordButton,
4451
4453
  Kc as ChangePasswordPage,
4452
4454
  wt as ChartContainer,
4453
4455
  Tt as ChartLegend,
4454
4456
  nd as ChartTooltip,
4455
- mm as CloseSettingsMenuKey,
4457
+ gm as CloseSettingsMenuKey,
4456
4458
  Pd as ColumnCollector,
4457
- pm as DEFAULT_AI_AGENT_CONFIG,
4459
+ mm as DEFAULT_AI_AGENT_CONFIG,
4458
4460
  id as DashboardBarChart,
4459
4461
  ld as DashboardDonutChart,
4460
4462
  sd as DashboardFeedList,
4461
4463
  od as DashboardFeedRow,
4462
4464
  rd as DashboardLineChart,
4463
- Em as DashboardServiceKey,
4465
+ pm as DashboardServiceKey,
4464
4466
  ad as DashboardStatItem,
4465
4467
  td as DashboardWidgetCard,
4466
- hm as DeveloperToolsClient,
4467
- vm as DiagnosticsClient,
4468
+ Em as DeveloperToolsClient,
4469
+ hm as DiagnosticsClient,
4468
4470
  Cd as DisplayableError,
4469
4471
  qc as DraggableDashboard,
4470
- Sm as DynamicModulesKey,
4471
- Am as DynamicPropertiesClient,
4472
- bm as DynamicPropertyValueType,
4473
- wm as EMBEDDED_TO_HOST_MESSAGE_TYPES,
4474
- Tm as EmbeddedModeKey,
4475
- Lm as EntryState,
4472
+ vm as DynamicModulesKey,
4473
+ Sm as DynamicPropertiesClient,
4474
+ Am as DynamicPropertyValueType,
4475
+ bm as EMBEDDED_TO_HOST_MESSAGE_TYPES,
4476
+ wm as EmbeddedModeKey,
4477
+ Tm as EntryState,
4476
4478
  Dd as ErrorInterceptor,
4477
4479
  Vo as ExtensionPoint,
4478
- Qm as ExtensionPoints,
4480
+ Jm as ExtensionPoints,
4479
4481
  Lr as ExternalProviders,
4480
- _m as ExternalSignInClient,
4482
+ Lm as ExternalSignInClient,
4481
4483
  Nd as FALLBACK_BLADE_ID,
4482
4484
  xc as ForgotPassword,
4483
4485
  kd as FrameworkError,
4484
- Om as HOST_TO_EMBEDDED_MESSAGE_TYPES,
4486
+ _m as HOST_TO_EMBEDDED_MESSAGE_TYPES,
4485
4487
  Yt as InjectionError,
4486
- ym as InternalRoutesKey,
4488
+ Om as InternalRoutesKey,
4487
4489
  zc as Invite,
4488
4490
  po as IsDesktopKey,
4489
4491
  mo as IsMobileKey,
4490
4492
  fo as IsPhoneKey,
4491
4493
  go as IsTabletKey,
4492
4494
  Eo as IsTouchKey,
4493
- Im as JobsClient,
4494
- Rm as JsonValueKind,
4495
+ ym as JobsClient,
4496
+ Im as JsonValueKind,
4495
4497
  ed as LAYOUT_STORAGE_KEY,
4496
4498
  Bd as LanguageSelector,
4497
4499
  uo as LanguageServiceKey,
4498
- Pm as LocalizableSettingsClient,
4500
+ Rm as LocalizableSettingsClient,
4499
4501
  Gc as Login,
4500
4502
  Md as LogoutButton,
4501
4503
  Fd as MenuBurgerIcon,
4502
4504
  Ao as MenuServiceKey,
4503
4505
  Vd as ModuleLoadError,
4504
- Cm as ModulesClient,
4505
- Dm as ModulesLoadErrorKey,
4506
+ Pm as ModulesClient,
4507
+ Cm as ModulesLoadErrorKey,
4506
4508
  ao as ModulesReadyKey,
4507
4509
  yi as NotificationContainer,
4508
4510
  ss as NotificationContextKey,
4509
4511
  $d as NotificationDropdown,
4510
4512
  wo as NotificationStoreKey,
4511
4513
  Ud as NotificationTemplate,
4512
- Nm as OAuthAppsClient,
4513
- km as ProgressMessageLevel,
4514
- Bm as PushNotificationClient,
4514
+ Dm as OAuthAppsClient,
4515
+ Nm as ProgressMessageLevel,
4516
+ km as PushNotificationClient,
4515
4517
  Wd as RegistrationError,
4516
4518
  Hc as ResetPassword,
4517
- Mm as SecurityClient,
4519
+ Bm as SecurityClient,
4518
4520
  Gd as ServiceError,
4519
4521
  eo as SettingClient,
4520
- Fm as SettingValueType,
4522
+ Mm as SettingValueType,
4521
4523
  xd as SettingsMenu,
4522
4524
  Hd as SettingsMenuItem,
4523
4525
  bo as SettingsMenuServiceKey,
4524
- Vm as SettingsV2Client,
4525
- $m as ShellIndicatorsKey,
4526
+ Fm as SettingsV2Client,
4527
+ Vm as ShellIndicatorsKey,
4526
4528
  Wc as Sidebar,
4527
- Um as SortDirection,
4529
+ $m as SortDirection,
4528
4530
  zd as Table,
4529
4531
  Kd as TableBody,
4530
4532
  qd as TableCell,
@@ -4545,7 +4547,7 @@ export {
4545
4547
  iu as ValidationError,
4546
4548
  lu as VcAccordion,
4547
4549
  cu as VcAccordionItem,
4548
- Wm as VcAiAgentPanel,
4550
+ Um as VcAiAgentPanel,
4549
4551
  du as VcApp,
4550
4552
  uu as VcAppBarMobileActions,
4551
4553
  fu as VcAppBarOverlay,
@@ -4630,9 +4632,9 @@ export {
4630
4632
  to as WidgetScopeKey,
4631
4633
  la as WidgetServiceKey,
4632
4634
  Zt as __registerBladeConfig,
4633
- Gm as _createInternalUserLogic,
4635
+ Wm as _createInternalUserLogic,
4634
4636
  cd as _resetAdapterState,
4635
- xm as _sharedInternalUserLogic,
4637
+ Gm as _sharedInternalUserLogic,
4636
4638
  Sf as addAppBarWidget,
4637
4639
  Af as addMenuItem,
4638
4640
  bf as addSettingsMenuItem,
@@ -4646,13 +4648,13 @@ export {
4646
4648
  Qc as clearLayoutStorage,
4647
4649
  Of as convertColorNameToHex,
4648
4650
  yf as convertMomentFormat,
4649
- Hm as createAiAgentToolbarButton,
4651
+ xm as createAiAgentToolbarButton,
4650
4652
  Ic as createAppModule,
4651
4653
  H as createLogger,
4652
4654
  fd as default,
4653
4655
  At as defineAppModule,
4654
4656
  Vc as defineBladeContext,
4655
- ep as defineExtensionPoint,
4657
+ Qm as defineExtensionPoint,
4656
4658
  If as fileWeight,
4657
4659
  Rf as formatBadgeCount,
4658
4660
  Pf as formatDateRelative,
@@ -4678,8 +4680,8 @@ export {
4678
4680
  Uf as languageToCountryMap,
4679
4681
  Zc as loadLayoutFromStorage,
4680
4682
  Jt as loading,
4681
- zm as logger,
4682
- Km as loggers,
4683
+ Hm as logger,
4684
+ zm as loggers,
4683
4685
  Jc as mergeLayoutWithWidgets,
4684
4686
  Wf as mindimensions,
4685
4687
  Gf as normalizeHexColor,
@@ -4709,8 +4711,8 @@ export {
4709
4711
  rg as stripTenantPrefix,
4710
4712
  jc as toGridstackWidget,
4711
4713
  ig as useAdaptiveItems,
4712
- qm as useAiAgent,
4713
- Xm as useAiAgentContext,
4714
+ Km as useAiAgent,
4715
+ Zm as useAiAgentContext,
4714
4716
  gn as useApiClient,
4715
4717
  lg as useAppBarMobileActions,
4716
4718
  cg as useAppBarState,
@@ -4728,7 +4730,7 @@ export {
4728
4730
  mg as useBladeMessaging,
4729
4731
  dd as useBladeNavigation,
4730
4732
  Lc as useBladeNotifications,
4731
- jm as useBladeStack,
4733
+ qm as useBladeStack,
4732
4734
  Mc as useBladeWidgets,
4733
4735
  pg as useBreadcrumbs,
4734
4736
  Oc as useBroadcastFilter,
@@ -4740,7 +4742,7 @@ export {
4740
4742
  Sg as useDataTableSort,
4741
4743
  kc as useDynamicProperties,
4742
4744
  Ag as useErrorHandler,
4743
- tp as useExtensionPoint,
4745
+ ep as useExtensionPoint,
4744
4746
  bg as useFilterState,
4745
4747
  wg as useFloatingPosition,
4746
4748
  Tg as useFormField,
@@ -4775,18 +4777,17 @@ export {
4775
4777
  yc as useTableQueryState,
4776
4778
  Ug as useTableRowGrouping,
4777
4779
  Wg as useTableRowReorder,
4778
- Gg as useTableSearch,
4779
- xg as useTableSelection,
4780
- Hg as useTableSort,
4781
- zg as useTeleportTarget,
4780
+ Gg as useTableSelection,
4781
+ xg as useTableSort,
4782
+ Hg as useTeleportTarget,
4782
4783
  Ts as useTheme,
4783
- Kg as useToggleableContent,
4784
- qg as useToolbar,
4785
- Ym as useUser,
4786
- jg as useVirtualScroll,
4784
+ zg as useToggleableContent,
4785
+ Kg as useToolbar,
4786
+ jm as useUser,
4787
+ qg as useVirtualScroll,
4787
4788
  Bc as useWebVitals,
4788
4789
  Fc as useWidgetTrigger,
4789
- Yg as vAutofocus,
4790
+ jg as vAutofocus,
4790
4791
  Jt as vLoading,
4791
- Zg as wrapError
4792
+ Yg as wrapError
4792
4793
  };