@vc-shell/framework 2.0.0-alpha.25 → 2.0.0-alpha.26

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 (287) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/ai-agent/index.js +11 -9
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-DHLKAqm0.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-DkhNTrts.js} +631 -621
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-TnE_L5Rp.js → VcTableAdapter.vue_vue_type_style_index_0_lang-Xss_fCsh.js} +2266 -2265
  5. package/dist/chunks/{index-Des1Cxbn.js → index-BhuEUzqS.js} +1 -1
  6. package/dist/chunks/{index-BJbOVN0O.js → index-DqkSBxqx.js} +2 -2
  7. package/dist/chunks/{vc-toast.vue_vue_type_style_index_0_lang-D-kMIagL.js → vc-toast.vue_vue_type_style_index_0_lang-B2yfKgJ0.js} +1 -1
  8. package/dist/core/composables/index.d.ts +1 -0
  9. package/dist/core/composables/index.d.ts.map +1 -1
  10. package/dist/core/composables/usePopup/index.d.ts +14 -0
  11. package/dist/core/composables/usePopup/index.d.ts.map +1 -0
  12. package/dist/core/plugins/ai-agent/public.d.ts +2 -0
  13. package/dist/core/plugins/ai-agent/public.d.ts.map +1 -1
  14. package/dist/framework.js +83 -81
  15. package/dist/index.css +1 -1
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/shell/_internal/popup/composables/index.d.ts +1 -1
  19. package/dist/shell/_internal/popup/composables/index.d.ts.map +1 -1
  20. package/dist/shell/_internal/popup/composables/usePopup/index.d.ts +1 -13
  21. package/dist/shell/_internal/popup/composables/usePopup/index.d.ts.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/dist/ui/components/organisms/index.d.ts +1 -1
  24. package/dist/ui/components/organisms/index.d.ts.map +1 -1
  25. package/dist/ui/components/organisms/{vc-table → vc-data-table}/VcDataTable.vue.d.ts +2 -2
  26. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -0
  27. package/dist/ui/components/organisms/{vc-table → vc-data-table}/VcTableAdapter.vue.d.ts +1 -1
  28. package/dist/ui/components/organisms/vc-data-table/VcTableAdapter.vue.d.ts.map +1 -0
  29. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +1 -0
  30. package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
  31. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -0
  32. package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
  33. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -0
  34. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -0
  35. package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-empty/vc-table-empty.vue.d.ts +1 -1
  36. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +1 -0
  37. package/dist/ui/components/organisms/vc-data-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -0
  38. package/dist/ui/components/organisms/{vc-table → vc-data-table}/base/BaseVcDataTable.d.ts +1 -1
  39. package/dist/ui/components/organisms/vc-data-table/base/BaseVcDataTable.d.ts.map +1 -0
  40. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/ColumnFilter.vue.d.ts +1 -1
  41. package/dist/ui/components/organisms/vc-data-table/components/ColumnFilter.vue.d.ts.map +1 -0
  42. package/dist/ui/components/organisms/vc-data-table/components/ColumnSwitcherButton.vue.d.ts.map +1 -0
  43. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/DataTableBody.vue.d.ts +3 -3
  44. package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -0
  45. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/DataTableCellRenderer.vue.d.ts +1 -1
  46. package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -0
  47. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/DataTableHeader.vue.d.ts +2 -2
  48. package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts.map +1 -0
  49. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/DataTableRow.vue.d.ts +2 -2
  50. package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts.map +1 -0
  51. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersButton.vue.d.ts.map +1 -0
  52. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/GlobalFiltersPanel.vue.d.ts +1 -1
  53. package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts.map +1 -0
  54. package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -0
  55. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableActions.vue.d.ts +1 -1
  56. package/dist/ui/components/organisms/vc-data-table/components/TableActions.vue.d.ts.map +1 -0
  57. package/dist/ui/components/organisms/vc-data-table/components/TableAddRowButton.vue.d.ts.map +1 -0
  58. package/dist/ui/components/organisms/vc-data-table/components/TableBody.vue.d.ts.map +1 -0
  59. package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -0
  60. package/dist/ui/components/organisms/vc-data-table/components/TableCheckbox.vue.d.ts.map +1 -0
  61. package/dist/ui/components/organisms/vc-data-table/components/TableColumnSwitcher.vue.d.ts.map +1 -0
  62. package/dist/ui/components/organisms/vc-data-table/components/TableEmpty.vue.d.ts.map +1 -0
  63. package/dist/ui/components/organisms/vc-data-table/components/TableFooter.vue.d.ts.map +1 -0
  64. package/dist/ui/components/organisms/vc-data-table/components/TableGroupRow.vue.d.ts.map +1 -0
  65. package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -0
  66. package/dist/ui/components/organisms/vc-data-table/components/TableHeader.vue.d.ts.map +1 -0
  67. package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts.map +1 -0
  68. package/dist/ui/components/organisms/vc-data-table/components/TableRow.vue.d.ts.map +1 -0
  69. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableRowActions.vue.d.ts +1 -1
  70. package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -0
  71. package/dist/ui/components/organisms/vc-data-table/components/TableSearchHeader.vue.d.ts.map +1 -0
  72. package/dist/ui/components/organisms/vc-data-table/components/TableSelectAllBar.vue.d.ts.map +1 -0
  73. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/VcColumn.vue.d.ts +1 -1
  74. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts.map +1 -0
  75. package/dist/ui/components/organisms/vc-data-table/components/_internal/SlotProxy.d.ts.map +1 -0
  76. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/_internal/TableSkeletonRows.vue.d.ts +2 -2
  77. package/dist/ui/components/organisms/vc-data-table/components/_internal/TableSkeletonRows.vue.d.ts.map +1 -0
  78. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDate.vue.d.ts.map +1 -0
  79. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDateAgo.vue.d.ts.map +1 -0
  80. package/dist/ui/components/organisms/vc-data-table/components/cells/CellDefault.vue.d.ts.map +1 -0
  81. package/dist/ui/components/organisms/vc-data-table/components/cells/CellEditableWrapper.vue.d.ts.map +1 -0
  82. package/dist/ui/components/organisms/vc-data-table/components/cells/CellHtml.vue.d.ts.map +1 -0
  83. package/dist/ui/components/organisms/vc-data-table/components/cells/CellImage.vue.d.ts.map +1 -0
  84. package/dist/ui/components/organisms/vc-data-table/components/cells/CellLink.vue.d.ts.map +1 -0
  85. package/dist/ui/components/organisms/vc-data-table/components/cells/CellMoney.vue.d.ts.map +1 -0
  86. package/dist/ui/components/organisms/vc-data-table/components/cells/CellNumber.vue.d.ts.map +1 -0
  87. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatus.vue.d.ts.map +1 -0
  88. package/dist/ui/components/organisms/vc-data-table/components/cells/CellStatusIcon.vue.d.ts.map +1 -0
  89. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts.map +1 -0
  90. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/index.d.ts +11 -11
  91. package/dist/ui/components/organisms/vc-data-table/components/cells/index.d.ts.map +1 -0
  92. package/dist/ui/components/organisms/vc-data-table/components/index.d.ts +27 -0
  93. package/dist/ui/components/organisms/vc-data-table/components/index.d.ts.map +1 -0
  94. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/mobile/DataTableMobileCard.vue.d.ts +1 -1
  95. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -0
  96. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/mobile/DataTableMobileView.vue.d.ts +1 -1
  97. package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileView.vue.d.ts.map +1 -0
  98. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/mobile/MobileActionSheet.vue.d.ts +1 -1
  99. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileActionSheet.vue.d.ts.map +1 -0
  100. package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/mobile/MobileCellRenderer.vue.d.ts +1 -1
  101. package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -0
  102. package/dist/ui/components/organisms/vc-data-table/components/mobile/PullToRefresh.vue.d.ts.map +1 -0
  103. package/dist/ui/components/organisms/vc-data-table/components/mobile/index.d.ts +6 -0
  104. package/dist/ui/components/organisms/vc-data-table/components/mobile/index.d.ts.map +1 -0
  105. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/index.d.ts +30 -30
  106. package/dist/ui/components/organisms/vc-data-table/composables/index.d.ts.map +1 -0
  107. package/dist/ui/components/organisms/vc-data-table/composables/useCellBase.d.ts.map +1 -0
  108. package/dist/ui/components/organisms/vc-data-table/composables/useCellRegistry.d.ts.map +1 -0
  109. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useColumnFilter.d.ts +1 -1
  110. package/dist/ui/components/organisms/vc-data-table/composables/useColumnFilter.d.ts.map +1 -0
  111. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useDataProcessing.d.ts +1 -1
  112. package/dist/ui/components/organisms/vc-data-table/composables/useDataProcessing.d.ts.map +1 -0
  113. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useDataTableOrchestrator.d.ts +4 -4
  114. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -0
  115. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableState.d.ts.map +1 -0
  116. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useMobileCardLayout.d.ts +2 -2
  117. package/dist/ui/components/organisms/vc-data-table/composables/useMobileCardLayout.d.ts.map +1 -0
  118. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableColumns.d.ts +2 -2
  119. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -0
  120. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -0
  121. package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -0
  122. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableContext.d.ts +1 -1
  123. package/dist/ui/components/organisms/vc-data-table/composables/useTableContext.d.ts.map +1 -0
  124. package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -0
  125. package/dist/ui/components/organisms/vc-data-table/composables/useTableExpansion.d.ts.map +1 -0
  126. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableFilter.d.ts +1 -1
  127. package/dist/ui/components/organisms/vc-data-table/composables/useTableFilter.d.ts.map +1 -0
  128. package/dist/ui/components/organisms/vc-data-table/composables/useTableInlineEdit.d.ts.map +1 -0
  129. package/dist/ui/components/organisms/vc-data-table/composables/useTableRowGrouping.d.ts.map +1 -0
  130. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableRowReorder.d.ts +1 -1
  131. package/dist/ui/components/organisms/vc-data-table/composables/useTableRowReorder.d.ts.map +1 -0
  132. package/dist/ui/components/organisms/vc-data-table/composables/useTableSelectionV2.d.ts.map +1 -0
  133. package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableSort.d.ts +1 -1
  134. package/dist/ui/components/organisms/vc-data-table/composables/useTableSort.d.ts.map +1 -0
  135. package/dist/ui/components/organisms/vc-data-table/composables/useTableSwipe.d.ts.map +1 -0
  136. package/dist/ui/components/organisms/vc-data-table/composables/useVirtualScroll.d.ts.map +1 -0
  137. package/dist/ui/components/organisms/{vc-table → vc-data-table}/index.d.ts +9 -9
  138. package/dist/ui/components/organisms/vc-data-table/index.d.ts.map +1 -0
  139. package/dist/ui/components/organisms/{vc-table → vc-data-table}/keys.d.ts +2 -2
  140. package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -0
  141. package/dist/ui/components/organisms/{vc-table → vc-data-table}/types.d.ts +1 -1
  142. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -0
  143. package/dist/ui/components/organisms/{vc-table → vc-data-table}/utils/ColumnCollector.d.ts +1 -1
  144. package/dist/ui/components/organisms/vc-data-table/utils/ColumnCollector.d.ts.map +1 -0
  145. package/dist/ui/components/organisms/vc-data-table/utils/deepClone.d.ts.map +1 -0
  146. package/dist/ui/components/organisms/{vc-table → vc-data-table}/utils/index.d.ts +3 -3
  147. package/dist/ui/components/organisms/vc-data-table/utils/index.d.ts.map +1 -0
  148. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  149. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  150. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +1 -1
  151. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  152. package/dist/ui/index.js +3 -3
  153. package/package.json +4 -4
  154. package/dist/ui/components/organisms/vc-table/VcDataTable.vue.d.ts.map +0 -1
  155. package/dist/ui/components/organisms/vc-table/VcTableAdapter.vue.d.ts.map +0 -1
  156. package/dist/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts.map +0 -1
  157. package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +0 -1
  158. package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +0 -1
  159. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +0 -1
  160. package/dist/ui/components/organisms/vc-table/_internal/vc-table-empty/vc-table-empty.vue.d.ts.map +0 -1
  161. package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +0 -1
  162. package/dist/ui/components/organisms/vc-table/base/BaseVcDataTable.d.ts.map +0 -1
  163. package/dist/ui/components/organisms/vc-table/components/ColumnFilter.vue.d.ts.map +0 -1
  164. package/dist/ui/components/organisms/vc-table/components/ColumnSwitcherButton.vue.d.ts.map +0 -1
  165. package/dist/ui/components/organisms/vc-table/components/DataTableBody.vue.d.ts.map +0 -1
  166. package/dist/ui/components/organisms/vc-table/components/DataTableCellRenderer.vue.d.ts.map +0 -1
  167. package/dist/ui/components/organisms/vc-table/components/DataTableHeader.vue.d.ts.map +0 -1
  168. package/dist/ui/components/organisms/vc-table/components/DataTableRow.vue.d.ts.map +0 -1
  169. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersButton.vue.d.ts.map +0 -1
  170. package/dist/ui/components/organisms/vc-table/components/GlobalFiltersPanel.vue.d.ts.map +0 -1
  171. package/dist/ui/components/organisms/vc-table/components/Table.vue.d.ts.map +0 -1
  172. package/dist/ui/components/organisms/vc-table/components/TableActions.vue.d.ts.map +0 -1
  173. package/dist/ui/components/organisms/vc-table/components/TableAddRowButton.vue.d.ts.map +0 -1
  174. package/dist/ui/components/organisms/vc-table/components/TableBody.vue.d.ts.map +0 -1
  175. package/dist/ui/components/organisms/vc-table/components/TableCell.vue.d.ts.map +0 -1
  176. package/dist/ui/components/organisms/vc-table/components/TableCheckbox.vue.d.ts.map +0 -1
  177. package/dist/ui/components/organisms/vc-table/components/TableColumnSwitcher.vue.d.ts.map +0 -1
  178. package/dist/ui/components/organisms/vc-table/components/TableEmpty.vue.d.ts.map +0 -1
  179. package/dist/ui/components/organisms/vc-table/components/TableFooter.vue.d.ts.map +0 -1
  180. package/dist/ui/components/organisms/vc-table/components/TableGroupRow.vue.d.ts.map +0 -1
  181. package/dist/ui/components/organisms/vc-table/components/TableHead.vue.d.ts.map +0 -1
  182. package/dist/ui/components/organisms/vc-table/components/TableHeader.vue.d.ts.map +0 -1
  183. package/dist/ui/components/organisms/vc-table/components/TableResizeHandle.vue.d.ts.map +0 -1
  184. package/dist/ui/components/organisms/vc-table/components/TableRow.vue.d.ts.map +0 -1
  185. package/dist/ui/components/organisms/vc-table/components/TableRowActions.vue.d.ts.map +0 -1
  186. package/dist/ui/components/organisms/vc-table/components/TableSearchHeader.vue.d.ts.map +0 -1
  187. package/dist/ui/components/organisms/vc-table/components/TableSelectAllBar.vue.d.ts.map +0 -1
  188. package/dist/ui/components/organisms/vc-table/components/VcColumn.vue.d.ts.map +0 -1
  189. package/dist/ui/components/organisms/vc-table/components/_internal/SlotProxy.d.ts.map +0 -1
  190. package/dist/ui/components/organisms/vc-table/components/_internal/TableSkeletonRows.vue.d.ts.map +0 -1
  191. package/dist/ui/components/organisms/vc-table/components/cells/CellDate.vue.d.ts.map +0 -1
  192. package/dist/ui/components/organisms/vc-table/components/cells/CellDateAgo.vue.d.ts.map +0 -1
  193. package/dist/ui/components/organisms/vc-table/components/cells/CellDefault.vue.d.ts.map +0 -1
  194. package/dist/ui/components/organisms/vc-table/components/cells/CellEditableWrapper.vue.d.ts.map +0 -1
  195. package/dist/ui/components/organisms/vc-table/components/cells/CellHtml.vue.d.ts.map +0 -1
  196. package/dist/ui/components/organisms/vc-table/components/cells/CellImage.vue.d.ts.map +0 -1
  197. package/dist/ui/components/organisms/vc-table/components/cells/CellLink.vue.d.ts.map +0 -1
  198. package/dist/ui/components/organisms/vc-table/components/cells/CellMoney.vue.d.ts.map +0 -1
  199. package/dist/ui/components/organisms/vc-table/components/cells/CellNumber.vue.d.ts.map +0 -1
  200. package/dist/ui/components/organisms/vc-table/components/cells/CellStatus.vue.d.ts.map +0 -1
  201. package/dist/ui/components/organisms/vc-table/components/cells/CellStatusIcon.vue.d.ts.map +0 -1
  202. package/dist/ui/components/organisms/vc-table/components/cells/DynamicCellRenderer.vue.d.ts.map +0 -1
  203. package/dist/ui/components/organisms/vc-table/components/cells/index.d.ts.map +0 -1
  204. package/dist/ui/components/organisms/vc-table/components/index.d.ts +0 -27
  205. package/dist/ui/components/organisms/vc-table/components/index.d.ts.map +0 -1
  206. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileCard.vue.d.ts.map +0 -1
  207. package/dist/ui/components/organisms/vc-table/components/mobile/DataTableMobileView.vue.d.ts.map +0 -1
  208. package/dist/ui/components/organisms/vc-table/components/mobile/MobileActionSheet.vue.d.ts.map +0 -1
  209. package/dist/ui/components/organisms/vc-table/components/mobile/MobileCellRenderer.vue.d.ts.map +0 -1
  210. package/dist/ui/components/organisms/vc-table/components/mobile/PullToRefresh.vue.d.ts.map +0 -1
  211. package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts +0 -6
  212. package/dist/ui/components/organisms/vc-table/components/mobile/index.d.ts.map +0 -1
  213. package/dist/ui/components/organisms/vc-table/composables/index.d.ts.map +0 -1
  214. package/dist/ui/components/organisms/vc-table/composables/useCellBase.d.ts.map +0 -1
  215. package/dist/ui/components/organisms/vc-table/composables/useCellRegistry.d.ts.map +0 -1
  216. package/dist/ui/components/organisms/vc-table/composables/useColumnFilter.d.ts.map +0 -1
  217. package/dist/ui/components/organisms/vc-table/composables/useDataProcessing.d.ts.map +0 -1
  218. package/dist/ui/components/organisms/vc-table/composables/useDataTableOrchestrator.d.ts.map +0 -1
  219. package/dist/ui/components/organisms/vc-table/composables/useDataTableState.d.ts.map +0 -1
  220. package/dist/ui/components/organisms/vc-table/composables/useMobileCardLayout.d.ts.map +0 -1
  221. package/dist/ui/components/organisms/vc-table/composables/useTableColumns.d.ts.map +0 -1
  222. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsReorder.d.ts.map +0 -1
  223. package/dist/ui/components/organisms/vc-table/composables/useTableColumnsResize.d.ts.map +0 -1
  224. package/dist/ui/components/organisms/vc-table/composables/useTableContext.d.ts.map +0 -1
  225. package/dist/ui/components/organisms/vc-table/composables/useTableEditing.d.ts.map +0 -1
  226. package/dist/ui/components/organisms/vc-table/composables/useTableExpansion.d.ts.map +0 -1
  227. package/dist/ui/components/organisms/vc-table/composables/useTableFilter.d.ts.map +0 -1
  228. package/dist/ui/components/organisms/vc-table/composables/useTableInlineEdit.d.ts.map +0 -1
  229. package/dist/ui/components/organisms/vc-table/composables/useTableRowGrouping.d.ts.map +0 -1
  230. package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +0 -1
  231. package/dist/ui/components/organisms/vc-table/composables/useTableSelectionV2.d.ts.map +0 -1
  232. package/dist/ui/components/organisms/vc-table/composables/useTableSort.d.ts.map +0 -1
  233. package/dist/ui/components/organisms/vc-table/composables/useTableSwipe.d.ts.map +0 -1
  234. package/dist/ui/components/organisms/vc-table/composables/useVirtualScroll.d.ts.map +0 -1
  235. package/dist/ui/components/organisms/vc-table/index.d.ts.map +0 -1
  236. package/dist/ui/components/organisms/vc-table/keys.d.ts.map +0 -1
  237. package/dist/ui/components/organisms/vc-table/types.d.ts.map +0 -1
  238. package/dist/ui/components/organisms/vc-table/utils/ColumnCollector.d.ts.map +0 -1
  239. package/dist/ui/components/organisms/vc-table/utils/deepClone.d.ts.map +0 -1
  240. package/dist/ui/components/organisms/vc-table/utils/index.d.ts.map +0 -1
  241. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-base-header/vc-table-base-header.vue.d.ts +0 -0
  242. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-counter/vc-table-counter.vue.d.ts +0 -0
  243. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/_internal/vc-table-filter/vc-table-filter.vue.d.ts +0 -0
  244. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/ColumnSwitcherButton.vue.d.ts +0 -0
  245. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/GlobalFiltersButton.vue.d.ts +0 -0
  246. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/Table.vue.d.ts +0 -0
  247. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableAddRowButton.vue.d.ts +0 -0
  248. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableBody.vue.d.ts +0 -0
  249. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableCell.vue.d.ts +0 -0
  250. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableCheckbox.vue.d.ts +0 -0
  251. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableColumnSwitcher.vue.d.ts +0 -0
  252. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableEmpty.vue.d.ts +0 -0
  253. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableFooter.vue.d.ts +0 -0
  254. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableGroupRow.vue.d.ts +0 -0
  255. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableHead.vue.d.ts +0 -0
  256. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableHeader.vue.d.ts +0 -0
  257. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableResizeHandle.vue.d.ts +0 -0
  258. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableRow.vue.d.ts +0 -0
  259. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableSearchHeader.vue.d.ts +0 -0
  260. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/TableSelectAllBar.vue.d.ts +0 -0
  261. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/_internal/SlotProxy.d.ts +0 -0
  262. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellDate.vue.d.ts +0 -0
  263. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellDateAgo.vue.d.ts +0 -0
  264. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellDefault.vue.d.ts +0 -0
  265. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellEditableWrapper.vue.d.ts +0 -0
  266. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellHtml.vue.d.ts +0 -0
  267. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellImage.vue.d.ts +0 -0
  268. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellLink.vue.d.ts +0 -0
  269. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellMoney.vue.d.ts +0 -0
  270. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellNumber.vue.d.ts +0 -0
  271. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellStatus.vue.d.ts +0 -0
  272. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/CellStatusIcon.vue.d.ts +0 -0
  273. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/cells/DynamicCellRenderer.vue.d.ts +0 -0
  274. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/components/mobile/PullToRefresh.vue.d.ts +0 -0
  275. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useCellBase.d.ts +0 -0
  276. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useCellRegistry.d.ts +0 -0
  277. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useDataTableState.d.ts +0 -0
  278. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableColumnsReorder.d.ts +0 -0
  279. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableColumnsResize.d.ts +0 -0
  280. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableEditing.d.ts +0 -0
  281. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableExpansion.d.ts +0 -0
  282. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableInlineEdit.d.ts +0 -0
  283. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableRowGrouping.d.ts +0 -0
  284. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableSelectionV2.d.ts +0 -0
  285. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useTableSwipe.d.ts +0 -0
  286. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/composables/useVirtualScroll.d.ts +0 -0
  287. /package/dist/ui/components/organisms/{vc-table → vc-data-table}/utils/deepClone.d.ts +0 -0
