@retailcrm/embed-ui 0.9.27 → 0.9.28
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 +6 -0
- package/dist/index.cjs +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.9.28](https://github.com/retailcrm/embed-ui/compare/v0.9.27...v0.9.28) (2026-06-05)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Before route leave host hook forwarded ([106f4ce](https://github.com/retailcrm/embed-ui/commit/106f4ce4f2089142929e2055dbb317722b6ba317))
|
|
9
|
+
* **v1-types:** Before route leave host hook added ([438913c](https://github.com/retailcrm/embed-ui/commit/438913ce4fd1b3324c65efb493d8761ac09000ad))
|
|
4
10
|
## [0.9.27](https://github.com/retailcrm/embed-ui/compare/v0.9.26...v0.9.27) (2026-06-04)
|
|
5
11
|
|
|
6
12
|
### Bug Fixes
|
package/dist/index.cjs
CHANGED
|
@@ -57,6 +57,9 @@ const useHost = () => {
|
|
|
57
57
|
},
|
|
58
58
|
pushQuery(query, options = void 0) {
|
|
59
59
|
return options ? endpoint.call.pushQuery(query, options) : endpoint.call.pushQuery(query);
|
|
60
|
+
},
|
|
61
|
+
onBeforeRouteLeave(hook) {
|
|
62
|
+
return endpoint.call.onBeforeRouteLeave(hook);
|
|
60
63
|
}
|
|
61
64
|
};
|
|
62
65
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -56,6 +56,9 @@ const useHost = () => {
|
|
|
56
56
|
},
|
|
57
57
|
pushQuery(query, options = void 0) {
|
|
58
58
|
return options ? endpoint.call.pushQuery(query, options) : endpoint.call.pushQuery(query);
|
|
59
|
+
},
|
|
60
|
+
onBeforeRouteLeave(hook) {
|
|
61
|
+
return endpoint.call.onBeforeRouteLeave(hook);
|
|
59
62
|
}
|
|
60
63
|
};
|
|
61
64
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.28",
|
|
5
5
|
"description": "API and components for creating RetailCRM UI extensions",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"@omnicajs/symfony-router": "^1.0.0",
|
|
58
58
|
"@omnicajs/vue-remote": "^0.2.24",
|
|
59
59
|
"@remote-ui/rpc": "^1.4.5",
|
|
60
|
-
"@retailcrm/embed-ui-v1-components": "^0.9.
|
|
61
|
-
"@retailcrm/embed-ui-v1-contexts": "^0.9.
|
|
62
|
-
"@retailcrm/embed-ui-v1-endpoint": "^0.9.
|
|
63
|
-
"@retailcrm/embed-ui-v1-types": "^0.9.
|
|
60
|
+
"@retailcrm/embed-ui-v1-components": "^0.9.28",
|
|
61
|
+
"@retailcrm/embed-ui-v1-contexts": "^0.9.28",
|
|
62
|
+
"@retailcrm/embed-ui-v1-endpoint": "^0.9.28",
|
|
63
|
+
"@retailcrm/embed-ui-v1-types": "^0.9.28",
|
|
64
64
|
"yargs": "^17.7.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@modulify/git-toolkit": "^0.0.2",
|
|
70
70
|
"@modulify/pkg": "^1.0.1",
|
|
71
71
|
"@omnicajs/eslint-plugin-dependencies": "^0.0.2",
|
|
72
|
-
"@retailcrm/embed-ui-v1-testing": "^0.9.
|
|
72
|
+
"@retailcrm/embed-ui-v1-testing": "^0.9.28",
|
|
73
73
|
"@types/git-semver-tags": "^7.0.0",
|
|
74
74
|
"@types/node": "^22.19.2",
|
|
75
75
|
"@types/semver": "^7.7.1",
|