@retailcrm/embed-ui 0.9.1-alpha.2 → 0.9.1
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 +10 -0
- package/dist/index.cjs +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +13 -13
- package/types/host/callable.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.9.1](https://github.com/retailcrm/embed-ui/compare/v0.9.1-alpha.2...v0.9.1) (2025-11-24)
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Added goTo method to host callables for navigation inside CRM ([25d72dc](https://github.com/retailcrm/embed-ui/commit/25d72dc84fb4476abe1f9275763fd8a7d6a9a7cd))
|
|
9
|
+
* UiTextbox component - basic text input ([28eda2a](https://github.com/retailcrm/embed-ui/commit/28eda2a659eefdd7a1dbaad8d1c5a40b8e613345))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Fixed en-GB locale for UiTag ([debe5a5](https://github.com/retailcrm/embed-ui/commit/debe5a5e72579d399f42bbe23a58ddf0f3f501c0))
|
|
4
14
|
## [0.9.1-alpha.2](https://github.com/retailcrm/embed-ui/compare/v0.9.1-alpha.1...v0.9.1-alpha.2) (2025-11-12)
|
|
5
15
|
|
|
6
16
|
### Features
|
package/dist/index.cjs
CHANGED
|
@@ -43,9 +43,12 @@ const useCustomField = (store, code, options = { readonly: false }) => {
|
|
|
43
43
|
const useInternal = pinia.defineStore("@retailcrm/embed-ui/_internal", {});
|
|
44
44
|
const useHost = () => {
|
|
45
45
|
const store = useInternal();
|
|
46
|
+
const endpoint = store.endpoint;
|
|
46
47
|
return {
|
|
48
|
+
goTo(route, params = void 0) {
|
|
49
|
+
return params ? endpoint.call.goTo(route, params) : endpoint.call.goTo(route);
|
|
50
|
+
},
|
|
47
51
|
httpCall(action, payload = void 0) {
|
|
48
|
-
const endpoint = store.endpoint;
|
|
49
52
|
return payload ? endpoint.call.httpCall(action, payload) : endpoint.call.httpCall(action);
|
|
50
53
|
}
|
|
51
54
|
};
|
|
@@ -91,6 +94,7 @@ const createRoot = async (channel) => {
|
|
|
91
94
|
"UiRadio",
|
|
92
95
|
"UiScrollBox",
|
|
93
96
|
"UiTag",
|
|
97
|
+
"UiTextbox",
|
|
94
98
|
"UiToolbarButton",
|
|
95
99
|
"UiToolbarLink",
|
|
96
100
|
"UiTooltip",
|
package/dist/index.mjs
CHANGED
|
@@ -42,9 +42,12 @@ const useCustomField = (store, code, options = { readonly: false }) => {
|
|
|
42
42
|
const useInternal = defineStore("@retailcrm/embed-ui/_internal", {});
|
|
43
43
|
const useHost = () => {
|
|
44
44
|
const store = useInternal();
|
|
45
|
+
const endpoint = store.endpoint;
|
|
45
46
|
return {
|
|
47
|
+
goTo(route, params = void 0) {
|
|
48
|
+
return params ? endpoint.call.goTo(route, params) : endpoint.call.goTo(route);
|
|
49
|
+
},
|
|
46
50
|
httpCall(action, payload = void 0) {
|
|
47
|
-
const endpoint = store.endpoint;
|
|
48
51
|
return payload ? endpoint.call.httpCall(action, payload) : endpoint.call.httpCall(action);
|
|
49
52
|
}
|
|
50
53
|
};
|
|
@@ -90,6 +93,7 @@ const createRoot = async (channel) => {
|
|
|
90
93
|
"UiRadio",
|
|
91
94
|
"UiScrollBox",
|
|
92
95
|
"UiTag",
|
|
96
|
+
"UiTextbox",
|
|
93
97
|
"UiToolbarButton",
|
|
94
98
|
"UiToolbarLink",
|
|
95
99
|
"UiTooltip",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retailcrm/embed-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.1
|
|
4
|
+
"version": "0.9.1",
|
|
5
5
|
"description": "API and components for creating RetailCRM UI extensions",
|
|
6
6
|
"repository": "git@github.com:retailcrm/embed-ui.git",
|
|
7
7
|
"author": "RetailDriverLLC <integration@retailcrm.ru>",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"@floating-ui/core": "^1.6.9",
|
|
39
39
|
"@floating-ui/dom": "^1.6.13",
|
|
40
40
|
"@omnicajs/symfony-router": "^1.0.0",
|
|
41
|
-
"@omnicajs/vue-remote": "^0.2.
|
|
41
|
+
"@omnicajs/vue-remote": "^0.2.8",
|
|
42
42
|
"@remote-ui/rpc": "^1.4.5",
|
|
43
|
-
"@retailcrm/embed-ui-v1-contexts": "^0.9.1
|
|
44
|
-
"@retailcrm/embed-ui-v1-types": "^0.9.1
|
|
43
|
+
"@retailcrm/embed-ui-v1-contexts": "^0.9.1",
|
|
44
|
+
"@retailcrm/embed-ui-v1-types": "^0.9.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@eslint/eslintrc": "^3.
|
|
48
|
-
"@eslint/js": "^9.
|
|
47
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
48
|
+
"@eslint/js": "^9.39.1",
|
|
49
49
|
"@modulify/git-toolkit": "^0.0.2",
|
|
50
50
|
"@modulify/pkg": "^1.0.1",
|
|
51
|
-
"@retailcrm/embed-ui-v1-testing": "^0.9.1
|
|
51
|
+
"@retailcrm/embed-ui-v1-testing": "^0.9.1",
|
|
52
52
|
"@types/git-semver-tags": "^7.0.0",
|
|
53
53
|
"@types/node": "^22.7.9",
|
|
54
54
|
"@types/semver": "^7.5.8",
|
|
@@ -60,20 +60,20 @@
|
|
|
60
60
|
"conventional-changelog": "^6.0.0",
|
|
61
61
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
62
62
|
"conventional-recommended-bump": "^10.0.0",
|
|
63
|
-
"eslint": "^9.
|
|
64
|
-
"eslint-plugin-import": "^2.
|
|
65
|
-
"eslint-plugin-n": "^17.
|
|
63
|
+
"eslint": "^9.39.1",
|
|
64
|
+
"eslint-plugin-import": "^2.32.0",
|
|
65
|
+
"eslint-plugin-n": "^17.23.1",
|
|
66
66
|
"eslint-plugin-promise": "^6.6.0",
|
|
67
67
|
"eslint-plugin-vue": "^9.32.0",
|
|
68
68
|
"figures": "^6.1.0",
|
|
69
69
|
"git-semver-tags": "^7.0.1",
|
|
70
|
-
"glob": "^11.0
|
|
71
|
-
"globals": "^
|
|
70
|
+
"glob": "^11.1.0",
|
|
71
|
+
"globals": "^16.5.0",
|
|
72
72
|
"jsdom": "^25.0.1",
|
|
73
73
|
"pinia": "^2.2.8",
|
|
74
74
|
"semver": "^7.6.3",
|
|
75
75
|
"tsx": "^4.19.2",
|
|
76
|
-
"typescript": "^5.
|
|
76
|
+
"typescript": "^5.9.3",
|
|
77
77
|
"typescript-eslint": "^8.22.0",
|
|
78
78
|
"vite": "^5.4.11",
|
|
79
79
|
"vite-plugin-dts": "^4.5.0",
|