@vc-shell/framework 1.0.97 → 1.0.98

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,12 @@
1
+ ## [1.0.98](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.97...v1.0.98) (2023-09-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * decode image url ([8ce7dbf](https://github.com/VirtoCommerce/vc-shell/commit/8ce7dbfeb9c8c675fe971a134736743357cdc9b7))
7
+
8
+
9
+
1
10
  ## [1.0.97](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.96...v1.0.97) (2023-09-12)
2
11
 
3
12
 
@@ -379,7 +379,7 @@ const bo = Rb, Mb = { class: "tw-mb-[11px] last-of-type:tw-mb-0" }, Nb = {
379
379
  setup(n, { emit: e }) {
380
380
  const t = n, r = we(() => {
381
381
  if (t.src)
382
- return `background: url(${encodeURI(t.src)}) center / ${t.background} no-repeat`;
382
+ return `background: url(${decodeURIComponent(t.src)}) center / ${t.background} no-repeat`;
383
383
  });
384
384
  function i() {
385
385
  t.clickable && e("click");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.0.97",
3
+ "version": "1.0.98",
4
4
  "main": "./dist/framework.mjs",
5
5
  "module": "./dist/framework.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -55,8 +55,8 @@
55
55
  "whatwg-fetch": "^3.6.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@vc-shell/api-client-generator": "^1.0.97",
59
- "@vc-shell/config-generator": "^1.0.97",
58
+ "@vc-shell/api-client-generator": "^1.0.98",
59
+ "@vc-shell/config-generator": "^1.0.98",
60
60
  "@vitejs/plugin-vue": "^4.2.3",
61
61
  "sass": "^1.62.1",
62
62
  "typescript": "~5.0.4",
@@ -57,7 +57,7 @@ const emit = defineEmits<Emits>();
57
57
 
58
58
  const imageHandler = computed(() => {
59
59
  if (props.src) {
60
- return `background: url(${encodeURI(props.src)}) center / ${props.background} no-repeat`;
60
+ return `background: url(${decodeURIComponent(props.src)}) center / ${props.background} no-repeat`;
61
61
  }
62
62
  return undefined;
63
63
  });