@vc-shell/framework 1.0.142 → 1.0.144

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 (42) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/core/composables/useSettings/index.ts +5 -3
  3. package/dist/core/composables/useSettings/index.d.ts.map +1 -1
  4. package/dist/framework.js +9170 -9405
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  7. package/dist/shared/index.d.ts.map +1 -1
  8. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
  9. package/dist/shared/pages/InvitePage/plugin.d.ts.map +1 -1
  10. package/dist/shared/pages/LoginPage/plugin.d.ts.map +1 -1
  11. package/dist/shared/pages/ResetPasswordPage/plugin.d.ts.map +1 -1
  12. package/dist/tsconfig.tsbuildinfo +1 -1
  13. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +2 -2
  14. package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
  15. package/package.json +4 -4
  16. package/shared/components/user-dropdown-button/user-dropdown-button.vue +5 -3
  17. package/shared/index.ts +0 -9
  18. package/shared/modules/dynamic/pages/dynamic-blade-list.vue +4 -1
  19. package/shared/pages/InvitePage/plugin.ts +1 -2
  20. package/shared/pages/LoginPage/plugin.ts +1 -2
  21. package/shared/pages/ResetPasswordPage/plugin.ts +1 -2
  22. package/ui/components/organisms/vc-table/vc-table.vue +7 -13
  23. package/dist/shared/locales/index.d.ts +0 -3
  24. package/dist/shared/locales/index.d.ts.map +0 -1
  25. package/dist/shared/pages/InvitePage/locales/index.d.ts +0 -3
  26. package/dist/shared/pages/InvitePage/locales/index.d.ts.map +0 -1
  27. package/dist/shared/pages/LoginPage/locales/index.d.ts +0 -3
  28. package/dist/shared/pages/LoginPage/locales/index.d.ts.map +0 -1
  29. package/dist/shared/pages/ResetPasswordPage/locales/index.d.ts +0 -3
  30. package/dist/shared/pages/ResetPasswordPage/locales/index.d.ts.map +0 -1
  31. package/dist/ui/locales/index.d.ts +0 -3
  32. package/dist/ui/locales/index.d.ts.map +0 -1
  33. package/shared/locales/en.json +0 -42
  34. package/shared/locales/index.ts +0 -2
  35. package/shared/pages/InvitePage/locales/en.json +0 -31
  36. package/shared/pages/InvitePage/locales/index.ts +0 -2
  37. package/shared/pages/LoginPage/locales/en.json +0 -36
  38. package/shared/pages/LoginPage/locales/index.ts +0 -2
  39. package/shared/pages/ResetPasswordPage/locales/en.json +0 -28
  40. package/shared/pages/ResetPasswordPage/locales/index.ts +0 -2
  41. package/ui/locales/en.json +0 -59
  42. package/ui/locales/index.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [1.0.144](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.143...v1.0.144) (2024-01-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **shell:** removed common pages locales ([e8d54e5](https://github.com/VirtoCommerce/vc-shell/commit/e8d54e5bea8746a678e17b6a79ebbdc59da6e3c3))
7
+
8
+
9
+
10
+ ## [1.0.143](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.142...v1.0.143) (2024-01-10)
11
+
12
+
13
+ ### Features
14
+
15
+ * **dynamic:** table columns localized titles support ([dfccb58](https://github.com/VirtoCommerce/vc-shell/commit/dfccb58492ad126402858974d84a50f3dbf09152))
16
+ * locales moved to app scope ([ee08999](https://github.com/VirtoCommerce/vc-shell/commit/ee089996fd204ada7b8320218680d47f3418dc68))
17
+
18
+
19
+
1
20
  ## [1.0.142](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.141...v1.0.142) (2024-01-10)
2
21
 
3
22
 
@@ -1,6 +1,6 @@
1
1
  import { useAsync } from "./../useAsync";
2
2
  import { useApiClient } from "./../useApiClient";
3
- import { computed, inject, onBeforeMount, Ref, ref, ComputedRef } from "vue";
3
+ import { computed, inject, Ref, ref, ComputedRef, onMounted } from "vue";
4
4
  import { SettingClient } from "./../../api/platform";
5
5
  import { useLoading } from "../useLoading";
6
6
 
@@ -43,8 +43,10 @@ export function useSettings(): IUseSettings {
43
43
  };
44
44
  }
45
45
 
46
- onBeforeMount(async () => {
47
- await getUiCustomizationSettings();
46
+ onMounted(async () => {
47
+ if (!uiSettings.value) {
48
+ await getUiCustomizationSettings();
49
+ }
48
50
  });
49
51
 
50
52
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useSettings/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmC,GAAG,EAAO,WAAW,EAAE,MAAM,KAAK,CAAC;AAI7E,UAAU,UAAU;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;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,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAGD,wBAAgB,WAAW,IAAI,YAAY,CAmC1C"}
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;CAChB;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,CAAA;KAAE,KAAK,IAAI,CAAC;CAClE;AAGD,wBAAgB,WAAW,IAAI,YAAY,CAqC1C"}