@vc-shell/framework 2.0.0-alpha.23 → 2.0.0-alpha.24

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 (82) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/ai-agent/index.js +2 -2
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BP2AONee.js +6523 -0
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-BBV3uTdi.js → VcTableAdapter.vue_vue_type_style_index_0_lang-Dcmfbvu-.js} +7395 -7426
  5. package/dist/chunks/{index-BNE1zizw.js → index-CqUIFifF.js} +2 -2
  6. package/dist/chunks/{index-BfOiCZwO.js → index-Dv4ed_py.js} +2 -2
  7. package/dist/chunks/{vc-toast.vue_vue_type_style_index_0_lang-DHCQ1-ud.js → vc-toast.vue_vue_type_style_index_0_lang-NNvJU00Y.js} +1 -1
  8. package/dist/chunks/{vendor-lodash-es-QnNVqiqU.js → vendor-lodash-es-BwHYzZ39.js} +3 -3
  9. package/dist/core/api/platform.d.ts +300 -954
  10. package/dist/core/api/platform.d.ts.map +1 -1
  11. package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts +4 -3
  12. package/dist/core/blade-navigation/utils/bladeRouterGuard.d.ts.map +1 -1
  13. package/dist/core/composables/index.d.ts +1 -0
  14. package/dist/core/composables/index.d.ts.map +1 -1
  15. package/dist/core/composables/useAssets/index.d.ts.map +1 -1
  16. package/dist/core/composables/useAssetsManager/index.d.ts +24 -0
  17. package/dist/core/composables/useAssetsManager/index.d.ts.map +1 -0
  18. package/dist/core/composables/usePermissions/index.d.ts.map +1 -1
  19. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
  20. package/dist/core/services/app-bar-menu-service.d.ts.map +1 -1
  21. package/dist/core/services/settings-menu-service.d.ts.map +1 -1
  22. package/dist/core/types/index.d.ts +8 -16
  23. package/dist/core/types/index.d.ts.map +1 -1
  24. package/dist/framework.js +2411 -2319
  25. package/dist/index.css +2 -2
  26. package/dist/index.d.ts +7 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/locales/de.d.ts +3 -0
  29. package/dist/locales/{de.json → de.js} +2 -1
  30. package/dist/locales/en.d.ts +3 -0
  31. package/dist/locales/en.js +432 -0
  32. package/dist/locales/types.d.ts +439 -0
  33. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts +1 -29
  34. package/dist/modules/assets/components/assets-details/assets-details.vue.d.ts.map +1 -1
  35. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +1 -37
  36. package/dist/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts.map +1 -1
  37. package/dist/scripts/check-locales.cjs +3182 -0
  38. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  39. package/dist/shell/components/index.d.ts +0 -1
  40. package/dist/shell/components/index.d.ts.map +1 -1
  41. package/dist/shell/components/logout-button/logout-button.vue.d.ts.map +1 -1
  42. package/dist/shell/components/notification-template/notification-template.vue.d.ts +2 -2
  43. package/dist/shell/components/notification-template/notification-template.vue.d.ts.map +1 -1
  44. package/dist/shell/pages/ChangePasswordPage/components/change-password/ChangePassword.vue.d.ts.map +1 -1
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts +4 -0
  47. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts +4 -0
  49. package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts +1 -0
  51. package/dist/ui/components/organisms/vc-app/_internal/menu/VcAppMenu.vue.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts +4 -0
  53. package/dist/ui/components/organisms/vc-app/_internal/sidebar/SidebarContent.vue.d.ts.map +1 -1
  54. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +3 -0
  55. package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
  56. package/dist/ui/components/organisms/vc-blade/_internal/BladeToolbar.vue.d.ts.map +1 -1
  57. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  58. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +9 -9
  59. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts.map +1 -1
  60. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +3 -3
  61. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  62. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts +2 -2
  63. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryPreview.d.ts.map +1 -1
  64. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts +4 -4
  65. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryReorder.d.ts.map +1 -1
  66. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts +2 -2
  67. package/dist/ui/components/organisms/vc-gallery/composables/useGalleryUpload.d.ts.map +1 -1
  68. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +17 -36
  69. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  70. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts +6 -5
  71. package/dist/ui/components/organisms/vc-image-upload/vc-image-upload.vue.d.ts.map +1 -1
  72. package/dist/ui/index.js +3 -3
  73. package/package.json +18 -6
  74. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js +0 -8741
  75. package/dist/shell/components/app-switcher/components/index.d.ts +0 -2
  76. package/dist/shell/components/app-switcher/components/index.d.ts.map +0 -1
  77. package/dist/shell/components/app-switcher/components/vc-app-switcher/index.d.ts +0 -2
  78. package/dist/shell/components/app-switcher/components/vc-app-switcher/index.d.ts.map +0 -1
  79. package/dist/shell/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts +0 -14
  80. package/dist/shell/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +0 -1
  81. package/dist/shell/components/app-switcher/index.d.ts +0 -3
  82. package/dist/shell/components/app-switcher/index.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,42 @@