@@ -1,5 +1,5 @@
1
- import { defineComponent as G, computed as v, onMounted as Te, openBlock as C, createElementBlock as O, normalizeStyle as Ce, normalizeClass as H, toDisplayString as he, markRaw as Ot, createBlock as J, resolveDynamicComponent as Fe, createElementVNode as N, mergeProps as xe, createCommentVNode as K, resolveComponent as je, inject as M, unref as L, renderSlot as ye, ref as k, watch as Y, nextTick as ne, onBeforeUnmount as at, toValue as le, getCurrentInstance as we, withKeys as ft, withModifiers as Ye, Teleport as qt, createVNode as Z, Transition as st, withCtx as fe, withDirectives as it, Fragment as Le, renderList as ot, createTextVNode as pt, toRef as kt, reactive as Zt, createApp as Xt, onErrorCaptured as Yt, shallowRef as lt, provide as Ie, vShow as Vt, h as Qt, isRef as er, createStaticVNode as tr, onUnmounted as rr } from "vue";
2
- import { o as Rt, s as nr, c as ke } from "./vendor-lodash-es-BwHYzZ39.js";
1
+ import { defineComponent as L, computed as v, onMounted as Te, openBlock as C, createElementBlock as O, normalizeStyle as Ce, normalizeClass as K, toDisplayString as he, markRaw as Ot, createBlock as J, resolveDynamicComponent as Fe, createElementVNode as N, mergeProps as xe, createCommentVNode as H, resolveComponent as je, inject as D, unref as M, renderSlot as ye, ref as R, watch as X, nextTick as ne, onBeforeUnmount as at, toValue as le, getCurrentInstance as Ee, withKeys as ft, withModifiers as Xe, Teleport as qt, createVNode as Z, Transition as st, withCtx as fe, withDirectives as it, Fragment as Me, renderList as ot, createTextVNode as pt, toRef as Rt, reactive as Zt, createApp as Yt, onErrorCaptured as Xt, shallowRef as lt, provide as Ie, vShow as Vt, h as Qt, isRef as er, createStaticVNode as tr, onUnmounted as rr } from "vue";
2
+ import { o as kt, s as nr, c as Re } from "./vendor-lodash-es-BwHYzZ39.js";
3
3
  import { u as ar, a as sr, o as ir } from "./vendor-vueuse-core-CPOkeLul.js";
4
4
  import { u as or, j as Bt, k as lr } from "./vendor-vueuse-shared-Byno6iDO.js";
5
5
  import { c as ur, u as cr } from "./vendor-vue-i18n-BSCeQYoP.js";
@@ -11,10 +11,10 @@ import { f as vr, s as gr, o as mt, b as br } from "./vendor-floating-ui-dom-BvV
11
11
  import { defineRule as _e } from "vee-validate";
