@retailcrm/embed-ui 0.9.5 → 0.9.7
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/.yarnrc.dist.yml +1 -1
- package/.yarnrc.yml +1 -1
- package/CHANGELOG.md +10 -0
- package/dist/index.cjs +1 -4
- package/dist/index.mjs +1 -4
- package/package.json +21 -21
- package/vitest.workspace.ts +0 -7
package/.yarnrc.dist.yml
CHANGED
package/.yarnrc.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## [0.9.7](https://github.com/retailcrm/embed-ui/compare/v0.9.6...v0.9.7) (2026-01-13)
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **v1-components:** Missing host.d.ts ([2082c4d](https://github.com/retailcrm/embed-ui/commit/2082c4da7708e957ff333882b6ebaddf70593a5f))
|
|
9
|
+
## [0.9.6](https://github.com/retailcrm/embed-ui/compare/v0.9.5...v0.9.6) (2026-01-13)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Was added height property and orbstack domain ([03485b0](https://github.com/retailcrm/embed-ui/commit/03485b0172bcbf1ee517b5f9d392831b928ec08f))
|
|
4
14
|
## [0.9.5](https://github.com/retailcrm/embed-ui/compare/v0.9.4...v0.9.5) (2025-12-09)
|
|
5
15
|
|
|
6
16
|
### Features
|
package/dist/index.cjs
CHANGED
|
@@ -28,10 +28,7 @@ const useCustomField = (store, code, options = { readonly: false }) => {
|
|
|
28
28
|
const kind = options.kind ? Array.isArray(options.kind) ? options.kind : [options.kind] : [];
|
|
29
29
|
const suitable = (f) => f.code === code && (kind.includes(f.kind) || kind.length === 0);
|
|
30
30
|
const _onReject = (rejection) => console.error(rejection);
|
|
31
|
-
const get = () =>
|
|
32
|
-
var _a;
|
|
33
|
-
return ((_a = store.schema) == null ? void 0 : _a.fields.find(suitable)) ? store.values[code] ?? null : null;
|
|
34
|
-
};
|
|
31
|
+
const get = () => store.schema?.fields.find(suitable) ? store.values[code] ?? null : null;
|
|
35
32
|
if (options.readonly) {
|
|
36
33
|
return vue.computed(get);
|
|
37
34
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -27,10 +27,7 @@ const useCustomField = (store, code, options = { readonly: false }) => {
|
|
|
27
27
|
const kind = options.kind ? Array.isArray(options.kind) ? options.kind : [options.kind] : [];
|
|
28
28
|
const suitable = (f) => f.code === code && (kind.includes(f.kind) || kind.length === 0);
|
|
29
29
|
const _onReject = (rejection) => console.error(rejection);
|
|
30
|
-
const get = () =>
|
|
31
|
-
var _a;
|
|
32
|
-
return ((_a = store.schema) == null ? void 0 : _a.fields.find(suitable)) ? store.values[code] ?? null : null;
|
|
33
|
-
};
|
|
30
|
+
const get = () => store.schema?.fields.find(suitable) ? store.values[code] ?? null : null;
|
|
34
31
|
if (options.readonly) {
|
|
35
32
|
return computed(get);
|
|
36
33
|
}
|
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.7",
|
|
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>",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"@omnicajs/symfony-router": "^1.0.0",
|
|
41
41
|
"@omnicajs/vue-remote": "^0.2.8",
|
|
42
42
|
"@remote-ui/rpc": "^1.4.5",
|
|
43
|
-
"@retailcrm/embed-ui-v1-contexts": "^0.9.
|
|
44
|
-
"@retailcrm/embed-ui-v1-types": "^0.9.
|
|
43
|
+
"@retailcrm/embed-ui-v1-contexts": "^0.9.7",
|
|
44
|
+
"@retailcrm/embed-ui-v1-types": "^0.9.7"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@eslint/eslintrc": "^3.3.
|
|
47
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
48
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.
|
|
51
|
+
"@retailcrm/embed-ui-v1-testing": "^0.9.7",
|
|
52
52
|
"@types/git-semver-tags": "^7.0.0",
|
|
53
|
-
"@types/node": "^22.
|
|
54
|
-
"@types/semver": "^7.
|
|
55
|
-
"@types/yargs": "^17.0.
|
|
56
|
-
"@vitejs/plugin-vue": "^
|
|
57
|
-
"@vue/language-server": "^
|
|
53
|
+
"@types/node": "^22.19.2",
|
|
54
|
+
"@types/semver": "^7.7.1",
|
|
55
|
+
"@types/yargs": "^17.0.35",
|
|
56
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
57
|
+
"@vue/language-server": "^3.1.8",
|
|
58
58
|
"@vue/test-utils": "^2.4.6",
|
|
59
59
|
"chalk": "^5.3.0",
|
|
60
60
|
"conventional-changelog": "^6.0.0",
|
|
@@ -63,26 +63,26 @@
|
|
|
63
63
|
"eslint": "^9.39.1",
|
|
64
64
|
"eslint-plugin-import": "^2.32.0",
|
|
65
65
|
"eslint-plugin-n": "^17.23.1",
|
|
66
|
-
"eslint-plugin-promise": "^
|
|
67
|
-
"eslint-plugin-vue": "^9.
|
|
66
|
+
"eslint-plugin-promise": "^7.2.1",
|
|
67
|
+
"eslint-plugin-vue": "^9.33.0",
|
|
68
68
|
"figures": "^6.1.0",
|
|
69
69
|
"git-semver-tags": "^7.0.1",
|
|
70
|
-
"glob": "^
|
|
70
|
+
"glob": "^13.0.0",
|
|
71
71
|
"globals": "^16.5.0",
|
|
72
|
-
"jsdom": "^
|
|
72
|
+
"jsdom": "^27.3.0",
|
|
73
73
|
"pinia": "^2.2.8",
|
|
74
|
-
"semver": "^7.
|
|
75
|
-
"tsx": "^4.
|
|
74
|
+
"semver": "^7.7.3",
|
|
75
|
+
"tsx": "^4.21.0",
|
|
76
76
|
"typescript": "^5.9.3",
|
|
77
|
-
"typescript-eslint": "^8.
|
|
78
|
-
"vite": "^
|
|
79
|
-
"vite-plugin-dts": "^4.5.
|
|
80
|
-
"vitest": "^
|
|
77
|
+
"typescript-eslint": "^8.49.0",
|
|
78
|
+
"vite": "^7.2.7",
|
|
79
|
+
"vite-plugin-dts": "^4.5.4",
|
|
80
|
+
"vitest": "^4.0.15",
|
|
81
81
|
"vue": "^3.5.12",
|
|
82
82
|
"yargs": "^17.7.2"
|
|
83
83
|
},
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"packageManager": "yarn@4.
|
|
87
|
+
"packageManager": "yarn@4.12.0"
|
|
88
88
|
}
|