@vc-shell/framework 1.0.66 → 1.0.67

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.
@@ -1,4 +1,8 @@
1
1
  export declare const VcAppSwitcher: import("vue").DefineComponent<{
2
+ base: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
2
6
  appsList: {
3
7
  type: import("vue").PropType<import("../../../../..").AppDescriptor[]>;
4
8
  required: true;
@@ -8,6 +12,10 @@ export declare const VcAppSwitcher: import("vue").DefineComponent<{
8
12
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
13
  onClick: (item: import("../../../../..").AppDescriptor) => void;
10
14
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ base: {
16
+ type: import("vue").PropType<string>;
17
+ required: true;
18
+ };
11
19
  appsList: {
12
20
  type: import("vue").PropType<import("../../../../..").AppDescriptor[]>;
13
21
  required: true;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/app-switcher/components/vc-app-switcher/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/app-switcher/components/vc-app-switcher/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAsC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { AppDescriptor } from "../../../../../core/api";
2
2
  export interface Props {
3
3
  appsList: AppDescriptor[];
4
+ base: string;
4
5
  }
5
6
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
6
7
  appsList: any;
@@ -1 +1 @@
1
- {"version":3,"file":"vc-app-switcher.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,aAAa,EAAE,CAAC;CAC3B;;;;;;;;;;;;AAED,wBAwJc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC"}
1
+ {"version":3,"file":"vc-app-switcher.vue.d.ts","sourceRoot":"","sources":["../../../../../../shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAExD,MAAM,WAAW,KAAK;IACpB,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;;;;;;;;;;;;AAED,wBAwJc;AACd,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG;QACzD,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,GAAG,CAAC,CAAC,CAAC,CAAC;CACR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":";AAOA,wBAiCG"}
1
+ {"version":3,"file":"vite.config.d.ts","sourceRoot":"","sources":["../vite.config.ts"],"names":[],"mappings":";AAOA,wBAkCG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "main": "./dist/framework.mjs",
5
5
  "module": "./dist/framework.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -39,6 +39,7 @@
39
39
  "@vueuse/components": "^9.9.0",
40
40
  "@vueuse/core": "^9.9.0",
41
41
  "@vueuse/integrations": "^9.9.0",
42
+ "buffer-esm": "^1.2.0",
42
43
  "client-oauth2": "^4.3.3",
43
44
  "moment": "^2.29.1",
44
45
  "normalize.css": "^8.0.1",
@@ -54,8 +55,8 @@
54
55
  "vue3-touch-events": "^4.1.0"
55
56
  },
56
57
  "devDependencies": {
57
- "@vc-shell/api-client-generator": "^1.0.66",
58
- "@vc-shell/config-generator": "^1.0.66",
58
+ "@vc-shell/api-client-generator": "^1.0.67",
59
+ "@vc-shell/config-generator": "^1.0.67",
59
60
  "sass": "^1.49.0",
60
61
  "typescript": "^4.9.5",
61
62
  "url-pattern": "^1.0.3"
@@ -64,5 +65,5 @@
64
65
  "access": "public",
65
66
  "registry": "https://registry.npmjs.org/"
66
67
  },
67
- "gitHead": "35597e6d6beac3faf4ab9478064bcdc056159906"
68
+ "gitHead": "261bbe2a604afc56d5dcd806e2097fd30dcab458"
68
69
  }
@@ -46,6 +46,7 @@ import { AppDescriptor } from "../../../../../core/api";
46
46
 
47
47
  export interface Props {
48
48
  appsList: AppDescriptor[];
49
+ base: string;
49
50
  }
50
51
 
51
52
  interface Emits {
@@ -60,7 +61,7 @@ const emit = defineEmits<Emits>();
60
61
 
61
62
  const isVisible = ref(false);
62
63
 
63
- const imageUrl = (url: string) => import.meta.env.APP_PLATFORM_URL.replace(/\/+$/, "") + url;
64
+ const imageUrl = (url: string) => props.base.replace(/\/+$/, "") + url;
64
65
 
65
66
  const locationHandler = (url: string) => {
66
67
  const cleanUrl = window.location.pathname.replace(/\/+$/, "");