@vc-shell/framework 1.0.244 → 1.0.245

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 (36) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/core/plugins/signalR/index.ts +8 -5
  3. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  4. package/dist/framework.js +17067 -16247
  5. package/dist/index.css +1 -1
  6. package/dist/shared/modules/dynamic/factories/types/index.d.ts +2 -0
  7. package/dist/shared/modules/dynamic/factories/types/index.d.ts.map +1 -1
  8. package/dist/shared/modules/dynamic/helpers/nodeBuilder.d.ts.map +1 -1
  9. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -0
  10. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
  11. package/dist/tsconfig.tsbuildinfo +1 -1
  12. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +397 -3
  13. package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +1 -1
  14. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts +1 -0
  15. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
  16. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -0
  17. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  18. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
  19. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -0
  20. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  21. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  22. package/package.json +5 -4
  23. package/shared/modules/dynamic/factories/types/index.ts +2 -0
  24. package/shared/modules/dynamic/helpers/nodeBuilder.ts +1 -0
  25. package/shared/modules/dynamic/pages/dynamic-blade-form.vue +7 -1
  26. package/ui/components/molecules/vc-editor/vc-editor.stories.ts +1 -0
  27. package/ui/components/molecules/vc-editor/vc-editor.vue +4 -0
  28. package/ui/components/molecules/vc-select/vc-select.vue +3 -0
  29. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +18 -14
  30. package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue +3 -0
  31. package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +22 -10
  32. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +3 -0
  33. package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +1 -0
  34. package/ui/components/organisms/vc-table/vc-table.vue +10 -4
  35. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +0 -42
  36. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.0.245](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.244...v1.0.245) (2024-06-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **ui:** fix vc-table cell hover behavior and cell opacity ([8548032](https://github.com/VirtoCommerce/vc-shell/commit/85480323eadc982344684be5c57e1f900659eb80))
7
+
8
+
9
+
1
10
  ## [1.0.244](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.243...v1.0.244) (2024-06-24)
2
11
 
3
12
 
@@ -3,6 +3,7 @@ import { HubConnectionBuilder, LogLevel } from "@microsoft/signalr";
3
3
  import { PushNotification } from "../../api/platform";
4
4
  import { useNotifications } from "./../../composables/useNotifications";
5
5
  import { useUser } from "../../composables/useUser";
6
+ import { useCypressSignalRMock } from "cypress-signalr-mock";
6
7
 
7
8
  const { addNotification } = useNotifications();
8
9
 
@@ -15,11 +16,13 @@ export const signalR = {
15
16
  ) {
16
17
  const { isAuthenticated } = useUser();
17
18
  let reconnect = false;
18
- const connection = new HubConnectionBuilder()
19
- .withUrl("/pushNotificationHub")
20
- .withAutomaticReconnect()
21
- .configureLogging(LogLevel.Information)
22
- .build();
19
+ const connection =
20
+ useCypressSignalRMock("pushNotificationHub", { enableForVitest: true }) ??
21
+ new HubConnectionBuilder()
22
+ .withUrl("/pushNotificationHub")
23
+ .withAutomaticReconnect()
24
+ .configureLogging(LogLevel.Information)
25
+ .build();
23
26
 
24
27
  const start = () => {
25
28
  connection
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/signalR/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAS,MAAM,KAAK,CAAC;AAQjC,eAAO,MAAM,OAAO;iBAEX,GAAG,YACE;QACR,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CAwDJ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/signalR/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAS,MAAM,KAAK,CAAC;AASjC,eAAO,MAAM,OAAO;iBAEX,GAAG,YACE;QACR,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CA0DJ,CAAC"}