@retailcrm/embed-ui 0.9.10 → 0.9.11-alpha.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/index.d.ts CHANGED
@@ -1,13 +1,6 @@
1
- import type {
2
- ComputedRef,
3
- WritableComputedRef,
4
- } from 'vue'
1
+ import type { ComputedRef, WritableComputedRef } from 'vue'
5
2
 
6
- import type {
7
- Endpoint,
8
- MessageEndpoint,
9
- RemoteCallable,
10
- } from '@remote-ui/rpc'
3
+ import type { Endpoint, MessageEndpoint, RemoteCallable } from '@remote-ui/rpc'
11
4
 
12
5
  import type {
13
6
  ContextAccessor,
@@ -26,12 +19,24 @@ import type {
26
19
 
27
20
  import type { Router } from '@omnicajs/symfony-router'
28
21
 
29
- import type { Schema as CustomerCardSchema } from '@retailcrm/embed-ui-v1-contexts/types/customer/card'
30
- import type { Schema as CustomerCardPhoneSchema } from '@retailcrm/embed-ui-v1-contexts/types/customer/card-phone'
31
- import type { Schema as OrderCardSchema } from '@retailcrm/embed-ui-v1-contexts/types/order/card'
32
- import type { Schema as OrderCardSettingsSchema } from '@retailcrm/embed-ui-v1-contexts/types/order/card-settings'
33
- import type { Schema as CurrentUserSchema } from '@retailcrm/embed-ui-v1-contexts/types/user/current'
34
- import type { Schema as SettingsSchema } from '@retailcrm/embed-ui-v1-contexts/types/settings'
22
+ import type {
23
+ Schema as CurrentUserSchema,
24
+ } from '@retailcrm/embed-ui-v1-contexts/types/user/current'
25
+ import type {
26
+ Schema as CustomerCardPhoneSchema,
27
+ } from '@retailcrm/embed-ui-v1-contexts/types/customer/card-phone'
28
+ import type {
29
+ Schema as CustomerCardSchema,
30
+ } from '@retailcrm/embed-ui-v1-contexts/types/customer/card'
31
+ import type {
32
+ Schema as OrderCardSchema,
33
+ } from '@retailcrm/embed-ui-v1-contexts/types/order/card'
34
+ import type {
35
+ Schema as OrderCardSettingsSchema,
36
+ } from '@retailcrm/embed-ui-v1-contexts/types/order/card-settings'
37
+ import type {
38
+ Schema as SettingsSchema,
39
+ } from '@retailcrm/embed-ui-v1-contexts/types/settings'
35
40
 
36
41
  import type { SchemaList } from '@retailcrm/embed-ui-v1-contexts/types'
37
42
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@retailcrm/embed-ui",
3
3
  "type": "module",
4
- "version": "0.9.10",
4
+ "version": "0.9.11-alpha.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>",
@@ -41,15 +41,17 @@
41
41
  "@omnicajs/symfony-router": "^1.0.0",
42
42
  "@omnicajs/vue-remote": "^0.2.8",
43
43
  "@remote-ui/rpc": "^1.4.5",
44
- "@retailcrm/embed-ui-v1-contexts": "^0.9.10",
45
- "@retailcrm/embed-ui-v1-types": "^0.9.10"
44
+ "@retailcrm/embed-ui-v1-components": "^0.9.11-alpha.1",
45
+ "@retailcrm/embed-ui-v1-contexts": "^0.9.11-alpha.1",
46
+ "@retailcrm/embed-ui-v1-types": "^0.9.11-alpha.1"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@eslint/eslintrc": "^3.3.3",
49
50
  "@eslint/js": "^9.39.1",
50
51
  "@modulify/git-toolkit": "^0.0.2",
51
52
  "@modulify/pkg": "^1.0.1",
52
- "@retailcrm/embed-ui-v1-testing": "^0.9.10",
53
+ "@omnicajs/eslint-plugin-dependencies": "^0.0.2",
54
+ "@retailcrm/embed-ui-v1-testing": "^0.9.11-alpha.1",
53
55
  "@types/git-semver-tags": "^7.0.0",
54
56
  "@types/node": "^22.19.2",
55
57
  "@types/semver": "^7.7.1",
@@ -21,6 +21,7 @@ Use this skill when the user asks to:
21
21
  - Commit format: Conventional Commits.
22
22
  - Commit message language: English.
23
23
  - Allowed types: `feat`, `fix`, `build`, `ci`, `perf`, `docs`, `refactor`, `style`, `test`, `chore`.
24
+ - Always keep commit type in lowercase (`feat`, `fix`, `build`, ...), even when the summary starts with uppercase.
24
25
  - Scope rule for workspace changes: use workspace folder name (not npm package name).
25
26
  - Current workspace scopes:
26
27
  - `v1-components`
@@ -1,10 +1,3 @@
1
- import type { Pojo } from '@retailcrm/embed-ui-v1-types/scaffolding'
1
+ import type { HostApi } from '@retailcrm/embed-ui-v1-types/host'
2
2
 
3
- export type Callable = {
4
- goTo (route: string, params?: Record<string, unknown>): void;
5
-
6
- httpCall (
7
- action: string,
8
- payload?: string | Pojo
9
- ): Promise<{ body: string; status: number }>;
10
- }
3
+ export type Callable = HostApi
package/types/widget.d.ts CHANGED
@@ -1,7 +1,4 @@
1
- import type {
2
- CreateAppFunction,
3
- Component,
4
- } from 'vue'
1
+ import type { Component, CreateAppFunction } from 'vue'
5
2
 
6
3
  import type { Channel } from '@omnicajs/vue-remote/dist/remote'
7
4