12
12
  import { a as vt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
13
13
  import { _ as yr } from "./vendor-cypress-signalr-mock-itnm2wpA.js";
14
- import { H as xr, L as wr } from "./vendor-microsoft-signalr-Bgpbb4fW.js";
14
+ import { H as xr, L as Er } from "./vendor-microsoft-signalr-Bgpbb4fW.js";
15
15
  import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
16
- import { L as Er } from "./vendor-lucide-vue-next-CwUrzD6N.js";
17
- const Cr = /* @__PURE__ */ G({
16
+ import { L as wr } from "./vendor-lucide-vue-next-CwUrzD6N.js";
17
+ const Cr = /* @__PURE__ */ L({
18
18
  __name: "vc-material-icon",
19
19
  props: {
20
20
  icon: {},
@@ -27,7 +27,7 @@ const Cr = /* @__PURE__ */ G({
27
27
  const e = s, t = v(() => typeof e.customSize == "number" && e.customSize > 0), n = v(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
28
28
  return Te(() => {
29
29
  }), (r, a) => (C(), O("span", {
30
- class: H([
30
+ class: K([
31
31
  "vc-material-icon",
32
32
  "material-symbols-" + s.type,
33
33
  !t.value && `vc-material-icon--${s.size}`,
@@ -37,7 +37,7 @@ const Cr = /* @__PURE__ */ G({
37
37
  "aria-hidden": "true"
38
38
  }, he(s.icon), 7));
39
39
  }
40
- }), _r = /* @__PURE__ */ G({
40
+ }), _r = /* @__PURE__ */ L({
41
41
  __name: "vc-bootstrap-icon",
42
42
  props: {
43
43
  icon: {},
@@ -51,7 +51,7 @@ const Cr = /* @__PURE__ */ G({
51
51
  });
52
52
  const r = v(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
53
53
  return (a, o) => (C(), O("i", {
54
- class: H([
54
+ class: K([
55
55
  "vc-bootstrap-icon",
56
56
  !t.value && `vc-bootstrap-icon--${s.size}`,
57
57
  r.value,
@@ -71,13 +71,13 @@ const gt = {
71
71
  warn: 2,
72
72
  error: 3,
73
73
  none: 4
74
- }, Ur = {
74
+ }, Ar = {
75
75
  level: "warn",
76
76
  prefix: "@vc-shell/framework",
77
77
  enabled: !0
78
78
  };
79
79
  function j(s) {
80
- const e = { ...Ur }, t = s ? `[${e.prefix}#${s}]` : `[${e.prefix}]`, n = (r) => e.enabled ? gt[r] >= gt[e.level] : !1;
80
+ const e = { ...Ar }, t = s ? `[${e.prefix}#${s}]` : `[${e.prefix}]`, n = (r) => e.enabled ? gt[r] >= gt[e.level] : !1;
81
81
  return {
82
82
  /**
83
83
  * Log debug messages (only in development)
@@ -121,7 +121,7 @@ function j(s) {
121
121
  }
122
122
  };
123
123
  }
124
- const Fs = j(), Ls = {
124
+ const Fs = j(), Ms = {
125
125
  core: j("core"),
126
126
  ui: j("ui"),
127
127
  shared: j("shared"),
@@ -143,17 +143,17 @@ class ae extends Error {
143
143
  };
144
144
  }
145
145
  }
146
- class Ms extends ae {
146
+ class Ds extends ae {
147
147
  constructor(e, t) {
148
148
  super(e, "VALIDATION_ERROR", t), this.name = "ValidationError";
149
149
  }
150
150
  }
151
- class Gs extends ae {
151
+ class Ls extends ae {
152
152
  constructor(e, t) {
153
153
  super(e, "SERVICE_ERROR", t), this.name = "ServiceError";
154
154
  }
155
155
  }
156
- class Ar extends ae {
156
+ class Ur extends ae {
157
157
  constructor(e, t) {
158
158
  super(`${e} not provided. Make sure to call the corresponding 'provide' function.`, "INJECTION_ERROR", {
159
159
  serviceName: e,
@@ -161,7 +161,7 @@ class Ar extends ae {
161
161
  }), this.name = "InjectionError";
162
162
  }
163
163
  }
164
- class Ds extends ae {
164
+ class Gs extends ae {
165
165
  constructor(e, t, n) {
166
166
  super(`Failed to register '${e}': ${t}`, "REGISTRATION_ERROR", {
167
167
  componentName: e,
@@ -188,7 +188,7 @@ class Ws extends ae {
188
188
  function Ir(s) {
189
189
  return s instanceof ae;
190
190
  }
191
- function Ks(s, e = "UNKNOWN_ERROR") {
191
+ function Hs(s, e = "UNKNOWN_ERROR") {
192
192
  return Ir(s) ? s : s instanceof Error ? new ae(s.message, e, {
193
193
  originalError: s.name,
194
194
  stack: s.stack
@@ -228,7 +228,7 @@ function Ve(s) {
228
228
  }
229
229
  return new ge("An unknown error occurred.", String(s), s);
230
230
  }
231
- const Tr = /* @__PURE__ */ G({
231
+ const Tr = /* @__PURE__ */ L({
232
232
  __name: "vc-lucide-icon",
233
233
  props: {
234
234
  icon: {},
@@ -243,7 +243,7 @@ const Tr = /* @__PURE__ */ G({
243
243
  let u = t.icon;
244
244
  return u.startsWith("lucide-") && (u = u.substring(7)), u.toLowerCase().endsWith("icon") && (u = u.slice(0, -4)), u.includes("-") && (u = u.split("-").map((l) => l.charAt(0).toUpperCase() + l.slice(1)).join("")), u.charAt(0).toUpperCase() + u.slice(1) + "Icon";
245
245
  }), a = v(() => {
246
- const u = r.value, l = Er[u];
246
+ const u = r.value, l = wr[u];
247
247
  return !l || typeof l != "object" && typeof l != "function" ? (e.warn(`Lucide icon not found: ${u}`), null) : Ot(l);
248
248
  }), o = v(() => n.value && t.customSize ? {
249
249
  width: `${t.customSize}px`,
@@ -252,7 +252,7 @@ const Tr = /* @__PURE__ */ G({
252
252
  return (u, l) => a.value ? (C(), J(Fe(a.value), {
253
253
  key: 0,
254
254
  "stroke-width": t.strokeWidth,
255
- class: H([
255
+ class: K([
256
256
  "vc-lucide-icon",
257
257
  !n.value && `vc-lucide-icon--${s.size}`,
258
258
  s.variant ? `vc-lucide-icon--${s.variant}` : ""
@@ -261,12 +261,12 @@ const Tr = /* @__PURE__ */ G({
261
261
  "aria-hidden": "true"
262
262
  }, null, 8, ["stroke-width", "class", "style"])) : (C(), O("span", {
263
263
  key: 1,
264
- class: H(["vc-lucide-icon", !n.value && `vc-lucide-icon--${s.size}`])
264
+ class: K(["vc-lucide-icon", !n.value && `vc-lucide-icon--${s.size}`])
265
265
  }, [...l[0] || (l[0] = [
266
266
  N("i", { class: "vc-lucide-icon__fallback" }, null, -1)
267
267
  ])], 2));
268
268
  }
269
- }), Pr = /* @__PURE__ */ G({
269
+ }), Pr = /* @__PURE__ */ L({
270
270
  __name: "vc-fontawesome-icon",
271
271
  props: {
272
272
  icon: {},
@@ -280,7 +280,7 @@ const Tr = /* @__PURE__ */ G({
280
280
  });
281
281
  const r = v(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
282
282
  return (a, o) => (C(), O("i", {
283
- class: H([
283
+ class: K([
284
284
  "vc-fa-icon",
285
285
  !t.value && `vc-fa-icon--${s.size}`,
286
286
  r.value,
@@ -290,7 +290,7 @@ const Tr = /* @__PURE__ */ G({
290
290
  "aria-hidden": "true"
291
291
  }, null, 6));
292
292
  }
293
- }), Or = ["xlink:href"], kr = /* @__PURE__ */ G({
293
+ }), Or = ["xlink:href"], Rr = /* @__PURE__ */ L({
294
294
  inheritAttrs: !1,
295
295
  __name: "vc-svg-icon",
296
296
  props: {
@@ -323,10 +323,10 @@ const Tr = /* @__PURE__ */ G({
323
323
  n.value ? (C(), O("use", {
324
324
  key: 0,
325
325
  "xlink:href": n.value
326
- }, null, 8, Or)) : K("", !0)
326
+ }, null, 8, Or)) : H("", !0)
327
327
  ], 16));
328
328
  }
329
- }), Rr = ["aria-hidden", "aria-label", "role"], se = /* @__PURE__ */ G({
329
+ }), kr = ["aria-hidden", "aria-label", "role"], se = /* @__PURE__ */ L({
330
330
  __name: "vc-icon",
331
331
  props: {
332
332
  icon: { default: "lucide-square" },
@@ -387,7 +387,7 @@ const Tr = /* @__PURE__ */ G({
387
387
  } catch {
388
388
  return "i";
389
389
  }
390
- }), f = v(() => a.value ? Cr : o.value ? _r : u.value ? Tr : l.value ? Pr : U.value ? kr : d.value ? c.value : "i"), h = v(() => e.customSize ? e.customSize : t[e.size]), m = v(() => {
390
+ }), f = v(() => a.value ? Cr : o.value ? _r : u.value ? Tr : l.value ? Pr : A.value ? Rr : d.value ? c.value : "i"), h = v(() => e.customSize ? e.customSize : t[e.size]), m = v(() => {
391
391
  const g = {};
392
392
  return d.value && e.customSize && (g.width = `${e.customSize}px`, g.height = `${e.customSize}px`), g;
393
393
  }), b = v(() => e.customSize ? {
@@ -421,8 +421,8 @@ const Tr = /* @__PURE__ */ G({
421
421
  variant: e.variant,
422
422
  customSize: e.customSize
423
423
  // Set custom size without scaling
424
- } : U.value ? {
425
- icon: w.value,
424
+ } : A.value ? {
425
+ icon: E.value,
426
426
  size: e.size,
427
427
  variant: e.variant,
428
428
  customSize: e.customSize,
@@ -432,7 +432,7 @@ const Tr = /* @__PURE__ */ G({
432
432
  width: h.value,
433
433
  height: h.value,
434
434
  color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
435
- } : {}), U = v(() => n.value === "svg"), w = v(() => !U.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
435
+ } : {}), A = v(() => n.value === "svg"), E = v(() => !A.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
436
436
  return (g, P) => s.useContainer ? (C(), O("div", xe({
437
437
  key: 0,
438
438
  class: ["vc-icon-container", `vc-icon-container--${s.size}`],
@@ -450,7 +450,7 @@ const Tr = /* @__PURE__ */ G({
450
450
  ],
451
451
  style: m.value
452
452
  }, S.value), null, 16, ["class", "style"]))
453
- ], 16, Rr)) : (C(), J(Fe(f.value), xe({
453
+ ], 16, kr)) : (C(), J(Fe(f.value), xe({
454
454
  key: 1,
455
455
  class: [
456
456
  "vc-icon",
@@ -467,7 +467,7 @@ const Tr = /* @__PURE__ */ G({
467
467
  }), Br = Symbol("vc-button-group"), $r = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Nr = {
468
468
  key: 2,
469
469
  class: "vc-button__title"
470
- }, jr = /* @__PURE__ */ G({
470
+ }, jr = /* @__PURE__ */ L({
471
471
  __name: "vc-button",
472
472
  props: {
473
473
  icon: {},
@@ -487,7 +487,7 @@ const Tr = /* @__PURE__ */ G({
487
487
  const t = {
488
488
  base: "default",
489
489
  xs: "sm"
490
- }, n = s, r = e, a = M(Br, null), o = v(() => {
490
+ }, n = s, r = e, a = D(Br, null), o = v(() => {
491
491
  const d = a?.size?.value ?? n.size;
492
492
  return t[d] ?? d;
493
493
  }), u = v(() => [
@@ -505,7 +505,7 @@ const Tr = /* @__PURE__ */ G({
505
505
  !n.disabled && !n.loading && (d.preventDefault(), r("click", d));
506
506
  }
507
507
  return (d, c) => (C(), O("button", {
508
- class: H(u.value),
508
+ class: K(u.value),
509
509
  type: s.type,
510
510
  disabled: s.disabled || s.loading,
511
511
  "aria-label": s.ariaLabel,
@@ -513,20 +513,20 @@ const Tr = /* @__PURE__ */ G({
513
513
  "aria-pressed": s.selected || void 0,
514
514
  onClick: l
515
515
  }, [
516
- s.loading ? (C(), J(L(se), {
516
+ s.loading ? (C(), J(M(se), {
517
517
  key: 0,
518
518
  icon: "lucide-loader-2",
519
519
  class: "vc-button__icon tw-animate-spin",
520
520
  size: s.iconSize
521
- }, null, 8, ["size"])) : s.icon ? (C(), J(L(se), {
521
+ }, null, 8, ["size"])) : s.icon ? (C(), J(M(se), {
522
522
  key: 1,
523
- class: H(["vc-button--icon", s.iconClass]),
523
+ class: K(["vc-button--icon", s.iconClass]),
524
524
  icon: s.icon,
525
525
  size: s.iconSize
526
- }, null, 8, ["class", "icon", "size"])) : K("", !0),
526
+ }, null, 8, ["class", "icon", "size"])) : H("", !0),
527
527
  d.$slots.default ? (C(), O("span", Nr, [
528
528
  ye(d.$slots, "default")
529
- ])) : K("", !0)
529
+ ])) : H("", !0)
530
530
  ], 10, $r));
531
531
  }
532
532
  });
@@ -536,7 +536,7 @@ function bt(s) {
536
536
  const t = getComputedStyle(s), n = s.offsetWidth + parseFloat(t.marginLeft || "0") + parseFloat(t.marginRight || "0");
537
537
  return s.style.flexShrink = e, n;
538
538
  }
539
- function Ke(s) {
539
+ function He(s) {
540
540
  const e = getComputedStyle(s), t = e.columnGap || e.gap || "0px";
541
541
  return parseFloat(t) || 0;
542
542
  }
@@ -548,9 +548,9 @@ function zr(s) {
548
548
  moreButtonWidth: r,
549
549
  calculationStrategy: a = "forward",
550
550
  initialItemWidth: o = 50
551
- } = s, { width: u } = ar(e), l = k(/* @__PURE__ */ new Map()), d = k(null), c = k(0), f = k([]), h = k([]), m = v(() => h.value.length > 0);
551
+ } = s, { width: u } = ar(e), l = R(/* @__PURE__ */ new Map()), d = R(null), c = R(0), f = R([]), h = R([]), m = v(() => h.value.length > 0);
552
552
  let b = null;
553
- const S = /* @__PURE__ */ new Set(), U = () => d.value ?? r, w = () => {
553
+ const S = /* @__PURE__ */ new Set(), A = () => d.value ?? r, E = () => {
554
554
  if (!e.value) return;
555
555
  const p = e.value.querySelector("[data-more-button]");
556
556
  if (p) {
@@ -562,35 +562,35 @@ function zr(s) {
562
562
  return l.value.get(y) || o;
563
563
  }, P = (p, y) => {
564
564
  let x = 0;
565
- const A = [], R = [], I = c.value;
565
+ const U = [], k = [], I = c.value;
566
566
  for (const $ of p) {
567
- const ee = g($), ie = A.length > 0 ? I : 0;
568
- x + ie + ee <= y ? (A.push($), x += ie + ee) : R.push($);
567
+ const ee = g($), ie = U.length > 0 ? I : 0;
568
+ x + ie + ee <= y ? (U.push($), x += ie + ee) : k.push($);
569
569
  }
570
- return { visible: A, hidden: R };
571
- }, E = () => {
570
+ return { visible: U, hidden: k };
571
+ }, w = () => {
572
572
  if (!e.value || !t.value.length) return;
573
573
  if (u.value <= 0) {
574
574
  f.value = [...t.value], h.value = [];
575
575
  return;
576
576
  }
577
- c.value = Ke(e.value);
577
+ c.value = He(e.value);
578
578
  const p = c.value, y = a === "reverse" ? [...t.value].reverse() : t.value;
579
579
  let x = P(y, u.value);
580
580
  if (x.hidden.length > 0) {
581
- const A = U(), R = x.visible.length > 0 ? p : 0;
582
- x = P(y, u.value - A - R);
581
+ const U = A(), k = x.visible.length > 0 ? p : 0;
582
+ x = P(y, u.value - U - k);
583
583
  }
584
584
  a === "reverse" ? (f.value = x.visible.reverse(), h.value = x.hidden.reverse()) : (f.value = x.visible, h.value = x.hidden);
585
585
  }, _ = () => {
586
586
  if (!e.value) return;
587
- c.value = Ke(e.value), w(), e.value.querySelectorAll("[data-item-key]").forEach((y) => {
587
+ c.value = He(e.value), E(), e.value.querySelectorAll("[data-item-key]").forEach((y) => {
588
588
  const x = y.getAttribute("data-item-key");
589
589
  if (x) {
590
- const A = bt(y);
591
- A > 0 && l.value.set(x, A);
590
+ const U = bt(y);
591
+ U > 0 && l.value.set(x, U);
592
592
  }
593
- }), E();
593
+ }), w();
594
594
  }, T = () => {
595
595
  const p = new Set(t.value.map(n));
596
596
  for (const y of l.value.keys())
@@ -599,14 +599,14 @@ function zr(s) {
599
599
  b || (b = new ResizeObserver((p) => {
600
600
  let y = !1;
601
601
  for (const x of p) {
602
- const A = x.target;
603
- if (!A.isConnected) continue;
604
- const R = A.getAttribute("data-item-key");
605
- if (!R) continue;
606
- const I = getComputedStyle(A), $ = x.borderBoxSize?.[0]?.inlineSize, ie = ($ ?? A.offsetWidth) + parseFloat(I.marginLeft || "0") + parseFloat(I.marginRight || "0");
607
- ie > 0 && l.value.get(R) !== ie && (l.value.set(R, ie), y = !0);
602
+ const U = x.target;
603
+ if (!U.isConnected) continue;
604
+ const k = U.getAttribute("data-item-key");
605
+ if (!k) continue;
606
+ const I = getComputedStyle(U), $ = x.borderBoxSize?.[0]?.inlineSize, ie = ($ ?? U.offsetWidth) + parseFloat(I.marginLeft || "0") + parseFloat(I.marginRight || "0");
607
+ ie > 0 && l.value.get(k) !== ie && (l.value.set(k, ie), y = !0);
608
608
  }
609
- y && E();
609
+ y && w();
610
610
  })), ne(() => {
611
611
  if (!e.value) return;
612
612
  const p = e.value.querySelectorAll("[data-item-key]"), y = /* @__PURE__ */ new Set();
@@ -618,16 +618,16 @@ function zr(s) {
618
618
  _();
619
619
  });
620
620
  }, W = or(() => {
621
- e.value && (c.value = Ke(e.value)), E();
621
+ e.value && (c.value = He(e.value)), w();
622
622
  }, 50);
623
- return Y(u, () => {
623
+ return X(u, () => {
624
624
  W();
625
- }), Y(m, (p) => {
625
+ }), X(m, (p) => {
626
626
  p && ne(() => {
627
627
  const y = d.value;
628
- w(), d.value !== null && d.value !== y && E();
628
+ E(), d.value !== null && d.value !== y && w();
629
629
  });
630
- }), Y(
630
+ }), X(
631
631
  () => t.value.map(n).join("\0"),
632
632
  () => {
633
633
  T(), ne(() => {
@@ -685,9 +685,9 @@ function Fr(s, e, t = {}) {
685
685
  resolvedStrategy: r
686
686
  };
687
687
  }
688
- const De = Symbol("BladeStack"), ut = Symbol("BladeMessaging"), ct = Symbol("BladeDescriptor"), Lr = Symbol("BladeData"), Hs = Symbol("NavigationViewLocation"), Mr = Symbol("BladeInstance"), Gr = Symbol("BladeBackButton"), qs = Symbol("NotificationTemplates"), Dr = Symbol("NotificationStore"), Zs = Symbol("WidgetService"), Xs = Symbol("DashboardService"), Ys = Symbol("GlobalSearch"), Vs = Symbol("MenuService"), Qs = Symbol("SettingsMenuService"), ei = Symbol("AppBarWidgetService"), ti = Symbol("AppBarMobileButtonsService"), Jr = Symbol("LanguageService"), Wr = Symbol("ToolbarService"), ri = Symbol("DynamicModules"), ni = Symbol("ModulesReady"), ai = Symbol("ModulesLoadError"), Kr = Symbol("AppRootElement"), Hr = Symbol("EmbeddedMode"), si = Symbol("ShellIndicators"), Je = Symbol("AiAgentService"), Nt = Symbol("IsMobile"), ii = Symbol("IsDesktop"), oi = Symbol("IsPhone"), li = Symbol("IsTablet"), ui = Symbol("IsTouch"), ci = Symbol("BladeRoutes"), di = Symbol("InternalRoutes"), hi = Symbol("CloseSettingsMenu"), fi = Symbol("BladeContext"), pi = Symbol("WidgetScope");
688
+ const Ge = Symbol("BladeStack"), ut = Symbol("BladeMessaging"), ct = Symbol("BladeDescriptor"), Mr = Symbol("BladeData"), Ks = Symbol("NavigationViewLocation"), Dr = Symbol("BladeInstance"), Lr = Symbol("BladeBackButton"), qs = Symbol("NotificationTemplates"), Gr = Symbol("NotificationStore"), Zs = Symbol("WidgetService"), Ys = Symbol("DashboardService"), Xs = Symbol("GlobalSearch"), Vs = Symbol("MenuService"), Qs = Symbol("SettingsMenuService"), ei = Symbol("AppBarWidgetService"), ti = Symbol("AppBarMobileButtonsService"), Jr = Symbol("LanguageService"), Wr = Symbol("ToolbarService"), ri = Symbol("DynamicModules"), ni = Symbol("ModulesReady"), ai = Symbol("ModulesLoadError"), Hr = Symbol("AppRootElement"), Kr = Symbol("EmbeddedMode"), si = Symbol("ShellIndicators"), Je = Symbol("AiAgentService"), Nt = Symbol("IsMobile"), ii = Symbol("IsDesktop"), oi = Symbol("IsPhone"), li = Symbol("IsTablet"), ui = Symbol("IsTouch"), ci = Symbol("BladeRoutes"), di = Symbol("InternalRoutes"), hi = Symbol("CloseSettingsMenu"), fi = Symbol("BladeContext"), pi = Symbol("WidgetScope");
689
689
  function qr(s = {}) {
690
- const e = M(Kr, void 0);
690
+ const e = D(Hr, void 0);
691
691
  return {
692
692
  teleportTarget: v(() => {
693
693
  const n = s.to ? le(s.to) : void 0;
@@ -700,7 +700,7 @@ function qr(s = {}) {
700
700
  })
701
701
  };
702
702
  }
703
- const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
703
+ const Zr = ["title"], Yr = ["title"], Xr = /* @__PURE__ */ L({
704
704
  __name: "vc-breadcrumbs-item",
705
705
  props: {
706
706
  current: { type: Boolean },
@@ -718,15 +718,15 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
718
718
  }
719
719
  return (o, u) => s.current ? (C(), O("span", {
720
720
  key: 0,
721
- class: H(["vc-breadcrumbs-item vc-breadcrumbs-item--current", { "vc-breadcrumbs-item--light": s.variant === "light" }]),
721
+ class: K(["vc-breadcrumbs-item vc-breadcrumbs-item--current", { "vc-breadcrumbs-item--light": s.variant === "light" }]),
722
722
  "aria-current": "page"
723
723
  }, [
724
- s.icon ? (C(), J(L(se), {
724
+ s.icon ? (C(), J(M(se), {
725
725
  key: 0,
726
726
  class: "vc-breadcrumbs-item__icon",
727
727
  icon: s.icon,
728
728
  size: "s"
729
- }, null, 8, ["icon"])) : K("", !0),
729
+ }, null, 8, ["icon"])) : H("", !0),
730
730
  N("span", {
731
731
  class: "vc-breadcrumbs-item__title",
732
732
  title: r.value
@@ -734,19 +734,19 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
734
734
  ], 2)) : (C(), O("button", {
735
735
  key: 1,
736
736
  type: "button",
737
- class: H(["vc-breadcrumbs-item", { "vc-breadcrumbs-item--light": s.variant === "light" }]),
737
+ class: K(["vc-breadcrumbs-item", { "vc-breadcrumbs-item--light": s.variant === "light" }]),
738
738
  onClick: a
739
739
  }, [
740
- s.icon ? (C(), J(L(se), {
740
+ s.icon ? (C(), J(M(se), {
741
741
  key: 0,
742
742
  class: "vc-breadcrumbs-item__icon",
743
743
  icon: s.icon,
744
744
  size: "s"
745
- }, null, 8, ["icon"])) : K("", !0),
745
+ }, null, 8, ["icon"])) : H("", !0),
746
746
  N("span", {
747
747
  class: "vc-breadcrumbs-item__title",
748
748
  title: r.value
749
- }, he(r.value), 9, Xr)
749
+ }, he(r.value), 9, Yr)
750
750
  ], 2));
751
751
  }
752
752
  }), Vr = { class: "vc-dropdown" }, Qr = ["aria-expanded", "aria-haspopup", "onKeydown"], en = ["role", "aria-activedescendant"], tn = {
@@ -755,7 +755,7 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
755
755
  }, rn = ["id", "role", "aria-selected", "onClick"], nn = {
756
756
  key: 1,
757
757
  class: "vc-dropdown__empty"
758
- }, an = /* @__PURE__ */ G({
758
+ }, an = /* @__PURE__ */ L({
759
759
  __name: "vc-dropdown",
760
760
  props: {
761
761
  modelValue: { type: Boolean, default: !1 },
@@ -784,12 +784,12 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
784
784
  },
785
785
  emits: ["update:modelValue", "item-click", "open", "close"],
786
786
  setup(s, { emit: e }) {
787
- const t = s, n = e, o = `vc-dropdown-${we()?.uid ?? Math.round(Math.random() * 1e4)}`, u = M(Nt, k(!1)), l = k(null), d = k(null), c = k(-1), { teleportTarget: f } = qr({
787
+ const t = s, n = e, o = `vc-dropdown-${Ee()?.uid ?? Math.round(Math.random() * 1e4)}`, u = D(Nt, R(!1)), l = R(null), d = R(null), c = R(-1), { teleportTarget: f } = qr({
788
788
  to: v(() => t.teleportTo)
789
789
  }), h = v(() => t.teleport ?? t.floating), m = v({
790
790
  get: () => t.modelValue,
791
791
  set: (B) => n("update:modelValue", B)
792
- }), { x: b, y: S, resolvedPlacement: U, resolvedStrategy: w } = Fr(l, d, {
792
+ }), { x: b, y: S, resolvedPlacement: A, resolvedStrategy: E } = Fr(l, d, {
793
793
  placement: v(() => t.placement),
794
794
  strategy: v(() => t.floating ? "fixed" : "absolute"),
795
795
  offset: v(() => t.offset),
@@ -800,19 +800,19 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
800
800
  "vc-dropdown__dropdown--floating": t.floating
801
801
  },
802
802
  `vc-dropdown__dropdown--${t.variant}`,
803
- `vc-dropdown__dropdown--${U.value}`
803
+ `vc-dropdown__dropdown--${A.value}`
804
804
  ]), P = v(() => t.floating ? {
805
- position: w.value,
805
+ position: E.value,
806
806
  top: `${S.value ?? 0}px`,
807
807
  left: `${b.value ?? 0}px`,
808
808
  zIndex: t.zIndex,
809
809
  width: "max-content"
810
- } : {}), E = v(() => t.maxHeight ? typeof t.maxHeight == "number" ? `${t.maxHeight}px` : t.maxHeight : ""), _ = v(() => t.role === "listbox" ? "option" : "menuitem"), T = v(() => {
810
+ } : {}), w = v(() => t.maxHeight ? typeof t.maxHeight == "number" ? `${t.maxHeight}px` : t.maxHeight : ""), _ = v(() => t.role === "listbox" ? "option" : "menuitem"), T = v(() => {
811
811
  if (!(c.value < 0 || c.value >= t.items.length))
812
812
  return p(c.value);
813
813
  }), F = [
814
814
  () => {
815
- t.closeOnClickOutside && R("outside");
815
+ t.closeOnClickOutside && k("outside");
816
816
  },
817
817
  { ignore: [l] }
818
818
  ];
@@ -833,17 +833,17 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
833
833
  function x() {
834
834
  m.value || (m.value = !0, n("open"));
835
835
  }
836
- function A() {
837
- R("action");
836
+ function U() {
837
+ k("action");
838
838
  }
839
- function R(B) {
839
+ function k(B) {
840
840
  m.value && (m.value = !1, n("close", B));
841
841
  }
842
842
  function I() {
843
- m.value ? R("action") : x();
843
+ m.value ? k("action") : x();
844
844
  }
845
845
  function $(B, te) {
846
- c.value = te, n("item-click", B), t.closeOnSelect && R("action");
846
+ c.value = te, n("item-click", B), t.closeOnSelect && k("action");
847
847
  }
848
848
  function ee(B) {
849
849
  const te = t.items.length;
@@ -883,21 +883,21 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
883
883
  case "Escape": {
884
884
  if (!t.closeOnEscape)
885
885
  return;
886
- B.preventDefault(), B.stopPropagation(), R("escape");
886
+ B.preventDefault(), B.stopPropagation(), k("escape");
887
887
  break;
888
888
  }
889
889
  }
890
890
  }
891
891
  function ve(B) {
892
- !t.closeOnEscape || !m.value || B.key !== "Escape" || R("escape");
892
+ !t.closeOnEscape || !m.value || B.key !== "Escape" || k("escape");
893
893
  }
894
- return Y(
894
+ return X(
895
895
  () => m.value,
896
896
  async (B) => {
897
897
  document.removeEventListener("keydown", ve), B && (W(), t.closeOnEscape && document.addEventListener("keydown", ve), t.autoFocusPanel && (await ne(), d.value?.focus()));
898
898
  },
899
899
  { immediate: !0 }
900
- ), Y(
900
+ ), X(
901
901
  () => t.items,
902
902
  () => {
903
903
  m.value && W();
@@ -917,19 +917,19 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
917
917
  "aria-expanded": m.value,
918
918
  "aria-haspopup": s.role,
919
919
  onKeydown: [
920
- ft(Ye(I, ["prevent"]), ["enter"]),
921
- ft(Ye(I, ["prevent"]), ["space"])
920
+ ft(Xe(I, ["prevent"]), ["enter"]),
921
+ ft(Xe(I, ["prevent"]), ["space"])
922
922
  ]
923
923
  }, [
924
924
  ye(B.$slots, "trigger", {
925
925
  isActive: m.value,
926
926
  toggle: I,
927
927
  open: x,
928
- close: A
928
+ close: U
929
929
  })
930
- ], 40, Qr)) : K("", !0),
930
+ ], 40, Qr)) : H("", !0),
931
931
  (C(), J(qt, {
932
- to: L(f),
932
+ to: M(f),
933
933
  defer: "",
934
934
  disabled: !h.value
935
935
  }, [
@@ -943,9 +943,9 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
943
943
  id: o,
944
944
  ref_key: "floatingEl",
945
945
  ref: d,
946
- class: H(["vc-dropdown__dropdown", g.value]),
946
+ class: K(["vc-dropdown__dropdown", g.value]),
947
947
  style: Ce({
948
- maxHeight: E.value,
948
+ maxHeight: w.value,
949
949
  ...P.value
950
950
  }),
951
951
  role: s.role,
@@ -954,25 +954,25 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
954
954
  onKeydown: ie
955
955
  }, [
956
956
  N("div", {
957
- class: H(["vc-dropdown__content", { "vc-dropdown__content--padded": s.padded }])
957
+ class: K(["vc-dropdown__content", { "vc-dropdown__content--padded": s.padded }])
958
958
  }, [
959
959
  ye(B.$slots, "items-container", {
960
960
  items: s.items,
961
- close: A
961
+ close: U
962
962
  }, () => [
963
963
  s.items.length ? (C(), O("div", tn, [
964
- (C(!0), O(Le, null, ot(s.items, (oe, Se) => (C(), O("div", {
964
+ (C(!0), O(Me, null, ot(s.items, (oe, Se) => (C(), O("div", {
965
965
  id: p(Se),
966
966
  key: y(oe, Se),
967
- class: H(["vc-dropdown__item", {
967
+ class: K(["vc-dropdown__item", {
968
968
  "vc-dropdown__item--padded": s.padded,
969
- "vc-dropdown__item--mobile": L(u),
969
+ "vc-dropdown__item--mobile": M(u),
970
970
  "vc-dropdown__item--active": s.isItemActive?.(oe),
971
971
  "vc-dropdown__item--focused": c.value === Se
972
972
  }]),
973
973
  role: _.value,
974
974
  "aria-selected": s.role === "listbox" ? !!s.isItemActive?.(oe) : void 0,
975
- onClick: (Es) => $(oe, Se)
975
+ onClick: (ws) => $(oe, Se)
976
976
  }, [
977
977
  ye(B.$slots, "item", {
978
978
  item: oe,
@@ -989,8 +989,8 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
989
989
  ])
990
990
  ], 2)
991
991
  ], 46, en)), [
992
- [L($t), F]
993
- ]) : K("", !0)
992
+ [M($t), F]
993
+ ]) : H("", !0)
994
994
  ]),
995
995
  _: 3
996
996
  })
@@ -1000,7 +1000,7 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1000
1000
  }), sn = {
1001
1001
  key: 2,
1002
1002
  class: "vc-dropdown-item__icon-placeholder"
1003
- }, on = { class: "vc-dropdown-item__title" }, ln = /* @__PURE__ */ G({
1003
+ }, on = { class: "vc-dropdown-item__title" }, ln = /* @__PURE__ */ L({
1004
1004
  __name: "VcDropdownItem",
1005
1005
  props: {
1006
1006
  title: {},
@@ -1010,17 +1010,17 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1010
1010
  },
1011
1011
  setup(s) {
1012
1012
  return (e, t) => (C(), O("div", {
1013
- class: H(["vc-dropdown-item", {
1013
+ class: K(["vc-dropdown-item", {
1014
1014
  "vc-dropdown-item--active": s.active,
1015
1015
  "vc-dropdown-item--disabled": s.disabled
1016
1016
  }])
1017
1017
  }, [
1018
- s.active ? (C(), J(L(se), {
1018
+ s.active ? (C(), J(M(se), {
1019
1019
  key: 0,
1020
1020
  icon: "lucide-check",
1021
1021
  size: "xs",
1022
1022
  class: "vc-dropdown-item__icon"
1023
- })) : s.icon ? (C(), J(L(se), {
1023
+ })) : s.icon ? (C(), J(M(se), {
1024
1024
  key: 1,
1025
1025
  icon: s.icon,
1026
1026
  size: "xs",
@@ -1037,7 +1037,7 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1037
1037
  key: 0,
1038
1038
  class: "vc-breadcrumbs__item-separator",
1039
1039
  "aria-hidden": "true"
1040
- }, hn = 36, fn = 60, pn = /* @__PURE__ */ G({
1040
+ }, hn = 36, fn = 60, pn = /* @__PURE__ */ L({
1041
1041
  __name: "vc-breadcrumbs",
1042
1042
  props: {
1043
1043
  items: { default: () => [] },
@@ -1046,9 +1046,9 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1046
1046
  collapsed: { type: Boolean, default: !1 }
1047
1047
  },
1048
1048
  setup(s) {
1049
- const e = s, t = k(null), n = k(!1), r = zr({
1049
+ const e = s, t = R(null), n = R(!1), r = zr({
1050
1050
  containerRef: t,
1051
- items: kt(e, "items"),
1051
+ items: Rt(e, "items"),
1052
1052
  getItemKey: (f) => f.id,
1053
1053
  moreButtonWidth: hn,
1054
1054
  calculationStrategy: "reverse",
@@ -1066,11 +1066,11 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1066
1066
  N("ol", {
1067
1067
  ref_key: "contentRef",
1068
1068
  ref: t,
1069
- class: H(["vc-breadcrumbs__content", {
1069
+ class: K(["vc-breadcrumbs__content", {
1070
1070
  "vc-breadcrumbs__content--separated": s.separated
1071
1071
  }])
1072
1072
  }, [
1073
- u.value ? (C(), J(L(an), {
1073
+ u.value ? (C(), J(M(an), {
1074
1074
  key: 0,
1075
1075
  items: o.value,
1076
1076
  "model-value": n.value,
@@ -1093,7 +1093,7 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1093
1093
  icon: "lucide-ellipsis-vertical",
1094
1094
  "icon-size": "xl",
1095
1095
  "data-more-button": "",
1096
- class: H(["vc-breadcrumbs__expand-button", {
1096
+ class: K(["vc-breadcrumbs__expand-button", {
1097
1097
  "vc-breadcrumbs__expand-button--active": b
1098
1098
  }]),
1099
1099
  onClick: d
@@ -1108,8 +1108,8 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1108
1108
  }, null, 8, ["title", "icon", "onClick"])
1109
1109
  ]),
1110
1110
  _: 3
1111
- }, 8, ["items", "model-value"])) : K("", !0),
1112
- (C(!0), O(Le, null, ot(a.value, (b, S) => (C(), O(Le, {
1111
+ }, 8, ["items", "model-value"])) : H("", !0),
1112
+ (C(!0), O(Me, null, ot(a.value, (b, S) => (C(), O(Me, {
1113
1113
  key: b?.id ?? `breadcrumb-item-${S}`
1114
1114
  }, [
1115
1115
  b && b.title ? (C(), O("li", {
@@ -1117,16 +1117,16 @@ const Zr = ["title"], Xr = ["title"], Yr = /* @__PURE__ */ G({
1117
1117
  class: "vc-breadcrumbs__item-wrapper",
1118
1118
  "data-item-key": b.id
1119
1119
  }, [
1120
- s.separated && S !== 0 ? (C(), O("span", dn, " / ")) : K("", !0),
1121
- Z(Yr, xe({ class: "vc-breadcrumbs__item" }, { ref_for: !0 }, b, {
1120
+ s.separated && S !== 0 ? (C(), O("span", dn, " / ")) : H("", !0),
1121
+ Z(Xr, xe({ class: "vc-breadcrumbs__item" }, { ref_for: !0 }, b, {
1122
1122
  current: S === a.value.length - 1,
1123
1123
  "aria-current": S === a.value.length - 1 ? "page" : void 0,
1124
1124
  variant: s.variant
1125
1125
  }), null, 16, ["current", "aria-current", "variant"])
1126
- ], 8, cn)) : K("", !0)
1126
+ ], 8, cn)) : H("", !0)
1127
1127
  ], 64))), 128))
1128
1128
  ], 2)
1129
- ])) : K("", !0);
1129
+ ])) : H("", !0);
1130
1130
  };
1131
1131
  }
1132
1132
  }), mn = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
@@ -1970,7 +1970,7 @@ class xi extends V {
1970
1970
  }) : t === 401 ? e.text().then((r) => i("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => i("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => i("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
1971
1971
  }
1972
1972
  }
1973
- class wi extends V {
1973
+ class Ei extends V {
1974
1974
  http;
1975
1975
  baseUrl;
1976
1976
  constructor(e, t) {
@@ -2003,7 +2003,7 @@ class wi extends V {
2003
2003
  }) : t === 401 ? e.text().then((r) => i("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => i("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => i("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2004
2004
  }
2005
2005
  }
2006
- class Ei extends V {
2006
+ class wi extends V {
2007
2007
  http;
2008
2008
  baseUrl;
2009
2009
  constructor(e, t) {
@@ -3768,7 +3768,7 @@ class Si extends V {
3768
3768
  }) : t !== 200 && t !== 204 ? e.text().then((r) => i("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
3769
3769
  }
3770
3770
  }
3771
- var xn = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(xn || {}), wn = /* @__PURE__ */ ((s) => (s.Detached = "Detached", s.Unchanged = "Unchanged", s.Added = "Added", s.Deleted = "Deleted", s.Modified = "Modified", s))(wn || {}), En = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.Object = "Object", s.Array = "Array", s.String = "String", s.Number = "Number", s.True = "True", s.False = "False", s.Null = "Null", s))(En || {}), Cn = /* @__PURE__ */ ((s) => (s.Info = "Info", s.Warning = "Warning", s.Debug = "Debug", s.Error = "Error", s))(Cn || {}), _n = /* @__PURE__ */ ((s) => (s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.SecureString = "SecureString", s.Json = "Json", s.PositiveInteger = "PositiveInteger", s))(_n || {}), Sn = /* @__PURE__ */ ((s) => (s.Ascending = "Ascending", s.Descending = "Descending", s))(Sn || {}), Un = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(Un || {}), An = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(An || {}), In = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(In || {}), Tn = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.Object = "Object", s.Array = "Array", s.String = "String", s.Number = "Number", s.True = "True", s.False = "False", s.Null = "Null", s))(Tn || {}), Pn = /* @__PURE__ */ ((s) => (s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.SecureString = "SecureString", s.Json = "Json", s.PositiveInteger = "PositiveInteger", s))(Pn || {}), On = /* @__PURE__ */ ((s) => (s.Detached = "Detached", s.Unchanged = "Unchanged", s.Added = "Added", s.Deleted = "Deleted", s.Modified = "Modified", s))(On || {}), kn = /* @__PURE__ */ ((s) => (s.Info = "Info", s.Warning = "Warning", s.Debug = "Debug", s.Error = "Error", s))(kn || {}), Rn = /* @__PURE__ */ ((s) => (s.Ascending = "Ascending", s.Descending = "Descending", s))(Rn || {});
3771
+ var xn = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(xn || {}), En = /* @__PURE__ */ ((s) => (s.Detached = "Detached", s.Unchanged = "Unchanged", s.Added = "Added", s.Deleted = "Deleted", s.Modified = "Modified", s))(En || {}), wn = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.Object = "Object", s.Array = "Array", s.String = "String", s.Number = "Number", s.True = "True", s.False = "False", s.Null = "Null", s))(wn || {}), Cn = /* @__PURE__ */ ((s) => (s.Info = "Info", s.Warning = "Warning", s.Debug = "Debug", s.Error = "Error", s))(Cn || {}), _n = /* @__PURE__ */ ((s) => (s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.SecureString = "SecureString", s.Json = "Json", s.PositiveInteger = "PositiveInteger", s))(_n || {}), Sn = /* @__PURE__ */ ((s) => (s.Ascending = "Ascending", s.Descending = "Descending", s))(Sn || {}), An = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(An || {}), Un = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(Un || {}), In = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.Html = "Html", s.Image = "Image", s))(In || {}), Tn = /* @__PURE__ */ ((s) => (s.Undefined = "Undefined", s.Object = "Object", s.Array = "Array", s.String = "String", s.Number = "Number", s.True = "True", s.False = "False", s.Null = "Null", s))(Tn || {}), Pn = /* @__PURE__ */ ((s) => (s.ShortText = "ShortText", s.LongText = "LongText", s.Integer = "Integer", s.Decimal = "Decimal", s.DateTime = "DateTime", s.Boolean = "Boolean", s.SecureString = "SecureString", s.Json = "Json", s.PositiveInteger = "PositiveInteger", s))(Pn || {}), On = /* @__PURE__ */ ((s) => (s.Detached = "Detached", s.Unchanged = "Unchanged", s.Added = "Added", s.Deleted = "Deleted", s.Modified = "Modified", s))(On || {}), Rn = /* @__PURE__ */ ((s) => (s.Info = "Info", s.Warning = "Warning", s.Debug = "Debug", s.Error = "Error", s))(Rn || {}), kn = /* @__PURE__ */ ((s) => (s.Ascending = "Ascending", s.Descending = "Descending", s))(kn || {});
3772
3772
  class Bn extends Error {
3773
3773
  message;
3774
3774
  status;
@@ -3786,7 +3786,7 @@ class Bn extends Error {
3786
3786
  function i(s, e, t, n, r) {
3787
3787
  throw r ?? new Bn(s, e, t, n, null);
3788
3788
  }
3789
- const He = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3789
+ const Ke = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3790
3790
  const s = new gn(), e = sr(
3791
3791
  $n,
3792
3792
  {},
@@ -3807,7 +3807,7 @@ const He = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3807
3807
  const d = new URL("/externalsignin", u);
3808
3808
  d.searchParams.set("authenticationType", o), d.searchParams.set("returnUrl", l), e.value = { providerType: o }, window.location.assign(d);
3809
3809
  } catch (u) {
3810
- throw He.error("External sign-in failed:", u), u;
3810
+ throw Ke.error("External sign-in failed:", u), u;
3811
3811
  }
3812
3812
  }
3813
3813
  async function r(o) {
@@ -3815,7 +3815,7 @@ const He = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3815
3815
  const u = window.location.origin, l = window.location.pathname ?? "/", d = new URL("/externalsignin/signout", u);
3816
3816
  d.searchParams.set("authenticationType", o), d.searchParams.set("returnUrl", l), e.value = {}, window.location.assign(d);
3817
3817
  } catch (u) {
3818
- throw He.error("External sign-out failed:", u), u;
3818
+ throw Ke.error("External sign-out failed:", u), u;
3819
3819
  }
3820
3820
  }
3821
3821
  async function a() {
@@ -3823,7 +3823,7 @@ const He = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3823
3823
  try {
3824
3824
  o = await s.getExternalLoginProviders();
3825
3825
  } catch (u) {
3826
- He.error("Failed to get external login providers:", u);
3826
+ Ke.error("Failed to get external login providers:", u);
3827
3827
  }
3828
3828
  return o;
3829
3829
  }
@@ -3833,7 +3833,7 @@ const He = j("use-external-provider"), $n = "externalSignIn", Nn = () => {
3833
3833
  signOut: r,
3834
3834
  getProviders: a
3835
3835
  };
3836
- }, dt = "vc_auth_data", z = j("use-user"), ue = k();
3836
+ }, dt = "vc_auth_data", z = j("use-user"), ue = R();
3837
3837
  function jn() {
3838
3838
  try {
3839
3839
  const s = localStorage.getItem(dt);
@@ -3888,35 +3888,35 @@ async function xt(s) {
3888
3888
  }
3889
3889
  }
3890
3890
  function jt() {
3891
- const s = k(!1), e = k(null), { storage: t, signOut: n } = Nn(), r = new yn(), a = v(() => ue.value?.userName != null);
3891
+ const s = R(!1), e = R(null), { storage: t, signOut: n } = Nn(), r = new yn(), a = v(() => ue.value?.userName != null);
3892
3892
  async function o(g, P) {
3893
- let E = !1;
3893
+ let w = !1;
3894
3894
  try {
3895
- s.value = !0, E = await r.validatePasswordResetToken(g, {
3895
+ s.value = !0, w = await r.validatePasswordResetToken(g, {
3896
3896
  token: P
3897
3897
  });
3898
3898
  } catch {
3899
3899
  } finally {
3900
3900
  s.value = !1;
3901
3901
  }
3902
- return E;
3902
+ return w;
3903
3903
  }
3904
3904
  async function u(g) {
3905
3905
  return r.validatePassword(g);
3906
3906
  }
3907
- async function l(g, P, E) {
3907
+ async function l(g, P, w) {
3908
3908
  return r.resetPasswordByToken(g, {
3909
3909
  newPassword: P,
3910
- token: E
3910
+ token: w
3911
3911
  });
3912
3912
  }
3913
3913
  async function d(g, P) {
3914
3914
  z.debug("signIn - Entry point");
3915
3915
  try {
3916
3916
  s.value = !0;
3917
- const E = await r.login({ userName: g, password: P });
3918
- if (z.debug("signIn - Cookie login completed:", E), !E.succeeded)
3919
- return E;
3917
+ const w = await r.login({ userName: g, password: P });
3918
+ if (z.debug("signIn - Cookie login completed:", w), !w.succeeded)
3919
+ return w;
3920
3920
  z.debug("signIn - Requesting token...");
3921
3921
  const _ = await xt({
3922
3922
  grant_type: "password",
@@ -3927,18 +3927,18 @@ function jt() {
3927
3927
  _ && (e.value = _, yt(e.value), z.debug("signIn - Token saved:", e.value));
3928
3928
  const T = await r.getCurrentUser();
3929
3929
  if (T)
3930
- return ue.value = T, E;
3930
+ return ue.value = T, w;
3931
3931
  throw { succeeded: !1 };
3932
- } catch (E) {
3933
- z.error("signIn failed:", E);
3934
- let _ = E.message;
3935
- if (E.response)
3932
+ } catch (w) {
3933
+ z.error("signIn failed:", w);
3934
+ let _ = w.message;
3935
+ if (w.response)
3936
3936
  try {
3937
- const T = JSON.parse(E.response);
3937
+ const T = JSON.parse(w.response);
3938
3938
  _ = T.errorDescription || T.errors?.[0]?.description || T.error || _;
3939
3939
  } catch {
3940
3940
  }
3941
- return { succeeded: !1, error: _, status: E.status };
3941
+ return { succeeded: !1, error: _, status: w.status };
3942
3942
  } finally {
3943
3943
  s.value = !1;
3944
3944
  }
@@ -3952,7 +3952,7 @@ function jt() {
3952
3952
  z.debug("loadUser - Entry point");
3953
3953
  try {
3954
3954
  s.value = !0, performance.mark("vc:auth-start");
3955
- const [g] = await Promise.all([r.getCurrentUser(), w()]);
3955
+ const [g] = await Promise.all([r.getCurrentUser(), E()]);
3956
3956
  ue.value = g, performance.mark("vc:auth-done"), z.debug("User details loaded:", ue.value);
3957
3957
  } catch (g) {
3958
3958
  z.error("loadUser failed:", g);
@@ -3972,20 +3972,20 @@ function jt() {
3972
3972
  }
3973
3973
  }
3974
3974
  async function b(g, P) {
3975
- let E;
3975
+ let w;
3976
3976
  try {
3977
3977
  s.value = !0;
3978
3978
  const _ = {
3979
3979
  oldPassword: g,
3980
3980
  newPassword: P
3981
3981
  };
3982
- E = await r.changeCurrentUserPassword(_);
3982
+ w = await r.changeCurrentUserPassword(_);
3983
3983
  } catch (_) {
3984
3984
  return { succeeded: !1, errors: [_.message] };
3985
3985
  } finally {
3986
3986
  s.value = !1;
3987
3987
  }
3988
- return E;
3988
+ return w;
3989
3989
  }
3990
3990
  async function S() {
3991
3991
  let g = null;
@@ -3996,18 +3996,18 @@ function jt() {
3996
3996
  }
3997
3997
  return g;
3998
3998
  }
3999
- const U = 60 * 1e3;
4000
- async function w() {
3999
+ const A = 60 * 1e3;
4000
+ async function E() {
4001
4001
  if (z.debug("getAccessToken - Entry point"), e.value || (e.value = jn()), !e.value)
4002
4002
  return z.debug("getAccessToken - No auth data available"), null;
4003
- const g = Date.now(), P = e.value.expires_at, E = P ? g >= P - U : !1;
4003
+ const g = Date.now(), P = e.value.expires_at, w = P ? g >= P - A : !1;
4004
4004
  if (z.debug("getAccessToken - Token status:", {
4005
4005
  hasToken: !!e.value.access_token,
4006
4006
  expiresAt: P ? new Date(P).toISOString() : "not set",
4007
4007
  now: new Date(g).toISOString(),
4008
- shouldRefresh: E,
4008
+ shouldRefresh: w,
4009
4009
  hasRefreshToken: !!e.value.refresh_token
4010
- }), E && e.value.refresh_token) {
4010
+ }), w && e.value.refresh_token) {
4011
4011
  z.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
4012
4012
  const _ = await xt({
4013
4013
  grant_type: "refresh_token",
@@ -4034,7 +4034,7 @@ function jt() {
4034
4034
  requestPasswordReset: m,
4035
4035
  changeUserPassword: b,
4036
4036
  getLoginType: S,
4037
- getAccessToken: w
4037
+ getAccessToken: E
4038
4038
  };
4039
4039
  }
4040
4040
  const Fn = Bt(() => {
@@ -4048,14 +4048,14 @@ const Fn = Bt(() => {
4048
4048
  signOut: s.signOut,
4049
4049
  getAccessToken: s.getAccessToken
4050
4050
  };
4051
- }), Ln = {
4051
+ }), Mn = {
4052
4052
  info: 5e3,
4053
4053
  warning: 8e3,
4054
4054
  error: !1,
4055
4055
  // persistent
4056
4056
  critical: !1
4057
4057
  // persistent
4058
- }, Ui = Symbol("NotificationContext"), Mn = ["IndexProgressPushNotification"], Gn = Symbol("NotificationContainerState"), Dn = j("notification-instance"), re = {
4058
+ }, Ai = Symbol("NotificationContext"), Dn = ["IndexProgressPushNotification"], Ln = Symbol("NotificationContainerState"), Gn = j("notification-instance"), re = {
4059
4059
  "top-center": void 0,
4060
4060
  "top-right": void 0,
4061
4061
  "top-left": void 0,
@@ -4074,7 +4074,7 @@ function Jn() {
4074
4074
  re[u]?.unmount(), document.getElementById(`notification-${u}`)?.remove(), re[u] = void 0;
4075
4075
  }), Object.values(re).some((o) => o !== void 0) || document.querySelector(".notification")?.remove());
4076
4076
  } catch (a) {
4077
- Dn.error("Failed to unmount notification component:", a);
4077
+ Gn.error("Failed to unmount notification component:", a);
4078
4078
  }
4079
4079
  }
4080
4080
  function t() {
@@ -4093,13 +4093,13 @@ function Jn() {
4093
4093
  };
4094
4094
  }
4095
4095
  const be = j("notification-container"), Q = {
4096
- "top-center": k([]),
4097
- "top-right": k([]),
4098
- "top-left": k([]),
4099
- "bottom-center": k([]),
4100
- "bottom-right": k([]),
4101
- "bottom-left": k([])
4102
- }, { clearContainer: Wn, unmountComponent: Kn, saveInstance: Hn, getInstanceByPosition: wt } = Jn();
4096
+ "top-center": R([]),
4097
+ "top-right": R([]),
4098
+ "top-left": R([]),
4099
+ "bottom-center": R([]),
4100
+ "bottom-right": R([]),
4101
+ "bottom-left": R([])
4102
+ }, { clearContainer: Wn, unmountComponent: Hn, saveInstance: Kn, getInstanceByPosition: Et } = Jn();
4103
4103
  function qn() {
4104
4104
  const s = Zt({
4105
4105
  timeout: 3e3,
@@ -4122,13 +4122,13 @@ function qn() {
4122
4122
  }
4123
4123
  async function a(l) {
4124
4124
  const d = l.position || s.position;
4125
- if (!wt(d)) {
4126
- const f = r(d), { default: h } = await import("./index-BJbOVN0O.js"), m = Xt(h, {
4125
+ if (!Et(d)) {
4126
+ const f = r(d), { default: h } = await import("./index-DqkSBxqx.js"), m = Yt(h, {
4127
4127
  ...l,
4128
4128
  position: d
4129
4129
  // Pass the position to the component
4130
4130
  });
4131
- m.provide(Gn, { notificationContainers: Q, actions: u }), m.mount(f), Hn(m, f.id, d);
4131
+ m.provide(Ln, { notificationContainers: Q, actions: u }), m.mount(f), Kn(m, f.id, d);
4132
4132
  }
4133
4133
  ne(() => {
4134
4134
  l.updateId ? u.update(l) : u.add(l);
@@ -4150,7 +4150,7 @@ function qn() {
4150
4150
  Object.entries(Q).forEach(([f, h]) => {
4151
4151
  const m = h.value.find((b) => b.notificationId === l);
4152
4152
  m && (d = m, c = f);
4153
- }), c && (Q[c].value = Q[c].value.filter((f) => f.notificationId !== l), Q[c].value.length === 0 && Kn(c), ne(() => {
4153
+ }), c && (Q[c].value = Q[c].value.filter((f) => f.notificationId !== l), Q[c].value.length === 0 && Hn(c), ne(() => {
4154
4154
  d?.onClose && typeof d?.onClose == "function" && d.onClose(d.payload);
4155
4155
  }));
4156
4156
  }
@@ -4184,7 +4184,7 @@ function qn() {
4184
4184
  ...d,
4185
4185
  ...l
4186
4186
  }, m = l.position;
4187
- wt(m) ? (be.debug(`Adding to existing container for position ${m}`), Q[m].value.push(h)) : (be.debug(`Creating new container for position ${m}`), a(h));
4187
+ Et(m) ? (be.debug(`Adding to existing container for position ${m}`), Q[m].value.push(h)) : (be.debug(`Creating new container for position ${m}`), a(h));
4188
4188
  } else
4189
4189
  be.debug("Standard update of notification properties"), Object.keys(l).forEach((h) => {
4190
4190
  if (h !== "updateId" && h !== "notificationId") {
@@ -4214,37 +4214,37 @@ function qn() {
4214
4214
  hasNotification: o
4215
4215
  };
4216
4216
  }
4217
- const Ae = j("notification"), {
4218
- defaultOptions: Ee,
4217
+ const Ue = j("notification"), {
4218
+ defaultOptions: we,
4219
4219
  actions: de,
4220
4220
  getNotification: Zn,
4221
4221
  getAllNotifications: Qe,
4222
- appendInstance: Xn,
4222
+ appendInstance: Yn,
4223
4223
  generateNotificationId: et,
4224
- hasNotification: Yn
4224
+ hasNotification: Xn
4225
4225
  } = qn();
4226
4226
  function Pe(s, e) {
4227
4227
  return e = xe(
4228
- Ee,
4228
+ we,
4229
4229
  e
4230
4230
  ), (!e.notificationId || typeof e.notificationId != "string" && typeof e.notificationId != "number") && (e.notificationId = et()), e = {
4231
4231
  ...e,
4232
4232
  content: s
4233
- }, Xn(e), e.notificationId;
4233
+ }, Yn(e), e.notificationId;
4234
4234
  }
4235
- const X = (s, e) => Pe(s, { ...e, type: "default" });
4236
- X.error = (s, e) => Pe(s, { ...e, type: "error" });
4237
- X.warning = (s, e) => Pe(s, { ...e, type: "warning" });
4238
- X.success = (s, e) => Pe(s, { ...e, type: "success" });
4239
- X.clearAll = () => {
4235
+ const Y = (s, e) => Pe(s, { ...e, type: "default" });
4236
+ Y.error = (s, e) => Pe(s, { ...e, type: "error" });
4237
+ Y.warning = (s, e) => Pe(s, { ...e, type: "warning" });
4238
+ Y.success = (s, e) => Pe(s, { ...e, type: "success" });
4239
+ Y.clearAll = () => {
4240
4240
  de.clear();
4241
4241
  };
4242
- X.remove = (s) => {
4242
+ Y.remove = (s) => {
4243
4243
  s ? de.dismiss(s) : de.clear();
4244
4244
  };
4245
- X.update = (s, e) => {
4246
- if (!Yn(s))
4247
- return Ae.warn(`Cannot update: notification with ID ${s} not found`), s;
4245
+ Y.update = (s, e) => {
4246
+ if (!Xn(s))
4247
+ return Ue.warn(`Cannot update: notification with ID ${s} not found`), s;
4248
4248
  const t = Zn(String(s));
4249
4249
  if (t)
4250
4250
  if (e.position && e.position !== t.position) {
@@ -4271,24 +4271,24 @@ X.update = (s, e) => {
4271
4271
  }
4272
4272
  return s;
4273
4273
  };
4274
- X.setPosition = (s) => {
4275
- Ee.position = s;
4274
+ Y.setPosition = (s) => {
4275
+ we.position = s;
4276
4276
  };
4277
- X.clearPosition = (s) => {
4277
+ Y.clearPosition = (s) => {
4278
4278
  Qe().filter(
4279
- (t) => (t.position || Ee.position) === s
4279
+ (t) => (t.position || we.position) === s
4280
4280
  ).forEach((t) => {
4281
4281
  t.notificationId && de.dismiss(t.notificationId);
4282
4282
  });
4283
4283
  };
4284
- X.debug = () => {
4285
- Object.entries(Ee).forEach(([e, t]) => {
4286
- Ae.debug(`Default option ${e}: `, t);
4284
+ Y.debug = () => {
4285
+ Object.entries(we).forEach(([e, t]) => {
4286
+ Ue.debug(`Default option ${e}: `, t);
4287
4287
  }), Object.entries(de).forEach(([e]) => {
4288
- Ae.debug(`Available action: ${e}`);
4288
+ Ue.debug(`Available action: ${e}`);
4289
4289
  });
4290
4290
  const s = Qe().reduce((e, t) => {
4291
- const n = t.position || Ee.position;
4291
+ const n = t.position || we.position;
4292
4292
  return e[n] || (e[n] = []), e[n].push({
4293
4293
  id: t.notificationId || "unknown",
4294
4294
  type: t.type,
@@ -4296,15 +4296,15 @@ X.debug = () => {
4296
4296
  }), e;
4297
4297
  }, {});
4298
4298
  return Object.entries(s).forEach(([e, t]) => {
4299
- Ae.debug(`Position ${e}: ${t.length} notifications`), t.forEach((n) => Ae.debug(` - ${n.id} (${n.type}): ${n.content}`));
4299
+ Ue.debug(`Position ${e}: ${t.length} notifications`), t.forEach((n) => Ue.debug(` - ${n.id} (${n.type}): ${n.content}`));
4300
4300
  }), {
4301
4301
  active: Qe(),
4302
- defaultOptions: Ee
4302
+ defaultOptions: we
4303
4303
  };
4304
4304
  };
4305
4305
  const Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4306
4306
  __proto__: null,
4307
- notification: X
4307
+ notification: Y
4308
4308
  }, Symbol.toStringTag, { value: "Module" }));
4309
4309
  function Qn(s, e) {
4310
4310
  return s.severity ? typeof s.severity == "function" ? s.severity(e) : s.severity : "info";
@@ -4326,8 +4326,8 @@ function ra() {
4326
4326
  a.toast.mode === "auto" ? t(r, o, a) : a.toast.mode === "progress" && n(r, o, a);
4327
4327
  }
4328
4328
  function t(r, a, o) {
4329
- const u = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : Ln[a];
4330
- X(r.title ?? "", {
4329
+ const u = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : Mn[a];
4330
+ Y(r.title ?? "", {
4331
4331
  timeout: u,
4332
4332
  type: a === "critical" ? "error" : a === "info" ? "default" : a
4333
4333
  });
@@ -4338,7 +4338,7 @@ function ra() {
4338
4338
  const f = s.get(l);
4339
4339
  if (f) {
4340
4340
  const h = u.completedType?.(r) ?? "success";
4341
- X.update(f.toastId, {
4341
+ Y.update(f.toastId, {
4342
4342
  type: h,
4343
4343
  timeout: 5e3,
4344
4344
  content: r.title ?? ""
@@ -4348,11 +4348,11 @@ function ra() {
4348
4348
  }
4349
4349
  const c = s.get(l);
4350
4350
  if (c)
4351
- X.update(c.toastId, {
4351
+ Y.update(c.toastId, {
4352
4352
  content: r.title ?? ""
4353
4353
  });
4354
4354
  else {
4355
- const f = X(r.title ?? "", {
4355
+ const f = Y(r.title ?? "", {
4356
4356
  timeout: !1,
4357
4357
  type: a === "critical" ? "error" : a === "info" ? "default" : a
4358
4358
  });
@@ -4361,69 +4361,69 @@ function ra() {
4361
4361
  }
4362
4362
  return { handle: e };
4363
4363
  }
4364
- const Et = j("notification-store");
4364
+ const wt = j("notification-store");
4365
4365
  function na(s) {
4366
- const e = /* @__PURE__ */ new Map(), t = k([]), n = k([]), r = /* @__PURE__ */ new Map();
4366
+ const e = /* @__PURE__ */ new Map(), t = R([]), n = R([]), r = /* @__PURE__ */ new Map();
4367
4367
  let a = 0;
4368
- const o = ra().handle, u = new bn(), l = v(() => t.value.filter((w) => w.isNew).length), d = v(() => l.value > 0);
4369
- function c(w, g) {
4370
- e.set(w, g);
4368
+ const o = ra().handle, u = new bn(), l = v(() => t.value.filter((E) => E.isNew).length), d = v(() => l.value > 0);
4369
+ function c(E, g) {
4370
+ e.set(E, g);
4371
4371
  }
4372
- function f(w) {
4373
- if (w.notifyType && Mn.includes(w.notifyType))
4372
+ function f(E) {
4373
+ if (E.notifyType && Dn.includes(E.notifyType))
4374
4374
  return;
4375
- let g = w.isNew;
4376
- const P = t.value.findIndex((T) => T.id === w.id);
4375
+ let g = E.isNew;
4376
+ const P = t.value.findIndex((T) => T.id === E.id);
4377
4377
  if (P !== -1) {
4378
4378
  const T = t.value[P];
4379
- g = T.isNew, Object.assign(T, w), T.isNew = g;
4379
+ g = T.isNew, Object.assign(T, E), T.isNew = g;
4380
4380
  } else
4381
- t.value.push({ ...w });
4382
- const E = n.value.findIndex((T) => T.id === w.id);
4383
- if (E !== -1) {
4384
- const T = n.value[E];
4385
- Object.assign(T, w), T.isNew = g;
4381
+ t.value.push({ ...E });
4382
+ const w = n.value.findIndex((T) => T.id === E.id);
4383
+ if (w !== -1) {
4384
+ const T = n.value[w];
4385
+ Object.assign(T, E), T.isNew = g;
4386
4386
  } else
4387
- n.value.push({ ...w });
4388
- const _ = w.notifyType ? e.get(w.notifyType) : void 0;
4389
- if (_ && g && o(w, _), g && w.notifyType)
4387
+ n.value.push({ ...E });
4388
+ const _ = E.notifyType ? e.get(E.notifyType) : void 0;
4389
+ if (_ && g && o(E, _), g && E.notifyType)
4390
4390
  for (const T of r.values())
4391
- T.types.includes(w.notifyType) && (T.filter && !T.filter(w) || T.handler?.(w));
4391
+ T.types.includes(E.notifyType) && (T.filter && !T.filter(E) || T.handler?.(E));
4392
4392
  }
4393
- function h(w) {
4394
- const g = t.value.find((E) => E.id === w.id);
4393
+ function h(E) {
4394
+ const g = t.value.find((w) => w.id === E.id);
4395
4395
  g && (g.isNew = !1);
4396
- const P = n.value.find((E) => E.id === w.id);
4396
+ const P = n.value.find((w) => w.id === E.id);
4397
4397
  P && (P.isNew = !1);
4398
4398
  }
4399
4399
  async function m() {
4400
- t.value.forEach((w) => {
4401
- w.isNew = !1;
4402
- }), n.value.forEach((w) => {
4403
- w.isNew = !1;
4400
+ t.value.forEach((E) => {
4401
+ E.isNew = !1;
4402
+ }), n.value.forEach((E) => {
4403
+ E.isNew = !1;
4404
4404
  });
4405
4405
  try {
4406
4406
  await u.markAllAsRead();
4407
- } catch (w) {
4408
- Et.error("markAllAsRead failed:", w);
4407
+ } catch (E) {
4408
+ wt.error("markAllAsRead failed:", E);
4409
4409
  }
4410
4410
  }
4411
- async function b(w = 10) {
4411
+ async function b(E = 10) {
4412
4412
  try {
4413
- const g = { take: w }, P = await u.searchPushNotification(g);
4413
+ const g = { take: E }, P = await u.searchPushNotification(g);
4414
4414
  t.value = P.notifyEvents ?? [];
4415
4415
  } catch (g) {
4416
- throw Et.error("loadHistory failed:", g), g;
4416
+ throw wt.error("loadHistory failed:", g), g;
4417
4417
  }
4418
4418
  }
4419
- function S(w) {
4419
+ function S(E) {
4420
4420
  const g = ++a;
4421
- return r.set(g, { id: g, ...w }), () => {
4421
+ return r.set(g, { id: g, ...E }), () => {
4422
4422
  r.delete(g);
4423
4423
  };
4424
4424
  }
4425
- function U(w) {
4426
- return t.value.filter((g) => g.notifyType === w);
4425
+ function A(E) {
4426
+ return t.value.filter((g) => g.notifyType === E);
4427
4427
  }
4428
4428
  return {
4429
4429
  // State
@@ -4440,20 +4440,20 @@ function na(s) {
4440
4440
  markAllAsRead: m,
4441
4441
  loadHistory: b,
4442
4442
  subscribe: S,
4443
- getByType: U
4443
+ getByType: A
4444
4444
  };
4445
4445
  }
4446
- let Re = null;
4446
+ let ke = null;
4447
4447
  function aa() {
4448
- if (we()) {
4449
- const s = M(Dr, null);
4448
+ if (Ee()) {
4449
+ const s = D(Gr, null);
4450
4450
  if (s)
4451
- return Re = s, s;
4451
+ return ke = s, s;
4452
4452
  }
4453
- return Re || (Re = na()), Re;
4453
+ return ke || (ke = na()), ke;
4454
4454
  }
4455
4455
  const ze = /* @__PURE__ */ new WeakMap();
4456
- function Ai(s, e, t) {
4456
+ function Ui(s, e, t) {
4457
4457
  ze.set(s, { timerId: e, notifId: t });
4458
4458
  }
4459
4459
  function sa(s) {
@@ -4502,7 +4502,7 @@ function ia() {
4502
4502
  }
4503
4503
  const oa = Symbol("AppInsightsOptions"), la = Symbol("AppInsightsInstance");
4504
4504
  function ua() {
4505
- const s = M(la, null), { user: e } = We(), t = M(oa, void 0);
4505
+ const s = D(la, null), { user: e } = We(), t = D(oa, void 0);
4506
4506
  function n() {
4507
4507
  const r = t?.appName ? `[${t.appName}] ` : "", a = (l) => `${r}${l.name}`;
4508
4508
  function o(l) {
@@ -4530,11 +4530,11 @@ function ua() {
4530
4530
  }
4531
4531
  const ca = j("use-error-handler");
4532
4532
  function da(s) {
4533
- const e = k(null), t = we(), { appInsights: n } = ua(), { user: r } = We(), a = k(!1);
4533
+ const e = R(null), t = Ee(), { appInsights: n } = ua(), { user: r } = We(), a = R(!1);
4534
4534
  function o() {
4535
4535
  e.value = null, t && t.emit("reset");
4536
4536
  }
4537
- return Yt((u) => {
4537
+ return Xt((u) => {
4538
4538
  if (a.value)
4539
4539
  return !s;
4540
4540
  a.value = !0;
@@ -4613,12 +4613,12 @@ function ha(s) {
4613
4613
  }
4614
4614
  };
4615
4615
  }
4616
- function Me(s) {
4617
- return s.id !== void 0 ? `id:${String(s.id)}` : s.routeId ? `route:${s.routeId}` : s.url ? `url:${s.url}` : s.groupConfig?.id ? `gc:${s.groupConfig.id}:${s.title}` : s.group ? `g:${s.group}:${s.title}` : `hash:${JSON.stringify(Rt(s, "title"))}`;
4616
+ function De(s) {
4617
+ return s.id !== void 0 ? `id:${String(s.id)}` : s.routeId ? `route:${s.routeId}` : s.url ? `url:${s.url}` : s.groupConfig?.id ? `gc:${s.groupConfig.id}:${s.title}` : s.group ? `g:${s.group}:${s.title}` : `hash:${JSON.stringify(kt(s, "title"))}`;
4618
4618
  }
4619
- const Oe = k(/* @__PURE__ */ new Map()), pe = ha({
4619
+ const Oe = R(/* @__PURE__ */ new Map()), pe = ha({
4620
4620
  name: "menu-service",
4621
- getKey: Me,
4621
+ getKey: De,
4622
4622
  registerIntoService: (s, e) => s.addMenuItem(e)
4623
4623
  });
4624
4624
  function fa(s) {
@@ -4641,12 +4641,12 @@ function Oi(s) {
4641
4641
  e.menuBadges.value.delete(s);
4642
4642
  });
4643
4643
  }
4644
- function ki() {
4644
+ function Ri() {
4645
4645
  return pe.getFirstInstance()?.menuBadges ?? Oe;
4646
4646
  }
4647
4647
  const tt = 1 / 0, pa = 1 / 0;
4648
4648
  function ht(s, e) {
4649
- return Me(s) === Me(e);
4649
+ return De(s) === De(e);
4650
4650
  }
4651
4651
  function ma(s) {
4652
4652
  return s.groupConfig ? {
@@ -4672,7 +4672,7 @@ function ga(s, e) {
4672
4672
  }
4673
4673
  function ba(s, e) {
4674
4674
  const t = ma(s), n = {
4675
- ...Rt(s, ["group", "groupIcon", "groupPriority", "groupConfig"])
4675
+ ...kt(s, ["group", "groupIcon", "groupPriority", "groupConfig"])
4676
4676
  }, r = e.get(t.groupId);
4677
4677
  if (r) {
4678
4678
  const a = [...r.children ?? []], o = a.findIndex((u) => ht(u, n));
@@ -4697,7 +4697,7 @@ function ba(s, e) {
4697
4697
  function Ct(s) {
4698
4698
  const e = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
4699
4699
  for (const n of s)
4700
- n.group || n.groupConfig ? ba(n, e) : n.title && t.set(Me(n), { ...n });
4700
+ n.group || n.groupConfig ? ba(n, e) : n.title && t.set(De(n), { ...n });
4701
4701
  return ya([...e.values(), ...t.values()]);
4702
4702
  }
4703
4703
  function ya(s) {
@@ -4708,10 +4708,10 @@ function ya(s) {
4708
4708
  })
4709
4709
  ).sort(va);
4710
4710
  }
4711
- function Ri() {
4712
- const s = k([]);
4711
+ function ki() {
4712
+ const s = R([]);
4713
4713
  let e = [];
4714
- const t = k(new Map(Oe.value));
4714
+ const t = R(new Map(Oe.value));
4715
4715
  function n(o) {
4716
4716
  e.push(o), s.value = Ct(e);
4717
4717
  }
@@ -4734,7 +4734,7 @@ const me = ur({
4734
4734
  fallbackLocale: "en",
4735
4735
  formatFallbackMessages: !0
4736
4736
  }), xa = j("use-breadcrumbs");
4737
- function wa() {
4737
+ function Ea() {
4738
4738
  const s = lt([]);
4739
4739
  function e(r) {
4740
4740
  const a = s.value.findIndex((o) => o.id === r);
@@ -4766,15 +4766,15 @@ function wa() {
4766
4766
  remove: n
4767
4767
  };
4768
4768
  }
4769
- const Ge = /* @__PURE__ */ new Map();
4769
+ const Le = /* @__PURE__ */ new Map();
4770
4770
  function Bi(s, e) {
4771
- Ge.has(s) && console.warn(`[defineBlade] Duplicate blade name: "${s}". Overwriting.`), Ge.set(s, e);
4771
+ Le.has(s) && console.warn(`[defineBlade] Duplicate blade name: "${s}". Overwriting.`), Le.set(s, e);
4772
4772
  }
4773
- function Ea(s) {
4774
- return Ge.get(s);
4773
+ function wa(s) {
4774
+ return Le.get(s);
4775
4775
  }
4776
4776
  function $i() {
4777
- return Ge;
4777
+ return Le;
4778
4778
  }
4779
4779
  const qe = j("blade-registry"), Ca = Symbol("BladeRegistry");
4780
4780
  function _t(s) {
@@ -4792,8 +4792,8 @@ function Ni(s) {
4792
4792
  throw new Error(`BladeRegistry: Registration data must include a component for blade '${c}'`);
4793
4793
  if (!_t(f.component))
4794
4794
  throw new Error(`BladeRegistry: Invalid component provided for blade '${c}'`);
4795
- const m = Ea(c), b = f.component, S = m?.url ?? f.route, U = m?.isWorkspace ?? f.isWorkspace ?? !1, w = m?.routable ?? f.routable !== !1, g = m?.permissions ?? f.permissions, P = m?.menuItem ?? b.menuItem, E = new Map(e.value);
4796
- if (E.has(c)) {
4795
+ const m = wa(c), b = f.component, S = m?.url ?? f.route, A = m?.isWorkspace ?? f.isWorkspace ?? !1, E = m?.routable ?? f.routable !== !1, g = m?.permissions ?? f.permissions, P = m?.menuItem ?? b.menuItem, w = new Map(e.value);
4796
+ if (w.has(c)) {
4797
4797
  if (!h)
4798
4798
  throw new Error(
4799
4799
  `BladeRegistry: Blade '${c}' is already registered. Use allowOverwrite=true if intentional (e.g. dynamic module hot-reload).`
@@ -4807,11 +4807,11 @@ function Ni(s) {
4807
4807
  const T = {
4808
4808
  component: b,
4809
4809
  route: S,
4810
- isWorkspace: U,
4811
- routable: w,
4810
+ isWorkspace: A,
4811
+ routable: E,
4812
4812
  permissions: g
4813
4813
  };
4814
- E.set(c, T), e.value = E, S && t.set(n(S), c), S && P && fa({
4814
+ w.set(c, T), e.value = w, S && t.set(n(S), c), S && P && fa({
4815
4815
  ...P,
4816
4816
  url: S,
4817
4817
  routeId: c,
@@ -4855,14 +4855,14 @@ function Ni(s) {
4855
4855
  };
4856
4856
  }
4857
4857
  function zt() {
4858
- const s = M(Ca);
4858
+ const s = D(Ca);
4859
4859
  if (!s)
4860
4860
  throw new Error(
4861
4861
  "useBladeRegistry must be used after createBladeRegistry is called and provided with BladeRegistryKey."
4862
4862
  );
4863
4863
  return s;
4864
4864
  }
4865
- const _a = G({
4865
+ const _a = L({
4866
4866
  name: "ErrorInterceptor",
4867
4867
  props: {
4868
4868
  capture: {
@@ -4879,8 +4879,8 @@ const _a = G({
4879
4879
  }
4880
4880
  },
4881
4881
  setup(s, { slots: e }) {
4882
- const t = M(ct, void 0), n = M(De, void 0), r = !!(t && n), { error: a, reset: o } = da(r || s.capture);
4883
- return r && Y(a, (u) => {
4882
+ const t = D(ct, void 0), n = D(Ge, void 0), r = !!(t && n), { error: a, reset: o } = da(r || s.capture);
4883
+ return r && X(a, (u) => {
4884
4884
  const l = t.value.id;
4885
4885
  u ? (sa(u), n.setBladeError(l, u)) : n.clearBladeError(l);
4886
4886
  }), () => e.default?.({
@@ -4889,7 +4889,7 @@ const _a = G({
4889
4889
  });
4890
4890
  }
4891
4891
  }), Sa = _a;
4892
- function Ua(s) {
4892
+ function Aa(s) {
4893
4893
  const e = /* @__PURE__ */ new Map();
4894
4894
  function t(a, o) {
4895
4895
  e.set(a, o);
@@ -4919,12 +4919,12 @@ function Ua(s) {
4919
4919
  };
4920
4920
  }
4921
4921
  function Ft() {
4922
- const s = M(ut);
4922
+ const s = D(ut);
4923
4923
  if (!s)
4924
4924
  throw new Error("[useBladeMessaging] BladeMessaging not found. Ensure BladeNavigationPlugin is installed.");
4925
4925
  return s;
4926
4926
  }
4927
- const Lt = /* @__PURE__ */ G({
4927
+ const Mt = /* @__PURE__ */ L({
4928
4928
  __name: "vc-blade-slot",
4929
4929
  props: {
4930
4930
  descriptor: {},
@@ -4936,12 +4936,12 @@ const Lt = /* @__PURE__ */ G({
4936
4936
  },
4937
4937
  emits: ["close", "parentCall"],
4938
4938
  setup(s, { emit: e }) {
4939
- const t = s, n = e, r = zt(), a = k(!1), o = k(), u = v(() => r.getBladeComponent(t.descriptor.name));
4939
+ const t = s, n = e, r = zt(), a = R(!1), o = R(), u = v(() => r.getBladeComponent(t.descriptor.name));
4940
4940
  Ie(
4941
4941
  ct,
4942
4942
  v(() => t.descriptor)
4943
4943
  ), Ie(
4944
- Mr,
4944
+ Dr,
4945
4945
  v(() => ({
4946
4946
  id: t.descriptor.id,
4947
4947
  param: t.descriptor.param,
@@ -4956,11 +4956,11 @@ const Lt = /* @__PURE__ */ G({
4956
4956
  title: t.descriptor.title
4957
4957
  }))
4958
4958
  ), Ie(
4959
- Gr,
4959
+ Lr,
4960
4960
  v(() => t.backButton)
4961
4961
  );
4962
4962
  const l = Ft();
4963
- Y(
4963
+ X(
4964
4964
  o,
4965
4965
  (m) => {
4966
4966
  if (!m) return;
@@ -4985,8 +4985,8 @@ const Lt = /* @__PURE__ */ G({
4985
4985
  function h() {
4986
4986
  a.value = !1;
4987
4987
  }
4988
- return (m, b) => (C(), J(L(Sa), { capture: !0 }, {
4989
- default: fe(({ error: S, reset: U }) => [
4988
+ return (m, b) => (C(), J(M(Sa), { capture: !0 }, {
4989
+ default: fe(({ error: S, reset: A }) => [
4990
4990
  u.value ? it((C(), J(Fe(u.value), {
4991
4991
  key: 0,
4992
4992
  ref_key: "bladeInstanceRef",
@@ -4999,22 +4999,22 @@ const Lt = /* @__PURE__ */ G({
4999
4999
  "onParent:call": c,
5000
5000
  "onExpand:blade": f,
5001
5001
  "onCollapse:blade": h,
5002
- onVnodeUnmounted: U
5002
+ onVnodeUnmounted: A
5003
5003
  }, null, 40, ["param", "options", "closable", "expanded", "onVnodeUnmounted"])), [
5004
5004
  [Vt, s.visible]
5005
- ]) : K("", !0)
5005
+ ]) : H("", !0)
5006
5006
  ]),
5007
5007
  _: 1
5008
5008
  }));
5009
5009
  }
5010
- }), Aa = /* @__PURE__ */ G({
5010
+ }), Ua = /* @__PURE__ */ L({
5011
5011
  __name: "vc-mobile-back-button",
5012
5012
  props: {
5013
5013
  breadcrumbs: {},
5014
5014
  onBack: { type: Function }
5015
5015
  },
5016
5016
  setup(s) {
5017
- const e = s, t = k(), n = k(!1), r = () => {
5017
+ const e = s, t = R(), n = R(!1), r = () => {
5018
5018
  e.onBack();
5019
5019
  };
5020
5020
  ir(
@@ -5032,12 +5032,12 @@ const Lt = /* @__PURE__ */ G({
5032
5032
  collapsed: ""
5033
5033
  }, {
5034
5034
  trigger: fe(({ click: l }) => [
5035
- Z(L(pr), {
5035
+ Z(M(pr), {
5036
5036
  as: "button",
5037
5037
  onTrigger: l
5038
5038
  }, {
5039
5039
  default: fe(() => [
5040
- Z(L(jr), {
5040
+ Z(M(jr), {
5041
5041
  ref_key: "buttonRef",
5042
5042
  ref: t,
5043
5043
  icon: "lucide-arrow-left",
@@ -5045,7 +5045,7 @@ const Lt = /* @__PURE__ */ G({
5045
5045
  "icon-size": "l",
5046
5046
  text: "",
5047
5047
  onClick: r,
5048
- onContextmenu: u[0] || (u[0] = Ye(() => {
5048
+ onContextmenu: u[0] || (u[0] = Xe(() => {
5049
5049
  }, ["prevent"]))
5050
5050
  }, null, 512)
5051
5051
  ]),
@@ -5054,7 +5054,7 @@ const Lt = /* @__PURE__ */ G({
5054
5054
  ]),
5055
5055
  _: 1
5056
5056
  }, 8, ["items"])), [
5057
- [L($t), a]
5057
+ [M($t), a]
5058
5058
  ]);
5059
5059
  }
5060
5060
  });
@@ -5063,7 +5063,7 @@ function Be() {
5063
5063
  return `blade_${++Ia}_${Math.random().toString(36).slice(2, 8)}`;
5064
5064
  }
5065
5065
  function Ta(s, e) {
5066
- const t = k([]), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = v(() => t.value[0]), u = v(() => t.value), l = v(() => {
5066
+ const t = R([]), n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = v(() => t.value[0]), u = v(() => t.value), l = v(() => {
5067
5067
  for (let p = t.value.length - 1; p >= 0; p--)
5068
5068
  if (t.value[p].visible) return t.value[p];
5069
5069
  });
@@ -5097,7 +5097,7 @@ function Ta(s, e) {
5097
5097
  return;
5098
5098
  }
5099
5099
  h([...t.value]);
5100
- const A = {
5100
+ const U = {
5101
5101
  id: Be(),
5102
5102
  name: p.name,
5103
5103
  url: c(p.name),
@@ -5106,7 +5106,7 @@ function Ta(s, e) {
5106
5106
  options: p.options,
5107
5107
  visible: !0
5108
5108
  };
5109
- t.value = [A], p.onOpen && r.set(A.id, p.onOpen), p.onClose && a.set(A.id, p.onClose), p.onOpen?.();
5109
+ t.value = [U], p.onOpen && r.set(U.id, p.onOpen), p.onClose && a.set(U.id, p.onClose), p.onOpen?.();
5110
5110
  }
5111
5111
  async function b(p) {
5112
5112
  if (!s.getBlade(p.name))
@@ -5117,11 +5117,11 @@ function Ta(s, e) {
5117
5117
  const x = t.value.findIndex((I) => I.id === y);
5118
5118
  if (x === -1)
5119
5119
  throw new Error(`[BladeStack] Parent blade '${y}' not found in stack`);
5120
- const A = t.value.slice(x + 1);
5121
- if (A.length > 0 && await f(A))
5120
+ const U = t.value.slice(x + 1);
5121
+ if (U.length > 0 && await f(U))
5122
5122
  return;
5123
- h(A);
5124
- const R = {
5123
+ h(U);
5124
+ const k = {
5125
5125
  id: Be(),
5126
5126
  name: p.name,
5127
5127
  url: c(p.name),
@@ -5131,7 +5131,7 @@ function Ta(s, e) {
5131
5131
  parentId: y,
5132
5132
  visible: !0
5133
5133
  };
5134
- t.value = [...t.value.slice(0, x + 1), R], p.onOpen && r.set(R.id, p.onOpen), p.onClose && a.set(R.id, p.onClose), p.onOpen?.();
5134
+ t.value = [...t.value.slice(0, x + 1), k], p.onOpen && r.set(k.id, p.onOpen), p.onClose && a.set(k.id, p.onClose), p.onOpen?.();
5135
5135
  }
5136
5136
  async function S(p) {
5137
5137
  const y = t.value.findIndex((I) => I.id === p);
@@ -5139,14 +5139,14 @@ function Ta(s, e) {
5139
5139
  const x = t.value.slice(y);
5140
5140
  if (await f(x)) return !0;
5141
5141
  h(x), t.value = t.value.slice(0, y);
5142
- const R = t.value.length - 1;
5143
- if (R > 0 && !t.value[R].visible) {
5142
+ const k = t.value.length - 1;
5143
+ if (k > 0 && !t.value[k].visible) {
5144
5144
  const I = [...t.value];
5145
- I[R] = { ...I[R], visible: !0 }, t.value = I;
5145
+ I[k] = { ...I[k], visible: !0 }, t.value = I;
5146
5146
  }
5147
5147
  return !1;
5148
5148
  }
5149
- async function U(p) {
5149
+ async function A(p) {
5150
5150
  const y = l.value;
5151
5151
  if (!y)
5152
5152
  throw new Error("[BladeStack] No active blade to replace");
@@ -5155,12 +5155,12 @@ function Ta(s, e) {
5155
5155
  const x = t.value.findIndex(($) => $.id === y.id);
5156
5156
  if (x === -1)
5157
5157
  throw new Error(`[BladeStack] Active blade '${y.id}' not found in stack`);
5158
- const A = t.value.slice(x + 1);
5159
- if (A.length > 0) {
5160
- if (await f(A)) return;
5161
- h(A);
5158
+ const U = t.value.slice(x + 1);
5159
+ if (U.length > 0) {
5160
+ if (await f(U)) return;
5161
+ h(U);
5162
5162
  }
5163
- const R = {
5163
+ const k = {
5164
5164
  id: Be(),
5165
5165
  name: p.name,
5166
5166
  url: c(p.name),
@@ -5171,10 +5171,10 @@ function Ta(s, e) {
5171
5171
  visible: !0
5172
5172
  };
5173
5173
  h([y]);
5174
- const I = [...t.value.slice(0, x), R, ...t.value.slice(x + 1)];
5175
- t.value = I, p.onOpen && r.set(R.id, p.onOpen), p.onClose && a.set(R.id, p.onClose), p.onOpen?.();
5174
+ const I = [...t.value.slice(0, x), k, ...t.value.slice(x + 1)];
5175
+ t.value = I, p.onOpen && r.set(k.id, p.onOpen), p.onClose && a.set(k.id, p.onClose), p.onOpen?.();
5176
5176
  }
5177
- async function w(p) {
5177
+ async function E(p) {
5178
5178
  const y = l.value;
5179
5179
  if (!y)
5180
5180
  throw new Error("[BladeStack] No active blade to cover");
@@ -5183,12 +5183,12 @@ function Ta(s, e) {
5183
5183
  const x = t.value.findIndex(($) => $.id === y.id);
5184
5184
  if (x === -1)
5185
5185
  throw new Error(`[BladeStack] Active blade '${y.id}' not found in stack`);
5186
- const A = t.value.slice(x + 1);
5187
- if (A.length > 0) {
5188
- if (await f(A)) return;
5189
- h(A);
5186
+ const U = t.value.slice(x + 1);
5187
+ if (U.length > 0) {
5188
+ if (await f(U)) return;
5189
+ h(U);
5190
5190
  }
5191
- const R = {
5191
+ const k = {
5192
5192
  id: Be(),
5193
5193
  name: p.name,
5194
5194
  url: c(p.name),
@@ -5198,10 +5198,10 @@ function Ta(s, e) {
5198
5198
  parentId: y.id,
5199
5199
  visible: !0
5200
5200
  }, I = t.value.slice(0, x);
5201
- I.push({ ...y, visible: !1 }), I.push(R), t.value = I, p.onOpen && r.set(R.id, p.onOpen), p.onClose && a.set(R.id, p.onClose), p.onOpen?.();
5201
+ I.push({ ...y, visible: !1 }), I.push(k), t.value = I, p.onOpen && r.set(k.id, p.onOpen), p.onClose && a.set(k.id, p.onClose), p.onOpen?.();
5202
5202
  }
5203
5203
  async function g(p) {
5204
- const y = t.value.findIndex((R) => R.id === p);
5204
+ const y = t.value.findIndex((k) => k.id === p);
5205
5205
  if (y === -1) return;
5206
5206
  const x = t.value.slice(y + 1);
5207
5207
  x.length === 0 || await f(x) || (h(x), t.value = t.value.slice(0, y + 1));
@@ -5209,26 +5209,26 @@ function Ta(s, e) {
5209
5209
  function P(p, y) {
5210
5210
  n.set(p, y);
5211
5211
  }
5212
- function E(p) {
5212
+ function w(p) {
5213
5213
  n.delete(p);
5214
5214
  }
5215
5215
  function _(p, y) {
5216
- const x = t.value.findIndex((R) => R.id === p);
5216
+ const x = t.value.findIndex((k) => k.id === p);
5217
5217
  if (x === -1) return;
5218
- const A = [...t.value];
5219
- A[x] = { ...A[x], error: y }, t.value = A;
5218
+ const U = [...t.value];
5219
+ U[x] = { ...U[x], error: y }, t.value = U;
5220
5220
  }
5221
5221
  function T(p) {
5222
- const y = t.value.findIndex((A) => A.id === p);
5222
+ const y = t.value.findIndex((U) => U.id === p);
5223
5223
  if (y === -1) return;
5224
5224
  const x = [...t.value];
5225
5225
  x[y] = { ...x[y], error: void 0 }, t.value = x;
5226
5226
  }
5227
5227
  function F(p, y) {
5228
- const x = t.value.findIndex((R) => R.id === p);
5228
+ const x = t.value.findIndex((k) => k.id === p);
5229
5229
  if (x === -1 || t.value[x].title === y) return;
5230
- const A = [...t.value];
5231
- A[x] = { ...A[x], title: y }, t.value = A;
5230
+ const U = [...t.value];
5231
+ U[x] = { ...U[x], title: y }, t.value = U;
5232
5232
  }
5233
5233
  function W(p) {
5234
5234
  for (const y of t.value)
@@ -5243,18 +5243,18 @@ function Ta(s, e) {
5243
5243
  openBlade: b,
5244
5244
  closeBlade: S,
5245
5245
  closeChildren: g,
5246
- replaceCurrentBlade: U,
5247
- coverCurrentBlade: w,
5246
+ replaceCurrentBlade: A,
5247
+ coverCurrentBlade: E,
5248
5248
  registerBeforeClose: P,
5249
- unregisterBeforeClose: E,
5249
+ unregisterBeforeClose: w,
5250
5250
  setBladeError: _,
5251
5251
  clearBladeError: T,
5252
5252
  setBladeTitle: F,
5253
5253
  _restoreStack: W
5254
5254
  };
5255
5255
  }
5256
- function Mt() {
5257
- const s = M(De);
5256
+ function Dt() {
5257
+ const s = D(Ge);
5258
5258
  if (!s)
5259
5259
  throw new Error("[useBladeStack] BladeStack not found. Ensure BladeNavigationPlugin is installed.");
5260
5260
  return s;
@@ -5291,30 +5291,30 @@ function St(s) {
5291
5291
  if (s)
5292
5292
  return s.replace(/^\/+|\/+$/g, "") || void 0;
5293
5293
  }
5294
- function Ut(s) {
5294
+ function At(s) {
5295
5295
  const e = s.currentRoute.value.params;
5296
5296
  return Object.values(e).find((t) => typeof t == "string" && t) || "";
5297
5297
  }
5298
- function Gt(s, e) {
5298
+ function Lt(s, e) {
5299
5299
  function t() {
5300
- const { path: r, query: a } = rt(Ut(s), e.blades.value);
5300
+ const { path: r, query: a } = rt(At(s), e.blades.value);
5301
5301
  s.push({ path: r, query: a });
5302
5302
  }
5303
5303
  function n() {
5304
- const { path: r, query: a } = rt(Ut(s), e.blades.value);
5304
+ const { path: r, query: a } = rt(At(s), e.blades.value);
5305
5305
  s.replace({ path: r, query: a });
5306
5306
  }
5307
5307
  return { syncUrlPush: t, syncUrlReplace: n };
5308
5308
  }
5309
- const Oa = ["aria-label"], ka = {
5309
+ const Oa = ["aria-label"], Ra = {
5310
5310
  key: 1,
5311
5311
  class: "tw-overflow-hidden tw-flex tw-grow tw-basis-0 tw-relative tw-min-w-0"
5312
- }, At = /* @__PURE__ */ G({
5312
+ }, Ut = /* @__PURE__ */ L({
5313
5313
  __name: "vc-blade-navigation-new",
5314
5314
  setup(s) {
5315
- const { t: e } = cr(), t = Mt(), n = Ft(), r = dr(), { breadcrumbs: a, push: o, remove: u } = wa(), { syncUrlReplace: l } = Gt(r, t), d = v(() => t.blades.value), c = v(() => t.activeBlade.value), f = v(() => d.value.length > 0), h = v(() => d.value.filter((_) => _.visible).length), m = M(Nt), b = M(Je, void 0), S = v(() => b?.isExpanded.value ?? !1), U = v(() => m.value || S.value ? 1 : 2);
5316
- function w(_, T) {
5317
- return _.visible ? T >= h.value - U.value : !1;
5315
+ const { t: e } = cr(), t = Dt(), n = Ft(), r = dr(), { breadcrumbs: a, push: o, remove: u } = Ea(), { syncUrlReplace: l } = Lt(r, t), d = v(() => t.blades.value), c = v(() => t.activeBlade.value), f = v(() => d.value.length > 0), h = v(() => d.value.filter((_) => _.visible).length), m = D(Nt), b = D(Je, void 0), S = v(() => b?.isExpanded.value ?? !1), A = v(() => m.value || S.value ? 1 : 2);
5316
+ function E(_, T) {
5317
+ return _.visible ? T >= h.value - A.value : !1;
5318
5318
  }
5319
5319
  lr(
5320
5320
  d,
@@ -5322,12 +5322,12 @@ const Oa = ["aria-label"], ka = {
5322
5322
  a.value.forEach((T) => T && u([T.id])), _.filter((T) => T.visible).forEach((T, F) => {
5323
5323
  o({
5324
5324
  id: F.toString(),
5325
- title: kt({ title: T.name }, "title"),
5325
+ title: Rt({ title: T.name }, "title"),
5326
5326
  clickHandler: async (W) => {
5327
- const p = parseInt(W), x = d.value.filter((A) => A.visible)[p + 1];
5327
+ const p = parseInt(W), x = d.value.filter((U) => U.visible)[p + 1];
5328
5328
  if (x) {
5329
- const A = await t.closeBlade(x.id);
5330
- return A || l(), !A;
5329
+ const U = await t.closeBlade(x.id);
5330
+ return U || l(), !U;
5331
5331
  }
5332
5332
  return !0;
5333
5333
  }
@@ -5352,9 +5352,9 @@ const Oa = ["aria-label"], ka = {
5352
5352
  console.warn("[VcBladeNavigation] Parent call failed:", F);
5353
5353
  }
5354
5354
  }
5355
- function E(_) {
5355
+ function w(_) {
5356
5356
  if (!(_ <= 0))
5357
- return Qt(Aa, {
5357
+ return Qt(Ua, {
5358
5358
  breadcrumbs: a.value.slice(0, _),
5359
5359
  onBack: async () => {
5360
5360
  const T = d.value[_];
@@ -5365,28 +5365,28 @@ const Oa = ["aria-label"], ka = {
5365
5365
  return (_, T) => (C(), O("div", {
5366
5366
  class: "vc-blade-navigation tw-flex tw-flex-col tw-grow tw-basis-0 tw-min-w-0 tw-overflow-hidden",
5367
5367
  role: "region",
5368
- "aria-label": L(e)("COMPONENTS.ORGANISMS.BLADE_NAVIGATION.ARIA_LABEL")
5368
+ "aria-label": M(e)("COMPONENTS.ORGANISMS.BLADE_NAVIGATION.ARIA_LABEL")
5369
5369
  }, [
5370
- f.value ? (C(), O("div", ka, [
5371
- (C(!0), O(Le, null, ot(d.value, (F, W) => (C(), J(L(Lt), {
5370
+ f.value ? (C(), O("div", Ra, [
5371
+ (C(!0), O(Me, null, ot(d.value, (F, W) => (C(), J(M(Mt), {
5372
5372
  key: F.id,
5373
5373
  descriptor: F,
5374
5374
  closable: W > 0,
5375
5375
  expanded: F.id === c.value?.id,
5376
- visible: w(F, W),
5377
- breadcrumbs: L(a).slice(0, W),
5378
- "back-button": h.value > 1 ? E(W) : void 0,
5376
+ visible: E(F, W),
5377
+ breadcrumbs: M(a).slice(0, W),
5378
+ "back-button": h.value > 1 ? w(W) : void 0,
5379
5379
  onClose: g,
5380
5380
  onParentCall: P
5381
5381
  }, null, 8, ["descriptor", "closable", "expanded", "visible", "breadcrumbs", "back-button"]))), 128))
5382
- ])) : (C(), J(L(hr), { key: 0 }))
5382
+ ])) : (C(), J(M(hr), { key: 0 }))
5383
5383
  ], 8, Oa));
5384
5384
  }
5385
- }), Ra = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5385
+ }), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5386
5386
  __proto__: null,
5387
- VcBladeNavigation: At,
5388
- VcBladeNavigationV2: At,
5389
- VcBladeSlot: Lt
5387
+ VcBladeNavigation: Ut,
5388
+ VcBladeNavigationV2: Ut,
5389
+ VcBladeSlot: Mt
5390
5390
  }, Symbol.toStringTag, { value: "Module" }));
5391
5391
  function Ze(s, e) {
5392
5392
  const t = s.getRoutes(), n = t.find((a) => a.meta?.root), r = t.find((a) => a.aliasOf?.path === n?.path) ?? n;
@@ -5428,18 +5428,18 @@ const $a = (s, [e]) => {
5428
5428
  return r.map((u) => n(u)).find((u) => u === !0) ? me.global.t("messages.file_weight", { size: e }) : !0;
5429
5429
  };
5430
5430
  _e("fileWeight", $a);
5431
- const Dt = (s, [e], t, n) => {
5431
+ const Gt = (s, [e], t, n) => {
5432
5432
  if (!s || typeof s == "string" && !s.length)
5433
5433
  return !0;
5434
5434
  let r, a;
5435
5435
  return s instanceof Date && (r = s), e instanceof Date && (a = e), typeof s == "string" && (r = new Date(s)), typeof e == "string" && (a = new Date(e)), r?.getTime && r?.getTime() > 0 && a?.getTime && a?.getTime() > 0 && t(a.getTime(), r.getTime()) ? n : !0;
5436
- }, Na = (s, [e]) => Dt(s, [e], (t, n) => t < n, me.global.t("messages.before"));
5436
+ }, Na = (s, [e]) => Gt(s, [e], (t, n) => t < n, me.global.t("messages.before"));
5437
5437
  _e("before", Na);
5438
- const ja = (s, [e]) => Dt(s, [e], (t, n) => t > n, me.global.t("messages.after"));
5438
+ const ja = (s, [e]) => Gt(s, [e], (t, n) => t > n, me.global.t("messages.after"));
5439
5439
  _e("after", ja);
5440
5440
  const za = (s) => Number.isSafeInteger(parseInt(s)) ? !0 : me.global.t("messages.bigint");
5441
5441
  _e("bigint", za);
5442
- const nt = j("signalR"), Ue = k(), Fa = Symbol("updateSignalRCreator");
5442
+ const nt = j("signalR"), Ae = R(), Fa = Symbol("updateSignalRCreator");
5443
5443
  function It(s, e, t) {
5444
5444
  s.off("SendSystemEvents"), t && (nt.debug("Setup handler for creator: ", t), s.on("SendSystemEvents", (n) => {
5445
5445
  n.creator === t && e.ingest(n);
@@ -5447,12 +5447,12 @@ function It(s, e, t) {
5447
5447
  }
5448
5448
  const ji = {
5449
5449
  install(s, e) {
5450
- Ue.value = e?.creator;
5450
+ Ae.value = e?.creator;
5451
5451
  const t = aa(), { isAuthenticated: n } = We();
5452
5452
  let r = !1;
5453
- const a = yr("pushNotificationHub", { enableForVitest: !0 }) ?? new xr().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(wr.Information).build(), o = () => {
5453
+ const a = yr("pushNotificationHub", { enableForVitest: !0 }) ?? new xr().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(Er.Information).build(), o = () => {
5454
5454
  a.start().then(() => {
5455
- nt.info("Connected."), It(a, t, Ue.value);
5455
+ nt.info("Connected."), It(a, t, Ae.value);
5456
5456
  }).catch((l) => {
5457
5457
  nt.error("Connection Error: ", l), setTimeout(() => o(), 5e3);
5458
5458
  });
@@ -5464,26 +5464,26 @@ const ji = {
5464
5464
  r && o();
5465
5465
  }), a.on("Send", (l) => {
5466
5466
  t.ingest(l);
5467
- }), Y(
5468
- Ue,
5467
+ }), X(
5468
+ Ae,
5469
5469
  (l) => {
5470
5470
  l && a.state === "Connected" && It(a, t, l);
5471
5471
  },
5472
5472
  { immediate: !0 }
5473
- ), Y(
5473
+ ), X(
5474
5474
  n,
5475
5475
  async (l) => {
5476
5476
  l ? (r = !0, o()) : (r = !1, await u());
5477
5477
  },
5478
5478
  { immediate: !0 }
5479
5479
  ), s.config.globalProperties.$updateSignalRCreator = (l) => {
5480
- Ue.value = l;
5480
+ Ae.value = l;
5481
5481
  }, s.provide(Fa, (l) => {
5482
- Ue.value = l;
5482
+ Ae.value = l;
5483
5483
  });
5484
5484
  }
5485
5485
  };
5486
- async function La(s, e, t, n, r, a) {
5486
+ async function Ma(s, e, t, n, r, a) {
5487
5487
  if (!t.workspaceUrl) return !1;
5488
5488
  const o = e.getBladeByRoute(t.workspaceUrl);
5489
5489
  if (!o)
@@ -5493,7 +5493,7 @@ async function La(s, e, t, n, r, a) {
5493
5493
  `[restoreFromUrl] Blade '${o.name}' matched URL '${t.workspaceUrl}' but is not a workspace`
5494
5494
  ), r && Ze(r, a), !1;
5495
5495
  if (n && o.data.permissions && !n(o.data.permissions))
5496
- return console.warn(`[restoreFromUrl] Access denied to workspace '${o.name}'`), X.error(me.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), r && Ze(r, a), !1;
5496
+ return console.warn(`[restoreFromUrl] Access denied to workspace '${o.name}'`), Y.error(me.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), r && Ze(r, a), !1;
5497
5497
  if (s.workspace.value?.name !== o.name && await s.openWorkspace({ name: o.name }), t.bladeUrl) {
5498
5498
  const l = e.getBladeByRoute(t.bladeUrl);
5499
5499
  if (l) {
@@ -5519,7 +5519,7 @@ async function Tt(s) {
5519
5519
  }
5520
5520
  return s.blades.value.length > 0 && s._restoreStack([]), !0;
5521
5521
  }
5522
- async function Ma(s, e, t, n, r) {
5522
+ async function Da(s, e, t, n, r) {
5523
5523
  if (!s.matched.some((c) => c.meta?.root)) return;
5524
5524
  if (!s.matched.some((c) => c.meta?.bladeCatchAll))
5525
5525
  return e.blades.value.length > 0 && !await Tt(e) ? !1 : void 0;
@@ -5527,16 +5527,16 @@ async function Ma(s, e, t, n, r) {
5527
5527
  if (!u.workspaceUrl)
5528
5528
  return e.blades.value.length > 0 && !await Tt(e) ? !1 : void 0;
5529
5529
  const l = Object.fromEntries(Object.entries(s.params).filter(([, c]) => typeof c == "string"));
5530
- if (await La(e, t, u, n, r, l)) {
5530
+ if (await Ma(e, t, u, n, r, l)) {
5531
5531
  const { path: c, query: f } = rt(o, e.blades.value);
5532
5532
  return { path: c, query: f, replace: !0 };
5533
5533
  }
5534
5534
  }
5535
- let Jt, Wt, Kt, Ga;
5535
+ let Jt, Wt, Ht, La;
5536
5536
  const zi = {
5537
5537
  install(s, e) {
5538
5538
  const { router: t } = e;
5539
- Object.entries(Ra).forEach(([d, c]) => {
5539
+ Object.entries(ka).forEach(([d, c]) => {
5540
5540
  s.component(d, c);
5541
5541
  }), Jt = {
5542
5542
  router: e.router
@@ -5556,35 +5556,35 @@ const zi = {
5556
5556
  return;
5557
5557
  }
5558
5558
  const { hasAccess: a } = s.runWithContext(() => ia()), o = Ta(r, a);
5559
- s.provide(De, o), Wt = o;
5560
- const u = Ua(o);
5561
- s.provide(ut, u), Kt = u, Ga = r;
5559
+ s.provide(Ge, o), Wt = o;
5560
+ const u = Aa(o);
5561
+ s.provide(ut, u), Ht = u, La = r;
5562
5562
  const l = t.getRoutes().find((d) => d.meta?.root);
5563
5563
  l && t.addRoute(l.name, {
5564
5564
  path: ":pathMatch(.*)*",
5565
5565
  component: { render: () => null },
5566
5566
  meta: { bladeCatchAll: !0 }
5567
- }), t.beforeEach((d) => Ma(d, o, r, a, t));
5567
+ }), t.beforeEach((d) => Da(d, o, r, a, t));
5568
5568
  }
5569
- }, Da = "useBlade() was called outside a blade. Navigation methods (openBlade) work everywhere, but blade-specific methods require the component to be rendered inside VcBladeSlot.";
5570
- function D(s) {
5569
+ }, Ga = "useBlade() was called outside a blade. Navigation methods (openBlade) work everywhere, but blade-specific methods require the component to be rendered inside VcBladeSlot.";
5570
+ function G(s) {
5571
5571
  throw new Error(`[vc-shell] ${s} requires blade context.
5572
- ${Da}`);
5572
+ ${Ga}`);
5573
5573
  }
5574
5574
  function Ja() {
5575
- const s = (we() ? M(De, void 0) : void 0) ?? Wt, e = (we() ? M(ut, void 0) : void 0) ?? Kt;
5575
+ const s = (Ee() ? D(Ge, void 0) : void 0) ?? Wt, e = (Ee() ? D(ut, void 0) : void 0) ?? Ht;
5576
5576
  if (!s || !e)
5577
5577
  throw new Error(
5578
5578
  "[vc-shell] useBlade() failed: BladeStack or BladeMessaging not available. Ensure BladeNavigationPlugin (plugin-v2) is installed."
5579
5579
  );
5580
- const t = s, n = e, r = we() ? M(ct, void 0) : void 0;
5580
+ const t = s, n = e, r = Ee() ? D(ct, void 0) : void 0;
5581
5581
  let a;
5582
5582
  function o() {
5583
5583
  if (a) return a;
5584
5584
  const I = Jt?.router;
5585
- return I && (a = Gt(I, t)), a;
5585
+ return I && (a = Lt(I, t)), a;
5586
5586
  }
5587
- const u = v(() => (r || D("id"), r.value.id)), l = v(() => (r || D("param"), r.value.param)), d = v(() => (r || D("options"), r.value.options)), c = v(() => (r || D("query"), r.value.query)), f = v(() => (r || D("closable"), r.value.parentId !== void 0)), h = v(() => (r || D("expanded"), t.activeBlade.value?.id === r.value.id)), m = v(() => (r || D("name"), r.value.name));
5587
+ const u = v(() => (r || G("id"), r.value.id)), l = v(() => (r || G("param"), r.value.param)), d = v(() => (r || G("options"), r.value.options)), c = v(() => (r || G("query"), r.value.query)), f = v(() => (r || G("closable"), r.value.parentId !== void 0)), h = v(() => (r || G("expanded"), t.activeBlade.value?.id === r.value.id)), m = v(() => (r || G("name"), r.value.name));
5588
5588
  let b = !1;
5589
5589
  function S(I) {
5590
5590
  if (b) {
@@ -5594,10 +5594,10 @@ function Ja() {
5594
5594
  return;
5595
5595
  }
5596
5596
  b = !0;
5597
- const $ = er(I) ? I : k(I);
5598
- Ie(Lr, $);
5597
+ const $ = er(I) ? I : R(I);
5598
+ Ie(Mr, $);
5599
5599
  }
5600
- async function U(I) {
5600
+ async function A(I) {
5601
5601
  const { isWorkspace: $, ...ee } = I;
5602
5602
  if ($)
5603
5603
  await t.openWorkspace(ee);
@@ -5607,57 +5607,57 @@ function Ja() {
5607
5607
  }
5608
5608
  t.activeBlade.value?.url && o()?.syncUrlPush();
5609
5609
  }
5610
- async function w() {
5611
- r || D("closeSelf()");
5610
+ async function E() {
5611
+ r || G("closeSelf()");
5612
5612
  const I = await t.closeBlade(r.value.id);
5613
5613
  return I || o()?.syncUrlReplace(), I;
5614
5614
  }
5615
5615
  async function g() {
5616
- r || D("closeChildren()"), await t.closeChildren(r.value.id), o()?.syncUrlReplace();
5616
+ r || G("closeChildren()"), await t.closeChildren(r.value.id), o()?.syncUrlReplace();
5617
5617
  }
5618
5618
  async function P(I) {
5619
- r || D("replaceWith()"), await t.replaceCurrentBlade({
5619
+ r || G("replaceWith()"), await t.replaceCurrentBlade({
5620
5620
  ...I,
5621
5621
  parentId: r.value.parentId
5622
5622
  }), t.activeBlade.value?.url && o()?.syncUrlReplace();
5623
5623
  }
5624
- async function E(I) {
5625
- r || D("coverWith()"), await t.coverCurrentBlade({
5624
+ async function w(I) {
5625
+ r || G("coverWith()"), await t.coverCurrentBlade({
5626
5626
  ...I,
5627
5627
  parentId: r.value.parentId
5628
5628
  }), t.activeBlade.value?.url && o()?.syncUrlPush();
5629
5629
  }
5630
5630
  async function _(I, $) {
5631
- return r || D("callParent()"), n.callParent(r.value.id, I, $);
5631
+ return r || G("callParent()"), n.callParent(r.value.id, I, $);
5632
5632
  }
5633
5633
  function T(I) {
5634
- r || D("exposeToChildren()"), n.exposeToChildren(r.value.id, I);
5634
+ r || G("exposeToChildren()"), n.exposeToChildren(r.value.id, I);
5635
5635
  }
5636
5636
  function F(I) {
5637
- r || D("onBeforeClose()"), t.registerBeforeClose(r.value.id, I);
5637
+ r || G("onBeforeClose()"), t.registerBeforeClose(r.value.id, I);
5638
5638
  }
5639
5639
  function W(I) {
5640
- r || D("setError()"), t.setBladeError(r.value.id, I);
5640
+ r || G("setError()"), t.setBladeError(r.value.id, I);
5641
5641
  }
5642
5642
  function p() {
5643
- r || D("clearError()"), t.clearBladeError(r.value.id);
5643
+ r || G("clearError()"), t.clearBladeError(r.value.id);
5644
5644
  }
5645
5645
  let y = !1, x = !1;
5646
- function A(I) {
5647
- if (r || D("onActivated()"), y) {
5646
+ function U(I) {
5647
+ if (r || G("onActivated()"), y) {
5648
5648
  console.warn("[useBlade] onActivated() already registered in this blade.");
5649
5649
  return;
5650
5650
  }
5651
- y = !0, Y(h, ($) => {
5651
+ y = !0, X(h, ($) => {
5652
5652
  $ && I();
5653
5653
  });
5654
5654
  }
5655
- function R(I) {
5656
- if (r || D("onDeactivated()"), x) {
5655
+ function k(I) {
5656
+ if (r || G("onDeactivated()"), x) {
5657
5657
  console.warn("[useBlade] onDeactivated() already registered in this blade.");
5658
5658
  return;
5659
5659
  }
5660
- x = !0, Y(h, ($) => {
5660
+ x = !0, X(h, ($) => {
5661
5661
  $ || I();
5662
5662
  });
5663
5663
  }
@@ -5670,16 +5670,16 @@ function Ja() {
5670
5670
  expanded: h,
5671
5671
  name: m,
5672
5672
  provideBladeData: S,
5673
- openBlade: U,
5674
- closeSelf: w,
5673
+ openBlade: A,
5674
+ closeSelf: E,
5675
5675
  closeChildren: g,
5676
5676
  replaceWith: P,
5677
- coverWith: E,
5677
+ coverWith: w,
5678
5678
  callParent: _,
5679
5679
  exposeToChildren: T,
5680
5680
  onBeforeClose: F,
5681
- onActivated: A,
5682
- onDeactivated: R,
5681
+ onActivated: U,
5682
+ onDeactivated: k,
5683
5683
  setError: W,
5684
5684
  clearError: p
5685
5685
  };
@@ -5690,9 +5690,17 @@ const Wa = {
5690
5690
  width: 362,
5691
5691
  expandedWidth: 500,
5692
5692
  allowedOrigins: ["*"]
5693
- }, Fi = "APP_AI_AGENT_URL", Ka = "ai-agent-toggle", Ha = "lucide-sparkles", qa = "AI Assistant", $e = j("ai-agent-panel");
5693
+ }, Fi = "APP_AI_AGENT_URL", Mi = {
5694
+ EMBEDDED_APP_READY: "EMBEDDED_APP_READY",
5695
+ AI_TOGGLE_PANEL: "AI_TOGGLE_PANEL",
5696
+ AI_CONTEXT_UPDATE: "AI_CONTEXT_UPDATE",
5697
+ AI_CONTEXT_CLEAR: "AI_CONTEXT_CLEAR"
5698
+ }, Di = {
5699
+ EMBEDDED_HOST_READY: "EMBEDDED_HOST_READY",
5700
+ AI_CHAT_MESSAGE: "AI_CHAT_MESSAGE"
5701
+ }, Ha = "ai-agent-toggle", Ka = "lucide-sparkles", qa = "AI Assistant", $e = j("ai-agent-panel");
5694
5702
  function Za() {
5695
- const s = k("closed"), e = k(!1), t = v(() => s.value !== "closed"), n = v(() => s.value === "expanded"), r = () => {
5703
+ const s = R("closed"), e = R(!1), t = v(() => s.value !== "closed"), n = v(() => s.value === "expanded"), r = () => {
5696
5704
  s.value === "closed" && (s.value = "open", $e.debug("Panel opened"));
5697
5705
  }, a = () => {
5698
5706
  s.value = "closed", e.value = !1, $e.debug("Panel closed, reset initialized state");
@@ -5718,7 +5726,7 @@ function Za() {
5718
5726
  }
5719
5727
  };
5720
5728
  }
5721
- const Xe = j("ai-agent-context");
5729
+ const Ye = j("ai-agent-context");
5722
5730
  function Pt(s) {
5723
5731
  return s ? {
5724
5732
  id: s.id,
@@ -5727,8 +5735,8 @@ function Pt(s) {
5727
5735
  param: s.param
5728
5736
  } : { id: "unknown", name: "unknown", title: "Unknown" };
5729
5737
  }
5730
- function Xa(s) {
5731
- const { userGetter: e, bladeGetter: t, localeGetter: n, tokenGetter: r } = s, a = k(/* @__PURE__ */ new Map()), o = () => {
5738
+ function Ya(s) {
5739
+ const { userGetter: e, bladeGetter: t, localeGetter: n, tokenGetter: r } = s, a = R(/* @__PURE__ */ new Map()), o = () => {
5732
5740
  const b = t();
5733
5741
  return b ? a.value.get(b.id) ?? {
5734
5742
  items: [],
@@ -5745,9 +5753,9 @@ function Xa(s) {
5745
5753
  contextType: l,
5746
5754
  contextSuggestions: d,
5747
5755
  totalItemsCount: c,
5748
- setContextData: (b, S, U, w) => {
5749
- const g = t()?.id || w;
5750
- return g ? b.length === 0 && !U ? (a.value.delete(g), Xe.debug(`Context cleared for blade: ${g}`), { cleared: !0 }) : (a.value.set(g, { items: b, type: S, suggestions: U }), Xe.debug(`Context set for blade: ${g}, items: ${b.length}, type: ${S}`), { cleared: !1 }) : (Xe.warn("Cannot set context data: no blade id available"), { cleared: !1 });
5756
+ setContextData: (b, S, A, E) => {
5757
+ const g = t()?.id || E;
5758
+ return g ? b.length === 0 && !A ? (a.value.delete(g), Ye.debug(`Context cleared for blade: ${g}`), { cleared: !0 }) : (a.value.set(g, { items: b, type: S, suggestions: A }), Ye.debug(`Context set for blade: ${g}, items: ${b.length}, type: ${S}`), { cleared: !1 }) : (Ye.warn("Cannot set context data: no blade id available"), { cleared: !1 });
5751
5759
  },
5752
5760
  buildInitPayload: async () => {
5753
5761
  const b = r ? await r() ?? void 0 : void 0;
@@ -5756,8 +5764,8 @@ function Xa(s) {
5756
5764
  locale: n(),
5757
5765
  blade: Pt(t()),
5758
5766
  contextType: l.value,
5759
- items: ke(u.value),
5760
- suggestions: d.value ? ke(d.value) : void 0,
5767
+ items: Re(u.value),
5768
+ suggestions: d.value ? Re(d.value) : void 0,
5761
5769
  accessToken: b
5762
5770
  };
5763
5771
  },
@@ -5766,8 +5774,8 @@ function Xa(s) {
5766
5774
  return {
5767
5775
  blade: Pt(t()),
5768
5776
  contextType: l.value,
5769
- items: ke(u.value),
5770
- suggestions: d.value ? ke(d.value) : void 0,
5777
+ items: Re(u.value),
5778
+ suggestions: d.value ? Re(d.value) : void 0,
5771
5779
  locale: n(),
5772
5780
  accessToken: b
5773
5781
  };
@@ -5775,7 +5783,7 @@ function Xa(s) {
5775
5783
  };
5776
5784
  }
5777
5785
  const q = j("ai-agent-transport");
5778
- function Ya(s) {
5786
+ function Xa(s) {
5779
5787
  try {
5780
5788
  const e = atob(s.content), t = new Array(e.length);
5781
5789
  for (let o = 0; o < e.length; o++)
@@ -5787,14 +5795,14 @@ function Ya(s) {
5787
5795
  }
5788
5796
  }
5789
5797
  function Va(s) {
5790
- const { getConfig: e, isEmbedded: t, navigateToBlade: n, reloadBlade: r } = s, a = lt(null), o = k(!1), u = k(!1), l = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
5798
+ const { getConfig: e, isEmbedded: t, navigateToBlade: n, reloadBlade: r } = s, a = lt(null), o = R(!1), u = R(!1), l = /* @__PURE__ */ new Set(), d = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set();
5791
5799
  function f(m, b) {
5792
5800
  switch (m) {
5793
5801
  case "PREVIEW_CHANGES": {
5794
- const U = b;
5795
- d.size === 0 && q.warn("No preview changes handlers registered!"), d.forEach((w) => {
5802
+ const A = b;
5803
+ d.size === 0 && q.warn("No preview changes handlers registered!"), d.forEach((E) => {
5796
5804
  try {
5797
- w(U);
5805
+ E(A);
5798
5806
  } catch (g) {
5799
5807
  q.error("Error in preview handler:", g);
5800
5808
  }
@@ -5802,26 +5810,26 @@ function Va(s) {
5802
5810
  break;
5803
5811
  }
5804
5812
  case "NAVIGATE_TO_APP": {
5805
- const U = b;
5806
- n && U?.bladeName && (n(U.bladeName, U.param, U.options), q.debug(`Navigation requested to: ${U.bladeName}`));
5813
+ const A = b;
5814
+ n && A?.bladeName && (n(A.bladeName, A.param, A.options), q.debug(`Navigation requested to: ${A.bladeName}`));
5807
5815
  break;
5808
5816
  }
5809
5817
  case "RELOAD_BLADE":
5810
5818
  r && (r(), q.debug("Blade reload requested"));
5811
5819
  break;
5812
5820
  case "DOWNLOAD_FILE": {
5813
- const U = b;
5814
- U && Ya(U);
5821
+ const A = b;
5822
+ A && Xa(A);
5815
5823
  break;
5816
5824
  }
5817
5825
  case "APPLY_CHANGES": {
5818
- const U = b;
5819
- q.warn("APPLY_CHANGES received but not implemented:", U?.changes);
5826
+ const A = b;
5827
+ q.warn("APPLY_CHANGES received but not implemented:", A?.changes);
5820
5828
  break;
5821
5829
  }
5822
5830
  case "CHAT_ERROR": {
5823
- const U = b;
5824
- q.error(`Chatbot error [${U?.code}]: ${U?.message}`);
5831
+ const A = b;
5832
+ q.error(`Chatbot error [${A?.code}]: ${A?.message}`);
5825
5833
  break;
5826
5834
  }
5827
5835
  }
@@ -5830,11 +5838,11 @@ function Va(s) {
5830
5838
  payload: b,
5831
5839
  timestamp: Date.now()
5832
5840
  };
5833
- l.forEach((U) => {
5841
+ l.forEach((A) => {
5834
5842
  try {
5835
- U(S);
5836
- } catch (w) {
5837
- q.error("Handler error:", w);
5843
+ A(S);
5844
+ } catch (E) {
5845
+ q.error("Handler error:", E);
5838
5846
  }
5839
5847
  });
5840
5848
  }
@@ -5842,22 +5850,22 @@ function Va(s) {
5842
5850
  const S = e().allowedOrigins || ["*"];
5843
5851
  if (!S.includes("*") && !S.includes(m.origin))
5844
5852
  return;
5845
- const U = m.data;
5846
- if (!(!U?.type || typeof U.type != "string"))
5847
- switch (q.debug(`Message received: ${U.type}`), U.type) {
5853
+ const A = m.data;
5854
+ if (!(!A?.type || typeof A.type != "string"))
5855
+ switch (q.debug(`Message received: ${A.type}`), A.type) {
5848
5856
  // Embedded: parent forwards chat messages wrapped in AI_CHAT_MESSAGE
5849
5857
  case "AI_CHAT_MESSAGE": {
5850
5858
  if (t) {
5851
- const w = U.payload;
5852
- w?.type && f(w.type, w.payload);
5859
+ const E = A.payload;
5860
+ E?.type && f(E.type, E.payload);
5853
5861
  }
5854
5862
  return;
5855
5863
  }
5856
5864
  // Normal: chatbot signals it's ready
5857
5865
  case "CHAT_READY":
5858
- c.forEach((w) => {
5866
+ c.forEach((E) => {
5859
5867
  try {
5860
- w();
5868
+ E();
5861
5869
  } catch (g) {
5862
5870
  q.error("ChatReady handler error:", g);
5863
5871
  }
@@ -5865,7 +5873,7 @@ function Va(s) {
5865
5873
  break;
5866
5874
  // Normal: direct chat protocol messages
5867
5875
  default:
5868
- f(U.type, U.payload);
5876
+ f(A.type, A.payload);
5869
5877
  break;
5870
5878
  }
5871
5879
  }
@@ -5925,7 +5933,7 @@ function Qa(s) {
5925
5933
  reloadBlade: o,
5926
5934
  initialConfig: u,
5927
5935
  isEmbedded: l = !1
5928
- } = s, d = k({ ...Wa, ...u }), c = Za(), f = Xa({
5936
+ } = s, d = R({ ...Wa, ...u }), c = Za(), f = Ya({
5929
5937
  userGetter: e,
5930
5938
  bladeGetter: t,
5931
5939
  localeGetter: n,
@@ -5942,33 +5950,33 @@ function Qa(s) {
5942
5950
  })), b = async () => {
5943
5951
  if (h.pendingInitContext.value && h.iframeRef.value?.contentWindow) {
5944
5952
  h.pendingInitContext.value = !1, c.isInitialized.value = !0;
5945
- const E = await f.buildInitPayload();
5946
- h.sendToIframe({ type: "INIT_CONTEXT", payload: E }), Ne.debug("Flushed pending INIT_CONTEXT");
5953
+ const w = await f.buildInitPayload();
5954
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: w }), Ne.debug("Flushed pending INIT_CONTEXT");
5947
5955
  }
5948
5956
  };
5949
5957
  h.onChatReady(() => {
5950
- h.iframeRef.value?.contentWindow ? (c.isInitialized.value = !0, f.buildInitPayload().then((E) => {
5951
- h.sendToIframe({ type: "INIT_CONTEXT", payload: E }), Ne.info("Chatbot ready, sent INIT_CONTEXT");
5958
+ h.iframeRef.value?.contentWindow ? (c.isInitialized.value = !0, f.buildInitPayload().then((w) => {
5959
+ h.sendToIframe({ type: "INIT_CONTEXT", payload: w }), Ne.info("Chatbot ready, sent INIT_CONTEXT");
5952
5960
  })) : (h.pendingInitContext.value = !0, Ne.info("Chatbot ready, iframe ref not available yet — pending INIT_CONTEXT"));
5953
- }), Y(h.iframeRef, () => b()), Y(
5961
+ }), X(h.iframeRef, () => b()), X(
5954
5962
  () => ({ currentBlade: m.value.currentBlade, items: m.value.items }),
5955
5963
  async () => {
5956
5964
  if (l) {
5957
- const E = await f.buildInitPayload();
5958
- h.sendToParent({ type: "AI_CONTEXT_UPDATE", payload: E });
5965
+ const w = await f.buildInitPayload();
5966
+ h.sendToParent({ type: "AI_CONTEXT_UPDATE", payload: w });
5959
5967
  return;
5960
5968
  }
5961
5969
  if (c.isOpen.value && c.isInitialized.value && h.iframeRef.value?.contentWindow) {
5962
- const E = await f.buildUpdatePayload();
5963
- h.sendToIframe({ type: "UPDATE_CONTEXT", payload: E });
5970
+ const w = await f.buildUpdatePayload();
5971
+ h.sendToIframe({ type: "UPDATE_CONTEXT", payload: w });
5964
5972
  }
5965
5973
  },
5966
5974
  { deep: !0 }
5967
5975
  );
5968
- const S = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.open(), U = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.close(), w = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.toggle(), g = (E) => {
5969
- h.setIframeRef(E), b();
5970
- }, P = (E, _, T, F) => {
5971
- const { cleared: W } = f.setContextData(E, _, T, F);
5976
+ const S = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.open(), A = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.close(), E = () => l ? h.sendToParent({ type: "AI_TOGGLE_PANEL" }) : c.toggle(), g = (w) => {
5977
+ h.setIframeRef(w), b();
5978
+ }, P = (w, _, T, F) => {
5979
+ const { cleared: W } = f.setContextData(w, _, T, F);
5972
5980
  l && W && h.sendToParent({ type: "AI_CONTEXT_CLEAR" });
5973
5981
  };
5974
5982
  return h.startListening(), l && (h.sendToParent({
@@ -5984,17 +5992,17 @@ function Qa(s) {
5984
5992
  totalItemsCount: f.totalItemsCount,
5985
5993
  // Panel control
5986
5994
  openPanel: S,
5987
- closePanel: U,
5988
- togglePanel: w,
5995
+ closePanel: A,
5996
+ togglePanel: E,
5989
5997
  expandPanel: () => c.expand(),
5990
5998
  collapsePanel: () => c.collapse(),
5991
5999
  // Configuration
5992
- setConfig: (E) => {
5993
- d.value = { ...d.value, ...E };
6000
+ setConfig: (w) => {
6001
+ d.value = { ...d.value, ...w };
5994
6002
  },
5995
6003
  // Communication
5996
- sendMessage: (E, _) => {
5997
- h.sendToIframe({ type: E, payload: _ });
6004
+ sendMessage: (w, _) => {
6005
+ h.sendToIframe({ type: w, payload: _ });
5998
6006
  },
5999
6007
  onMessage: h.onMessage,
6000
6008
  // Internal API
@@ -6008,7 +6016,7 @@ function Qa(s) {
6008
6016
  }
6009
6017
  const ce = j("use-ai-agent");
6010
6018
  function Li(s) {
6011
- const e = M(Jr), { user: t, getAccessToken: n } = Fn(), { openBlade: r } = Ja(), { blades: a, activeBlade: o, replaceCurrentBlade: u } = Mt(), l = s?.isEmbedded, d = Qa({
6019
+ const e = D(Jr), { user: t, getAccessToken: n } = Fn(), { openBlade: r } = Ja(), { blades: a, activeBlade: o, replaceCurrentBlade: u } = Dt(), l = s?.isEmbedded, d = Qa({
6012
6020
  userGetter: () => {
6013
6021
  if (t.value)
6014
6022
  return {
@@ -6054,11 +6062,11 @@ function Li(s) {
6054
6062
  isEmbedded: l
6055
6063
  });
6056
6064
  if (Ie(Je, d), ce.debug("AiAgentService provided"), s?.addGlobalToolbarButton ?? !0) {
6057
- const f = M(Wr, null);
6065
+ const f = D(Wr, null);
6058
6066
  f ? (f.registerToolbarItem(
6059
6067
  {
6060
- id: Ka,
6061
- icon: Ha,
6068
+ id: Ha,
6069
+ icon: Ka,
6062
6070
  title: qa,
6063
6071
  clickHandler: () => {
6064
6072
  d.togglePanel();
@@ -6070,10 +6078,10 @@ function Li(s) {
6070
6078
  }
6071
6079
  return d;
6072
6080
  }
6073
- function Mi() {
6074
- const s = M(Je);
6081
+ function Gi() {
6082
+ const s = D(Je);
6075
6083
  if (!s)
6076
- throw ce.error("AiAgentService not found. Did you forget to call provideAiAgentService()?"), new Ar("AiAgentService");
6084
+ throw ce.error("AiAgentService not found. Did you forget to call provideAiAgentService()?"), new Ur("AiAgentService");
6077
6085
  return {
6078
6086
  // State
6079
6087
  panelState: s.panelState,
@@ -6095,7 +6103,7 @@ function Mi() {
6095
6103
  onMessage: s.onMessage
6096
6104
  };
6097
6105
  }
6098
- function Gi(s) {
6106
+ function Ji(s) {
6099
6107
  return {
6100
6108
  id: "ai-agent-toggle",
6101
6109
  icon: s?.icon ?? "lucide-sparkles",
@@ -6117,7 +6125,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6117
6125
  y1: "0",
6118
6126
  x2: "99",
6119
6127
  y2: "108"
6120
- }, Ht = /* @__PURE__ */ G({
6128
+ }, Kt = /* @__PURE__ */ L({
6121
6129
  __name: "VcVirtoOzLogo",
6122
6130
  props: {
6123
6131
  width: { default: 22 },
@@ -6190,7 +6198,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6190
6198
  fill: "#6C6C6C"
6191
6199
  }, null, -1)),
6192
6200
  N("defs", null, [
6193
- s.animated ? K("", !0) : (C(), O("clipPath", {
6201
+ s.animated ? H("", !0) : (C(), O("clipPath", {
6194
6202
  key: 0,
6195
6203
  id: e.value
6196
6204
  }, [...n[1] || (n[1] = [
@@ -6198,11 +6206,11 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6198
6206
  ])], 8, ns)),
6199
6207
  s.animated ? (C(), O("linearGradient", as, [...n[2] || (n[2] = [
6200
6208
  tr('<stop offset="0%" stop-color="#FF9533"><animate attributeName="stop-color" values="#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="25%" stop-color="#FF4FBB"><animate attributeName="stop-color" values="#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="50%" stop-color="#EAFF4F"><animate attributeName="stop-color" values="#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="75%" stop-color="#1C91FC"><animate attributeName="stop-color" values="#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="100%" stop-color="#9A2DF8"><animate attributeName="stop-color" values="#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8" dur="4s" repeatCount="indefinite"></animate></stop>', 5)
6201
- ])])) : K("", !0)
6209
+ ])])) : H("", !0)
6202
6210
  ])
6203
6211
  ], 8, es));
6204
6212
  }
6205
- }), ss = { class: "vc-ai-agent-header" }, is = { class: "vc-ai-agent-header__icon" }, os = { class: "vc-ai-agent-header__wrapper" }, ls = { class: "vc-ai-agent-header__content" }, us = { class: "vc-ai-agent-header__title" }, cs = { class: "vc-ai-agent-header__controls" }, ds = /* @__PURE__ */ G({
6213
+ }), ss = { class: "vc-ai-agent-header" }, is = { class: "vc-ai-agent-header__icon" }, os = { class: "vc-ai-agent-header__wrapper" }, ls = { class: "vc-ai-agent-header__content" }, us = { class: "vc-ai-agent-header__title" }, cs = { class: "vc-ai-agent-header__controls" }, ds = /* @__PURE__ */ L({
6206
6214
  __name: "VcAiAgentHeader",
6207
6215
  props: {
6208
6216
  title: {},
@@ -6213,7 +6221,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6213
6221
  setup(s) {
6214
6222
  return (e, t) => (C(), O("div", ss, [
6215
6223
  N("div", is, [
6216
- Z(Ht, {
6224
+ Z(Kt, {
6217
6225
  width: 22,
6218
6226
  height: 24,
6219
6227
  "show-dots": ""
@@ -6231,21 +6239,21 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6231
6239
  title: "Collapse",
6232
6240
  onClick: t[0] || (t[0] = (n) => e.$emit("collapse"))
6233
6241
  }, [
6234
- Z(L(se), { icon: "lucide-minus" })
6242
+ Z(M(se), { icon: "lucide-minus" })
6235
6243
  ])) : (C(), O("div", {
6236
6244
  key: 1,
6237
6245
  class: "vc-ai-agent-header__button",
6238
6246
  title: "Expand",
6239
6247
  onClick: t[1] || (t[1] = (n) => e.$emit("expand"))
6240
6248
  }, [
6241
- Z(L(se), { icon: "lucide-panel-top" })
6249
+ Z(M(se), { icon: "lucide-panel-top" })
6242
6250
  ])),
6243
6251
  N("div", {
6244
6252
  class: "vc-ai-agent-header__button",
6245
6253
  title: "Close",
6246
6254
  onClick: t[2] || (t[2] = (n) => e.$emit("close"))
6247
6255
  }, [
6248
- Z(L(se), { icon: "lucide-x" })
6256
+ Z(M(se), { icon: "lucide-x" })
6249
6257
  ])
6250
6258
  ])
6251
6259
  ]));
@@ -6253,7 +6261,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6253
6261
  }), hs = { class: "vc-ai-agent-loader" }, fs = { class: "vc-ai-agent-loader__content" }, ps = { class: "vc-ai-agent-loader__logo" }, ms = {
6254
6262
  key: 0,
6255
6263
  class: "vc-ai-agent-loader__text"
6256
- }, vs = /* @__PURE__ */ G({
6264
+ }, vs = /* @__PURE__ */ L({
6257
6265
  __name: "VcAiAgentLoader",
6258
6266
  props: {
6259
6267
  text: {}
@@ -6262,28 +6270,28 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6262
6270
  return (e, t) => (C(), O("div", hs, [
6263
6271
  N("div", fs, [
6264
6272
  N("div", ps, [
6265
- Z(Ht, {
6273
+ Z(Kt, {
6266
6274
  width: 80,
6267
6275
  height: 87,
6268
6276
  animated: ""
6269
6277
  })
6270
6278
  ]),
6271
- s.text ? (C(), O("p", ms, he(s.text), 1)) : K("", !0)
6279
+ s.text ? (C(), O("p", ms, he(s.text), 1)) : H("", !0)
6272
6280
  ])
6273
6281
  ]));
6274
6282
  }
6275
6283
  }), gs = { class: "vc-ai-agent-iframe" }, bs = ["src"], ys = {
6276
6284
  key: 1,
6277
6285
  class: "vc-ai-agent-iframe__placeholder"
6278
- }, xs = /* @__PURE__ */ G({
6286
+ }, xs = /* @__PURE__ */ L({
6279
6287
  __name: "VcAiAgentIframe",
6280
6288
  props: {
6281
6289
  url: {}
6282
6290
  },
6283
6291
  emits: ["iframe-ready"],
6284
6292
  setup(s, { emit: e }) {
6285
- const t = j("ai-agent-iframe"), n = s, r = e, a = k(null), o = k(!0);
6286
- Y(
6293
+ const t = j("ai-agent-iframe"), n = s, r = e, a = R(null), o = R(!0);
6294
+ X(
6287
6295
  a,
6288
6296
  (l) => {
6289
6297
  l && r("iframe-ready", l);
@@ -6293,7 +6301,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6293
6301
  const u = () => {
6294
6302
  o.value = !1, t.debug("Iframe loaded");
6295
6303
  };
6296
- return Y(
6304
+ return X(
6297
6305
  () => n.url,
6298
6306
  () => {
6299
6307
  o.value = !0;
@@ -6304,7 +6312,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6304
6312
  o.value && s.url ? (C(), J(vs, {
6305
6313
  key: 0,
6306
6314
  text: l.$t("AI_AGENT.LOADING")
6307
- }, null, 8, ["text"])) : K("", !0)
6315
+ }, null, 8, ["text"])) : H("", !0)
6308
6316
  ]),
6309
6317
  _: 1
6310
6318
  }),
@@ -6313,12 +6321,12 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6313
6321
  ref_key: "iframeRef",
6314
6322
  ref: a,
6315
6323
  src: s.url,
6316
- class: H(["vc-ai-agent-iframe__frame", { "vc-ai-agent-iframe__frame--loading": o.value }]),
6324
+ class: K(["vc-ai-agent-iframe__frame", { "vc-ai-agent-iframe__frame--loading": o.value }]),
6317
6325
  sandbox: "allow-scripts allow-same-origin allow-forms allow-popups allow-popups-to-escape-sandbox",
6318
6326
  allow: "clipboard-read; clipboard-write",
6319
6327
  onLoad: u
6320
6328
  }, null, 42, bs)) : (C(), O("div", ys, [
6321
- Z(L(se), {
6329
+ Z(M(se), {
6322
6330
  icon: "lucide-sparkles",
6323
6331
  size: "xl",
6324
6332
  class: "vc-ai-agent-iframe__placeholder-icon"
@@ -6327,10 +6335,10 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6327
6335
  ]))
6328
6336
  ]));
6329
6337
  }
6330
- }), ws = { class: "vc-ai-agent-panel__content" }, Di = /* @__PURE__ */ G({
6338
+ }), Es = { class: "vc-ai-agent-panel__content" }, Wi = /* @__PURE__ */ L({
6331
6339
  __name: "VcAiAgentPanel",
6332
6340
  setup(s) {
6333
- const e = M(Je), t = M(Hr, !1);
6341
+ const e = D(Je), t = D(Kr, !1);
6334
6342
  e || console.error("[VcAiAgentPanel] AiAgentService not provided");
6335
6343
  const n = v(
6336
6344
  () => e?.config.value ?? { url: "", title: "AI Assistant", width: 362, expandedWidth: 500 }
@@ -6345,7 +6353,7 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6345
6353
  default: fe(() => [
6346
6354
  r.value ? (C(), O("div", {
6347
6355
  key: 0,
6348
- class: H(["vc-ai-agent-panel", {
6356
+ class: K(["vc-ai-agent-panel", {
6349
6357
  "vc-ai-agent-panel--expanded": a.value
6350
6358
  }]),
6351
6359
  style: Ce(u.value)
@@ -6358,161 +6366,163 @@ const es = ["width", "height"], ts = ["clip-path"], rs = {
6358
6366
  onExpand: d,
6359
6367
  onCollapse: c
6360
6368
  }, null, 8, ["title", "is-expanded", "items-count"]),
6361
- N("div", ws, [
6369
+ N("div", Es, [
6362
6370
  Z(xs, {
6363
6371
  url: n.value.url,
6364
6372
  onIframeReady: f
6365
6373
  }, null, 8, ["url"])
6366
6374
  ])
6367
- ], 6)) : K("", !0)
6375
+ ], 6)) : H("", !0)
6368
6376
  ]),
6369
6377
  _: 1
6370
6378
  }));
6371
6379
  }
6372
6380
  });
6373
6381
  export {
6374
- Ri as $,
6382
+ ei as $,
6375
6383
  Fi as A,
6376
6384
  Br as B,
6377
6385
  We as C,
6378
6386
  Wa as D,
6379
- Nt as E,
6380
- ii as F,
6381
- Nn as G,
6382
- Jt as H,
6383
- Ar as I,
6384
- Wt as J,
6385
- Ga as K,
6386
- Kt as L,
6387
- Ut as M,
6388
- Gn as N,
6389
- Gt as O,
6390
- Jr as P,
6391
- oi as Q,
6392
- li as R,
6387
+ Mi as E,
6388
+ Nt as F,
6389
+ ii as G,
6390
+ Di as H,
6391
+ Ur as I,
6392
+ Nn as J,
6393
+ Jt as K,
6394
+ Wt as L,
6395
+ La as M,
6396
+ Ln as N,
6397
+ Ht as O,
6398
+ At as P,
6399
+ Lt as Q,
6400
+ Jr as R,
6393
6401
  Si as S,
6394
- ui as T,
6395
- ci as U,
6396
- qs as V,
6402
+ oi as T,
6403
+ li as U,
6404
+ ui as V,
6397
6405
  Zs as W,
6398
- Wr as X,
6399
- ei as Y,
6400
- Vs as Z,
6406
+ ci as X,
6407
+ qs as Y,
6408
+ Wr as Z,
6401
6409
  pn as _,
6402
6410
  jr as a,
6403
- jt as a$,
6404
- Qs as a0,
6405
- Dr as a1,
6406
- Ni as a2,
6407
- zi as a3,
6408
- ji as a4,
6409
- oa as a5,
6410
- la as a6,
6411
- ua as a7,
6412
- Bn as a8,
6413
- ti as a9,
6414
- Ys as aA,
6415
- di as aB,
6416
- wi as aC,
6417
- Tn as aD,
6418
- En as aE,
6419
- Ei as aF,
6420
- Ws as aG,
6421
- Ci as aH,
6422
- ai as aI,
6423
- ni as aJ,
6424
- Hs as aK,
6425
- _i as aL,
6426
- Pn as aM,
6427
- On as aN,
6428
- Cn as aO,
6429
- kn as aP,
6430
- bn as aQ,
6431
- Ds as aR,
6432
- yn as aS,
6411
+ Ut as a$,
6412
+ Vs as a0,
6413
+ ki as a1,
6414
+ Qs as a2,
6415
+ Gr as a3,
6416
+ Ni as a4,
6417
+ zi as a5,
6418
+ ji as a6,
6419
+ oa as a7,
6420
+ la as a8,
6421
+ ua as a9,
6422
+ gn as aA,
6423
+ ae as aB,
6424
+ Xs as aC,
6425
+ di as aD,
6426
+ Ei as aE,
6427
+ Tn as aF,
6428
+ wn as aG,
6429
+ wi as aH,
6430
+ Ws as aI,
6431
+ Ci as aJ,
6432
+ ai as aK,
6433
+ ni as aL,
6434
+ Ks as aM,
6435
+ _i as aN,
6436
+ Pn as aO,
6437
+ On as aP,
6438
+ Cn as aQ,
6439
+ Rn as aR,
6440
+ bn as aS,
6433
6441
  Gs as aT,
6434
- _n as aU,
6435
- si as aV,
6436
- Sn as aW,
6437
- Rn as aX,
6438
- Ms as aY,
6439
- At as aZ,
6440
- Lt as a_,
6441
- Kr as aa,
6442
- mi as ab,
6443
- V as ac,
6444
- vi as ad,
6445
- Gr as ae,
6446
- Lr as af,
6447
- Js as ag,
6448
- ut as ah,
6449
- De as ai,
6450
- gi as aj,
6451
- hi as ak,
6452
- Xs as al,
6453
- bi as am,
6454
- yi as an,
6455
- ge as ao,
6456
- ri as ap,
6457
- Un as aq,
6458
- xi as ar,
6459
- In as as,
6460
- xn as at,
6461
- An as au,
6462
- Hr as av,
6463
- wn as aw,
6464
- Sa as ax,
6465
- gn as ay,
6466
- ae as az,
6442
+ yn as aU,
6443
+ Ls as aV,
6444
+ _n as aW,
6445
+ si as aX,
6446
+ Sn as aY,
6447
+ kn as aZ,
6448
+ Ds as a_,
6449
+ Bn as aa,
6450
+ ti as ab,
6451
+ Hr as ac,
6452
+ mi as ad,
6453
+ V as ae,
6454
+ vi as af,
6455
+ Lr as ag,
6456
+ Mr as ah,
6457
+ Js as ai,
6458
+ ut as aj,
6459
+ Ge as ak,
6460
+ gi as al,
6461
+ hi as am,
6462
+ Ys as an,
6463
+ bi as ao,
6464
+ yi as ap,
6465
+ ge as aq,
6466
+ ri as ar,
6467
+ An as as,
6468
+ xi as at,
6469
+ In as au,
6470
+ xn as av,
6471
+ Un as aw,
6472
+ Kr as ax,
6473
+ En as ay,
6474
+ Sa as az,
6467
6475
  an as b,
6468
- fa as b0,
6469
- ja as b1,
6470
- Na as b2,
6471
- za as b3,
6472
- $a as b4,
6473
- Sr as b5,
6474
- $i as b6,
6475
- Ea as b7,
6476
- Pi as b8,
6477
- ki as b9,
6478
- Ir as ba,
6479
- Fs as bb,
6480
- Ls as bc,
6481
- Ba as bd,
6482
- Oi as be,
6483
- Ii as bf,
6484
- Ti as bg,
6485
- Fa as bh,
6486
- Ft as bi,
6487
- Mt as bj,
6488
- wa as bk,
6489
- qn as bl,
6490
- da as bm,
6491
- Jn as bn,
6492
- Fn as bo,
6493
- Ks as bp,
6494
- pe as bq,
6495
- ha as br,
6496
- Li as bs,
6497
- Ze as bt,
6498
- Vn as bu,
6476
+ Mt as b0,
6477
+ jt as b1,
6478
+ fa as b2,
6479
+ ja as b3,
6480
+ Na as b4,
6481
+ za as b5,
6482
+ $a as b6,
6483
+ Sr as b7,
6484
+ $i as b8,
6485
+ wa as b9,
6486
+ Pi as ba,
6487
+ Ri as bb,
6488
+ Ir as bc,
6489
+ Fs as bd,
6490
+ Ms as be,
6491
+ Ba as bf,
6492
+ Oi as bg,
6493
+ Ii as bh,
6494
+ Ti as bi,
6495
+ Fa as bj,
6496
+ Ft as bk,
6497
+ Dt as bl,
6498
+ Ea as bm,
6499
+ qn as bn,
6500
+ da as bo,
6501
+ Jn as bp,
6502
+ Fn as bq,
6503
+ Hs as br,
6504
+ pe as bs,
6505
+ ha as bt,
6506
+ Li as bu,
6507
+ Ze as bv,
6508
+ Vn as bw,
6499
6509
  ln as c,
6500
6510
  se as d,
6501
6511
  Fr as e,
6502
6512
  qr as f,
6503
- Di as g,
6504
- Gi as h,
6505
- Mi as i,
6513
+ Wi as g,
6514
+ Ji as h,
6515
+ Gi as i,
6506
6516
  Je as j,
6507
- Mr as k,
6517
+ Dr as k,
6508
6518
  j as l,
6509
6519
  aa as m,
6510
- Ui as n,
6520
+ Ai as n,
6511
6521
  Ca as o,
6512
6522
  Ve as p,
6513
- X as q,
6523
+ Y as q,
6514
6524
  me as r,
6515
- Ai as s,
6525
+ Ui as s,
6516
6526
  ia as t,
6517
6527
  zr as u,
6518
6528
  ct as v,