@vc-shell/framework 1.0.235 → 1.0.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/core/composables/useSettings/index.ts +4 -2
- package/dist/core/composables/useSettings/index.d.ts +2 -0
- package/dist/core/composables/useSettings/index.d.ts.map +1 -1
- package/dist/framework.js +276 -279
- package/dist/index.css +1 -1
- 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
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +12 -0
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/modules/assets-manager/components/assets-manager/assets-manager.vue +6 -6
- package/ui/components/molecules/vc-breadcrumbs/_internal/vc-breadcrumbs-item/vc-breadcrumbs-item.vue +1 -1
- package/ui/components/molecules/vc-breadcrumbs/vc-breadcrumbs.vue +4 -1
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +12 -21
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +11 -6
- package/ui/components/organisms/vc-app/vc-app.vue +2 -1
- package/ui/components/organisms/vc-table/vc-table.vue +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
## [1.0.237](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.236...v1.0.237) (2024-06-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* vm-1348 avatar for user ([9caf962](https://github.com/VirtoCommerce/vc-shell/commit/9caf962bd881611744ea1849155475b897049df6))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.236](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.235...v1.0.236) (2024-06-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **shared:** update asset manager table column widths ([83195cb](https://github.com/VirtoCommerce/vc-shell/commit/83195cb6ee271f2adbfcc81fadbe47f8495fa08e))
|
|
16
|
+
* **ui:** do not shrink checkbox in first col ([e8c8071](https://github.com/VirtoCommerce/vc-shell/commit/e8c807170846c3c0c06c7e1a5004adf1fb7851e8))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* **ui:** improve menu item styling and behavior ([6b56988](https://github.com/VirtoCommerce/vc-shell/commit/6b569881ef7b4e91dc32adf71380bb3c15f7be75))
|
|
22
|
+
* **ui:** update vc-breadcrumbs-item title style and truncate long titles ([069ed6d](https://github.com/VirtoCommerce/vc-shell/commit/069ed6d4ca738599b5bf954f07ba6749cd04f8b5))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
1
26
|
## [1.0.235](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.234...v1.0.235) (2024-06-17)
|
|
2
27
|
|
|
3
28
|
|
|
@@ -8,12 +8,13 @@ interface IUISetting {
|
|
|
8
8
|
contrast_logo?: string;
|
|
9
9
|
logo?: string;
|
|
10
10
|
title?: string;
|
|
11
|
+
avatar?: string;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
interface IUseSettings {
|
|
14
15
|
readonly uiSettings: Ref<IUISetting>;
|
|
15
16
|
readonly loading: ComputedRef<boolean>;
|
|
16
|
-
applySettings: (args: { logo?: string; title?: string }) => void;
|
|
17
|
+
applySettings: (args: { logo?: string; title?: string; avatar?: string }) => void;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
export function useSettings(): IUseSettings {
|
|
@@ -35,11 +36,12 @@ export function useSettings(): IUseSettings {
|
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
|
|
38
|
-
function applySettings(args: { logo?: string; title?: string }) {
|
|
39
|
+
function applySettings(args: { logo?: string; title?: string; avatar?: string }) {
|
|
39
40
|
uiSettings.value = {
|
|
40
41
|
...uiSettings.value,
|
|
41
42
|
logo: args.logo,
|
|
42
43
|
title: args.title,
|
|
44
|
+
avatar: args.avatar,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
|
|
@@ -3,6 +3,7 @@ interface IUISetting {
|
|
|
3
3
|
contrast_logo?: string;
|
|
4
4
|
logo?: string;
|
|
5
5
|
title?: string;
|
|
6
|
+
avatar?: string;
|
|
6
7
|
}
|
|
7
8
|
interface IUseSettings {
|
|
8
9
|
readonly uiSettings: Ref<IUISetting>;
|
|
@@ -10,6 +11,7 @@ interface IUseSettings {
|
|
|
10
11
|
applySettings: (args: {
|
|
11
12
|
logo?: string;
|
|
12
13
|
title?: string;
|
|
14
|
+
avatar?: string;
|
|
13
15
|
}) => void;
|
|
14
16
|
}
|
|
15
17
|
export declare function useSettings(): IUseSettings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,GAAG,EAAO,WAAW,EAAa,MAAM,KAAK,CAAC;AAIzE,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,GAAG,EAAO,WAAW,EAAa,MAAM,KAAK,CAAC;AAIzE,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,YAAY;IACpB,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACvC,aAAa,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACnF;AAED,wBAAgB,WAAW,IAAI,YAAY,CAuC1C"}
|