@vc-shell/framework 1.0.206 → 1.0.208

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.0.208](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.207...v1.0.208) (2024-04-30)
2
+
3
+
4
+
5
+ ## [1.0.207](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.206...v1.0.207) (2024-04-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * vm-1309 decode uri asset file name ([cf290f6](https://github.com/VirtoCommerce/vc-shell/commit/cf290f624b81f6a4a61ab4a092b2f784e9c350b6))
11
+ * vm-1309 unescape asset file url ([d4fc236](https://github.com/VirtoCommerce/vc-shell/commit/d4fc23689e742b9da6a4bf01d34a16adc6fe91ad))
12
+
13
+
14
+
1
15
  ## [1.0.206](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.205...v1.0.206) (2024-04-30)
2
16
 
3
17
 
@@ -32,6 +32,7 @@ export function useAssets(): IUseAssets {
32
32
  const file = response[0];
33
33
  file.createdDate = new Date();
34
34
  file.sortOrder = startingSortOrder !== undefined && startingSortOrder >= 0 ? startingSortOrder + i + 1 : 0;
35
+ file.url = file.url ? decodeURI(file.url) : "";
35
36
 
36
37
  if ("size" in file) {
37
38
  file.size = files[i].size;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useAssets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrG,MAAM,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,CAAC;IAC3F,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,CAAC;IACxF,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC/B;AAED,wBAAgB,SAAS,IAAI,UAAU,CAiFtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useAssets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,WAAW,EAAE,MAAM,KAAK,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,UAAU;IACzB,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;IACrG,MAAM,EAAE,CAAC,aAAa,EAAE,YAAY,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,CAAC;IAC3F,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,CAAC;IACxF,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC/B;AAED,wBAAgB,SAAS,IAAI,UAAU,CAkFtC"}
package/dist/framework.js CHANGED
@@ -30682,7 +30682,7 @@ function Gae() {
30682
30682
  })).json();
30683
30683
  if (d?.length) {
30684
30684
  const f = d[0];
30685
- f.createdDate = /* @__PURE__ */ new Date(), f.sortOrder = o !== void 0 && o >= 0 ? o + l + 1 : 0, "size" in f && (f.size = i[l].size), a.value.push(f);
30685
+ f.createdDate = /* @__PURE__ */ new Date(), f.sortOrder = o !== void 0 && o >= 0 ? o + l + 1 : 0, f.url = f.url ? decodeURI(f.url) : "", "size" in f && (f.size = i[l].size), a.value.push(f);
30686
30686
  }
30687
30687
  }
30688
30688
  return a.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.206",
3
+ "version": "1.0.208",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -59,9 +59,9 @@
59
59
  "devDependencies": {
60
60
  "@types/dompurify": "^3.0.5",
61
61
  "@types/quill": "^2.0.14",
62
- "@vc-shell/api-client-generator": "^1.0.206",
63
- "@vc-shell/config-generator": "^1.0.206",
64
- "@vc-shell/ts-config": "^1.0.206",
62
+ "@vc-shell/api-client-generator": "^1.0.208",
63
+ "@vc-shell/config-generator": "^1.0.208",
64
+ "@vc-shell/ts-config": "^1.0.208",
65
65
  "@vitejs/plugin-vue": "^5.0.3",
66
66
  "sass": "^1.69.6",
67
67
  "shx": "^0.3.4",