1
+ # [2.0.0-alpha.24](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) (2026-03-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **assets-manager:** guard defaultAssets.value in upload deduplication ([21b6aa2](https://github.com/VirtoCommerce/vc-shell/commit/21b6aa258b372569d77dd1b528d2a8da12992991))
7
+ * **auth:** validate redirect path after login to prevent open redirect ([5bd710f](https://github.com/VirtoCommerce/vc-shell/commit/5bd710f140afca096834e6b9f4ef7a37301cac2d))
8
+ * **services:** wrap registered components with markRaw to avoid reactivity overhead ([f47fc44](https://github.com/VirtoCommerce/vc-shell/commit/f47fc448f575e2df0c6a234da0cd87068ff24d3c))
9
+ * **ui:** reduce dropdown item font size and normalize BladeToolbar line endings ([48b880d](https://github.com/VirtoCommerce/vc-shell/commit/48b880d04ede646194f2ba3df9941d0de5735efe))
10
+ * **useAssetsManager:** consistent array replacement in updateItem, normalize uploadPath ([6fdeb11](https://github.com/VirtoCommerce/vc-shell/commit/6fdeb115f68159c70570b38a056a6b0876ab55a3))
11
+ * **useAssetsManager:** guard against undefined assetsRef.value ([53ef130](https://github.com/VirtoCommerce/vc-shell/commit/53ef1304e6aa6f36214056ccc7dc24ab7730845f))
12
+ * **usePermissions:** read permissions reactively instead of caching in module-level ref ([b87af19](https://github.com/VirtoCommerce/vc-shell/commit/b87af194ff86c634a98a4bac584d38d65b5b48cf))
13
+ * **validation:** update error type references from IIdentityError to IdentityError ([c6ab523](https://github.com/VirtoCommerce/vc-shell/commit/c6ab523fe28597ff52b91f3bbbcf53d4bf393a6e))
14
+
15
+
16
+ ### Documentation
17
+
18
+ * **assets-manager:** document blade options breaking change and enhance codemod ([69cc786](https://github.com/VirtoCommerce/vc-shell/commit/69cc7865a5678a093d972e6e39f955d722fcc133))
19
+
20
+
21
+ ### Features
22
+
23
+ * export useAssetsManager from core composables barrel ([c8bafb8](https://github.com/VirtoCommerce/vc-shell/commit/c8bafb890b0e324b30cd6d810f1b5de6d54dd80c))
24
+ * **framework:** export pre-registration functions for external modules ([7a4c854](https://github.com/VirtoCommerce/vc-shell/commit/7a4c8540dcdf807d5309c04701460c4bf7e5df38))
25
+ * **i18n:** add typed locale exports for framework translations ([d1e1b29](https://github.com/VirtoCommerce/vc-shell/commit/d1e1b29575b2ba5e6e935e6b2e653ae73fdb258d))
26
+ * **useAssetsManager:** accept nullable source ref ([05d5da7](https://github.com/VirtoCommerce/vc-shell/commit/05d5da71c4934b8ddb8cd63293f0a7f855dc86e7))
27
+ * **useAssetsManager:** implement remove and removeMany with confirmation ([9f9589c](https://github.com/VirtoCommerce/vc-shell/commit/9f9589c74b074a8473c9dc535b8704ab07c3b2fc))
28
+ * **useAssetsManager:** implement reorder and updateItem ([4946433](https://github.com/VirtoCommerce/vc-shell/commit/4946433097ee63702c27fb65010d2e7bc286768e))
29
+ * **useAssetsManager:** implement upload with batch concurrency ([cd34520](https://github.com/VirtoCommerce/vc-shell/commit/cd3452092099a6721125e30d81cdc735af0e9c87))
30
+ * **useAssetsManager:** skeleton with AssetLike type, items, loading ([3cd9f2b](https://github.com/VirtoCommerce/vc-shell/commit/3cd9f2bca101278d546f23bb2309d845226c9fe9))
31
+ * **vc-app-skill:** enrich knowledge base with When to Use sections, patterns, and sync-docs script ([c82ed63](https://github.com/VirtoCommerce/vc-shell/commit/c82ed639d748bdc8fd2d9c39435ee37baedd0563))
32
+ * **vc-app:** add sidebar search bar for menu filtering ([72f17fc](https://github.com/VirtoCommerce/vc-shell/commit/72f17fc5b0e77e4e87457c5a29262345da50317d)), closes [#menu](https://github.com/VirtoCommerce/vc-shell/issues/menu) [#menu](https://github.com/VirtoCommerce/vc-shell/issues/menu)
33
+
34
+
35
+ ### BREAKING CHANGES
36
+
37
+ * **assets-manager:** notice
38
+ - use-assets-migration codemod: detect openBlade("AssetsManager") with
39
+ old handler options and missing markRaw()
1
40
  # [2.0.0-alpha.23](https://github.com/VirtoCommerce/vc-shell/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2026-03-23)
2
41
 
3
42
  **Note:** Version bump only for package @vc-shell/framework
@@ -1,5 +1,5 @@
1
- import { a, u as t } from "../chunks/index-BNE1zizw.js";
2
- import { A as s, D as o, g, h as i, i as _ } from "../chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D8HSEumV.js";
1
+ import { a, u as t } from "../chunks/index-CqUIFifF.js";
2
+ import { A as s, D as o, g, h as i, i as _ } from "../chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BP2AONee.js";
3
3
  export {
4
4
  s as AI_AGENT_URL_ENV_KEY,
5
5
  o as DEFAULT_AI_AGENT_CONFIG,